Title: Parse error?
Last modified: August 20, 2016

---

# Parse error?

 *  Resolved [Lauria](https://wordpress.org/support/users/lauria/)
 * (@lauria)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/)
 * I was working on updating my website. Everything’s going fine and then all the
   sudden I get this error:
 * Parse error: syntax error, unexpected $end in D:\Hosting\8756766\html\wp-includes\
   bookmark.php on line 259
 * I can’t get to my website or dashboard. I don’t know what this means or how to
   fix it. Can anyone help? I have hosting by GoDaddy. It’s taken me so long just
   to get to this point and I’m almost finished. Now I’m stuck and desperate.

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

 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843313)
 * You may need to hire someone to help with this problem. You can post a free job
   request on [jobs.wordpress.net](http://jobs.wordpress.net).
 *  [deepbevel](https://wordpress.org/support/users/deepbevel/)
 * (@deepbevel)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843314)
 * maybe an un needed endwhile/endif somewhere? You could post your code for bookmark.
   php and we can see. If you edited it you might try to replace the original code.
 * Since you can’t access your site, you’ll need to access your bookmark.php page
   through your host.
 *  Thread Starter [Lauria](https://wordpress.org/support/users/lauria/)
 * (@lauria)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843340)
 * Well, I was able to figure out the php.MYSQL to get to my database. I found the
   bookmark.php, but I have no knowledge of code so I can’t figure out what’s wrong.
   The error message mentions line 259. Here’s a copy of lines 256 to 261: if ( 
   empty( $orderby ) )
    $orderby = ‘link_name’;
 *  $order = strtoupper( $order );
    if ( ” !== $order && !in_array( $order, array(‘
   ASC’, ‘DESC’ ) ) ) $order = ‘ASC’;
 * Does anybody have any ideas or co you need the whole file?
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843341)
 * Download a fresh copy of WordPress 3.4 and extract it to your desktop.
 * Next, overwrite your `wp-admin` and your `wp-includes` folders with the ones 
   from the fresh copy you downloaded.
 * DO NOT mess with your `wp-content` directory.
 *  [deepbevel](https://wordpress.org/support/users/deepbevel/)
 * (@deepbevel)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843342)
 * I thought bookmark.php was a theme file that had been changed, if it’s a core
   file that you didn’t edit, then I’m out of my game. sorry bout that Lauria. Good
   luck.:)
 *  Thread Starter [Lauria](https://wordpress.org/support/users/lauria/)
 * (@lauria)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843343)
 * Thanks Josh. Actually, I went on Go Daddy who is hosting my site and they had
   an upgrade to 3.4. I did that and it worked like a charm. I never would have 
   thought of that. Thanks for your help.
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843344)
 * My pleasure. Glad you were able to resolve.
 *  [deepbevel](https://wordpress.org/support/users/deepbevel/)
 * (@deepbevel)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843345)
 * Josh, just curious, what do you suppose could have been the cause of such a thing?
 *  [Josh](https://wordpress.org/support/users/josh401/)
 * (@josh401)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843347)
 * Hi deepbevel,
 * Honestly, I’m not entirely sure. I’ve seen a lot of people struggling with the
   update to 3.4.
 * It’s possible they were updating, and something timed out right at the point 
   the bookmark.php file was being written to the server (specifically at line 259).
 * That’s why we just kinda “trial and error” the basics to fix the issue. Then,
   once the basics are out of the way, if it’s still not resolved, we look at more
   specific issues.
 * Definitely not a solid answer… but it’s the best I’ve come up with after seeing
   all the issues with updating.
 *  Thread Starter [Lauria](https://wordpress.org/support/users/lauria/)
 * (@lauria)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843348)
 * I have no idea what the cause was. I had been installing a contact us box on 
   a couple pages, and when I tried to view the pages I got the error. Then when
   I tried to go back to the dashboard, I got another error. The contact us boxes
   were already on the pages, I was just tweaking and testing them.
 * Now I’m having another problem trying to install WordPress on another website
   through Go Daddy. I didn’t have this much trouble the first time.
 *  [deepbevel](https://wordpress.org/support/users/deepbevel/)
 * (@deepbevel)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843349)
 * Thanks Josh, and good luck Lauria, you might resolve this thread and start a 
   new one, it’ll bump you up.
 *  Thread Starter [Lauria](https://wordpress.org/support/users/lauria/)
 * (@lauria)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843351)
 * Thanks deepbevel, I will.

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

The topic ‘Parse error?’ is closed to new replies.

## Tags

 * [bookmark.php](https://wordpress.org/support/topic-tag/bookmark-php/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 4 participants
 * Last reply from: [Lauria](https://wordpress.org/support/users/lauria/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/parse-error-132/#post-2843351)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
