WordPress.org

Ready to get started?Download WordPress

Forums

Tried Updating From 2.5 to 2.8.4 - Getting This Error at wp-admin/upgrade.php (7 posts)

  1. bylto
    Member
    Posted 4 years ago #

    Hope this is the right place for this question.

    I backed up my database and files. Then uploaded version 2.8.4 (just the files in wp-content and I put my details into config-sample and renamed it). I thought all was well.

    Upon going to http://www.musclehack.com/wp-admin/install.php I get

    "Parse error: syntax error, unexpected $end in /home/content/m/u/s/musclehacker/html/wp-settings.php on line 124"

    Line 124 is $protocol = $_SERVER["SERVER_PROTOCOL"];

    This is the first time I've attempted an upgrade as someone else usually does it for me, so I am completely lost on this unfortunately.

    Thanks in advance for any help you can offer :)

  2. s_ha_dum
    Member
    Posted 4 years ago #

    Then uploaded version 2.8.4 (just the files in wp-content and I put my details into config-sample and renamed it).

    This is exactly backwards from what you should have done. You need to upload everything except the parts of wp-content that have your modified code-- themes/<yourtheme> and whatever plugins in wp-content/plugins that you've installed. You also need to preserve your language files in wp-includes/languages if you have any. Read through the codex upgrade page.

  3. bylto
    Member
    Posted 4 years ago #

    Hi apljdi,

    You've picked me up wrong.

    What I did was upload all the new files except the modified ones in wp-content. wp-content is pretty much the same as it was with the old version.

    wp-admin, wp-inculdes and the rest of the files have been all updated. I also input my details into config-sample and renamed it to config.php as the codex suggests.

  4. Zulfikar Nore
    Member
    Posted 4 years ago #

    The process is ok if you were upgrading from one incremental to the other.

    In your case you should have done the upgrades in incremental of versions released - i.e from 2.5 to 2.6 then 2.7 and so on. Having done it the way you have you missed out on major changes that effect the database.

    Can you revert back to your original installation of 2.5? If so then I suggest you do that and then upgrade as above.

  5. bylto
    Member
    Posted 4 years ago #

    Well, if I have to I have to. Is there no other hope? Anyone?

  6. Kailash
    Member
    Posted 4 years ago #

    I have seen this php error if there is any missing curly bracket in the file. Also check if there is any blank space or blank line before <?php and after ?>. If there is any blank space or blank line. Remove it and check if it works. The last option is to upgrade versions incrementally as mentioned by ZGani.

  7. s_ha_dum
    Member
    Posted 4 years ago #

    bylto, my apologies.

Topic Closed

This topic has been closed to new replies.

About this Topic