Title: parse error
Last modified: August 19, 2016

---

# parse error

 *  [eighty0ne](https://wordpress.org/support/users/eighty0ne/)
 * (@eighty0ne)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/parse-error-38/)
 * hi – i have just installed for the first time and get the following error:
 * Parse error: syntax error, unexpected ‘.’ in /home2/catalyst/public_html/joemansfield.
   co.uk/blog/wp-includes/user.php on line 492
 * can anyone help? cheers, eighty0ne

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [eighty0ne](https://wordpress.org/support/users/eighty0ne/)
 * (@eighty0ne)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118486)
 * does anyone understand this? is it a problem with the way I have setup or with
   my web hosting? thanks, eighty0ne
 *  Thread Starter [eighty0ne](https://wordpress.org/support/users/eighty0ne/)
 * (@eighty0ne)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118493)
 * 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?
 *  Thread Starter [eighty0ne](https://wordpress.org/support/users/eighty0ne/)
 * (@eighty0ne)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118494)
 * 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’,”);
 *  Thread Starter [eighty0ne](https://wordpress.org/support/users/eighty0ne/)
 * (@eighty0ne)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118502)
 * 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/ => ”,
 *  [leahb](https://wordpress.org/support/users/leahb/)
 * (@leahb)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118681)
 * Any luck with this? I am having the same issue
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118682)
 * the same issue as what?
 *  [leahb](https://wordpress.org/support/users/leahb/)
 * (@leahb)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118683)
 * Sorry –
 * Same as the Parse error: syntax error, unexpected ‘.’ on user.php line 492
 *  [ontargetpro](https://wordpress.org/support/users/ontargetpro/)
 * (@ontargetpro)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118728)
 * 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.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘parse error’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 4 participants
 * Last reply from: [ontargetpro](https://wordpress.org/support/users/ontargetpro/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/parse-error-38/#post-1118728)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
