Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING wp-config.php
-
I’m installing Wp2.6 in a directory that before had WP 2.3.3, which I’ve removed fully and replaced with Wp 2.6
After I finished the install, including the config file update, I got this error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/media-visions/media_reports/wp-config.php on line 4
Here are the first set of lines:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘media-visions_com_-_wordpress2’); // The name of the database
define(‘DB_USER’, ‘media-visions’); // Your MySQL username
define(‘DB_PASSWORD’, ‘[blocked]’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);All of the variables on these lines worked fine in the old Wp 2.3.3 config file.
Please advise on my syntax error.
Thanks!
The topic ‘Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING wp-config.php’ is closed to new replies.