WordPress.org

Forums

[resolved] A subversion upgrade to 2.5 failed... help! (5 posts)

  1. bragur
    Member
    Posted 6 years ago #

    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

  2. buzzki11
    Member
    Posted 6 years ago #

    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.

  3. bragur
    Member
    Posted 6 years ago #

    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 http://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?

  4. Dion Hulse
    Lead Developer
    Posted 6 years ago #

    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: http://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.

  5. bragur
    Member
    Posted 6 years ago #

    Thank you, that solved it.

Topic Closed

This topic has been closed to new replies.

About this Topic