• Resolved Lauria

    (@lauria)


    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)
  • You may need to hire someone to help with this problem. You can post a free job request on jobs.wordpress.net.

    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

    (@lauria)

    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?

    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.

    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

    (@lauria)

    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.

    My pleasure. Glad you were able to resolve.

    Josh, just curious, what do you suppose could have been the cause of such a thing?

    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

    (@lauria)

    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.

    Thanks Josh, and good luck Lauria, you might resolve this thread and start a new one, it’ll bump you up.

    Thread Starter Lauria

    (@lauria)

    Thanks deepbevel, I will.

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

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