Support » Installing WordPress » A subversion upgrade to 2.5 failed… help!

  • Resolved bragur


    I recently updated the way I install and upgrade wordpress to using subversion. The installation went fine and I easily upgraded to 2.3.3. Now I wanted to try to upgrade to 2.5 and followed the same instructions but something must have gone wrong because when I run upgrade.php I get this:
    Parse error: syntax error, unexpected T_SL in /htdocs/blogg/wp-includes/pluggable.php on line 655

    Any ideas?

    Of course, I didn’t deactivate any plugins, could that be the reason? If so, how can I fix that?


Viewing 4 replies - 1 through 4 (of 4 total)
  • Go to your wp-content/plugins directory. Move all the plugins out of that directory to someplace safe. Run the upgrade again. Then if all is well, move your plugins back in.

    Didn’t work, I still get the same error in upgrade.php and if I try to run subversion again I get this:

    bragur:/htdocs/blogg/wp-content$ svn sw
    svn: Won't delete locally modified directory '.'
    svn: File 'themes/classic/sidebar.php' has local modifications

    Bleargh..! Another idea perhaps?

    svn revert wp-includes/pluggable.php
    should revert all changes to pluggable.php and back to stock 2.5

    If you dont have any custom modifcations to it, then that should solve your problem.

    (You could also just delete pluggable.php and then do a svn up too)

    Also, With the changes being made in preperation for 2.5.1, you might simply be better off using the 2.5 branch: currently it only has patches and fixed for the gallery and a few other functions, but IMHO, might be a better choice.

    Thank you, that solved it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A subversion upgrade to 2.5 failed… help!’ is closed to new replies.