• Resolved bragur

    (@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?

    Thanks,
    Bragi

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.

    Thread Starter bragur

    (@bragur)

    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 https://svn.automattic.com/wordpress/tags/2.5/
    svn: Won't delete locally modified directory '.'
    svn: File 'themes/classic/sidebar.php' has local modifications
    bragur:/htdocs/blogg/wp-content$

    Bleargh..! Another idea perhaps?

    Moderator Dion Hulse

    (@dd32)

    Meta Developer

    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: https://svn.automattic.com/wordpress/branches/2.5/ currently it only has patches and fixed for the gallery and a few other functions, but IMHO, might be a better choice.

    Thread Starter bragur

    (@bragur)

    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.