Title: Parse Error in wordpress fresh install.
Last modified: August 20, 2016

---

# Parse Error in wordpress fresh install.

 *  [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/)
 * I get this parse error
    Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
   expecting ‘)’ in /home/sureskum/public_html/noart/wp-admin/index.php on line 
   42
 * when I try accessing the [http://sureskumar.com/noart/wp-admin/](http://sureskumar.com/noart/wp-admin/)
   
   the site [http://sureskumar.com/noart/](http://sureskumar.com/noart/) works fine,
   just that I am not able to login to dashboard. Once my username password is correct,
   it shows this error.
 * I also tried downloading a fresh copy of wp 3.3.1 and uploaded via ftp. no luck.

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

 *  [Elan Technosys](https://wordpress.org/support/users/elantechnosys/)
 * (@elantechnosys)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598316)
 * Try upload wp-admin folder via ftp from fresh download.
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598320)
 * Hi,
    I have tried that. no luck 🙁
 *  [luxythemes](https://wordpress.org/support/users/luxythemes/)
 * (@luxythemes)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598340)
 * Can you please post the line 42 of your /wp-admin/index.php?
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598363)
 *     ```
       $help .= '<p>' . __('Links in the Toolbar at the top of the screen connect your dashboard and the front end of your site, and provide access to your profile and helpful WordPress information.') . '</p>';
       ```
   
 *  [luxythemes](https://wordpress.org/support/users/luxythemes/)
 * (@luxythemes)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598370)
 * Are you using a custom theme or a modified functions.php?
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598373)
 * no I am not using any custom theme. Its a fresh wp install. no modified functions
   as well.
 * 1. I downloaded the wp 3.3.1 from wordpress.org
    2. uploaded it in sureskumar.
   com/noart/ 3. created the mysql db and entered those values in sureskumar.com/
   noart/ 4. Now the site sureskumar.com/noart/ works fine. But I am not able to
   login to wp-admin.
 * I have created more than 2 wp sites earlier so I am sure I am not going wrong
   in the procedure. In the same domain sureskumar.com and sureskumar.com/nodotart/
   are also wp sites which works fine.
 * Is there a problem in having more than 2 sites wp sites under one domain ? any
   php memory issues ??
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598376)
 * > Is there a problem in having more than 2 sites wp sites under one domain ?
 * No. I run about 4 sites under one of my domains
 * >  any php memory issues ?
 * Nope. Neither is there anything wrong with the line you posted above. The most
   likely cause is a corrupted copy of that file though.
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598379)
 * I also suspected that. So I download another fresh version of 3.3.1 and uploaded.
   Still no luck. Now I am trying to upload older versions of wp. Just a try. Will
   let you guys know what happens. something weird right?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598437)
 * Very weird.
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598472)
 * Even uploading the old versions of wp doesn’t work. Any idea what might be happening.
   I have no idea how to proceed further.
 * Any help will be much appreciated.
    Thanks
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598482)
 * And I also tried creating a diff database username and password specifically 
   for this site. and still no luck 🙁
 *  [luxythemes](https://wordpress.org/support/users/luxythemes/)
 * (@luxythemes)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598483)
 * I would follow these steps;
 * * Remove any other WordPress installations on that domain and make sure multiple
   installations are not causing any problems.
 * * As far as I see, you have installed WordPress to a separate directory, which
   is actually fine. Just to make sure this is not the origin of the problem I would
   install WordPress to the main directory where your domain points. In your case
   [http://sureskumar.com](http://sureskumar.com)
 *  Thread Starter [sureslive](https://wordpress.org/support/users/sureslive/)
 * (@sureslive)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598489)
 * No, the other two sites are live and cant be removed even for testing. I have
   to figure out a method to troubleshoot this without touching other sites. anyways
   as you mentioned, I have installed this in a new dir. so technically there shouldn’t
   be any issue.
 * Is there any better way to debug php sites ?
 *  [luxythemes](https://wordpress.org/support/users/luxythemes/)
 * (@luxythemes)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598542)
 * * Check your server logs to see if there are any errors.
    * If you use cPanel
   you can find the logs under the logs section. * The last option is to contact
   the hosting company and see if they can help you.

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

The topic ‘Parse Error in wordpress fresh install.’ is closed to new replies.

## Tags

 * [Admin page error](https://wordpress.org/support/topic-tag/admin-page-error/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 14 replies
 * 4 participants
 * Last reply from: [luxythemes](https://wordpress.org/support/users/luxythemes/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/parse-error-in-wordpress-fresh-install/#post-2598542)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
