• 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 https://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 ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    Thread Starter bylto

    (@bylto)

    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.

    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.

    Thread Starter bylto

    (@bylto)

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

    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.

    bylto, my apologies.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tried Updating From 2.5 to 2.8.4 – Getting This Error at wp-admin/upgrade.php’ is closed to new replies.