php error unexpected ')' on line 4
Permalink
I apologize if this is simple but I've been staring for a couple of hours and can't see it.
Can you tell me why I might be getting this error on this code (site.php)
Can you tell me why I might be getting this error on this code (site.php)
<?php define('DB_SERVER', 'localhost'); define('DB_USERNAME', ‘rocket_admin’); define('DB_PASSWORD', ‘Rlmkjfrtg44?’); define('DB_DATABASE', ‘rocket_fallendownarts'); define('BASE_URL', 'http://fallendownarts.com'); define('DIR_REL', ‘’); define('PASSWORD_SALT', 'SZwPlGjHNCrVp0f4ASMTTk18E4ogvx3rYjwoa9OIGRvtEF2XoAMFwhN8RVwyB0f');
Thanks to you all. I went ahead and changed all the single quotes to be the same kind and the site came up right away. your the best.
Looks like you have some slanted single quotes on some of the lines, user_name, password, database_name, retype them as single quotes like you have in the first line.
Actually you can use either but you cant start a line with one and finish with the other..
Please do NOT post your configuration in the future, you should now go in and change at the very minimum your database user's password and update your configuration file. By posting such information you have essentially potentially given away access for anyone viewing this thread to modify your website.
Please redact all usernames, passwords, and salts when posting in the future.
Please redact all usernames, passwords, and salts when posting in the future.
Exchangecore and all:
I did change the configuration details so didn't post the actual names or passwords.
I did change the configuration details so didn't post the actual names or passwords.
You have a started the code with ' and finished with `
Here ‘rocket_fallendownarts'