does anyone understand this? is it a problem with the way I have setup or with my web hosting? thanks, eighty0ne
OK – update – I removed the prefix from the database name and username and it now gives me a different error – although this time, at least it is WordPress branded!
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhosts. This could mean your host’s database server is down.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
here is my wp-config.php info:
// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘WordPress’);
/** MySQL database username */
define(‘DB_USER’, ‘jdm’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘********’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);
/** Database Charset to use in creating database tables. */
define(‘DB_CHARSET’, ‘utf8’);
/** The Database Collate type. Don’t change this if in doubt. */
define(‘DB_COLLATE’, ”);
I started again from scratch:
DB name: catalyst_joewp
DB User: catalyst_jdmwp
Password: ********
DB Host: localhost
But I still get the same error:
Parse error: syntax error, unexpected ‘.’ in /home2/catalyst/public_html/joemansfield.co.uk/blog/wp-includes/user.php on line 492
What is wrong with that user.php file?
Line 492 reads:
‘show_option_all’../../wordpress/wp-includes/ => ”, ‘show_option_none’../../wordpress/wp-includes/ => ”,
Any luck with this? I am having the same issue
Sorry –
Same as the Parse error: syntax error, unexpected ‘.’ on user.php line 492
Been reading about this error. Solution seems to be to start fresh. Unzip and reinstall has worked for some. I’m about to try it now.