WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] upgrading to 1.5.1.3 (65 posts)

  1. mobilemick
    Member
    Posted 8 years ago #

    Could you explain to how to upgrade to latest version. says i have to delete files but not the modded ones, ???

    Mick

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Delete /wp-admin/
    Delete /wp-includes/
    Delete all the wordpress files in the same directory as http://mobilemick.com/Journal/wp-rss2.php EXCEPT wp-config.php

    Upload the new ones
    Run http://mobilemick.com/Journal/wp-admin/upgrade.php

  3. Michael Bishop

    Posted 8 years ago #

    where did this come from?
    What changed from x.1.2 to x.1.3?

  4. ifelse
    Member
    Posted 8 years ago #

    More information here.

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

    The OP has 1.5 installed which is why I advise the replacement of all the files.

  6. mobilemick
    Member
    Posted 8 years ago #

    Nice work Podz, all working fine now, :)

    Mick

  7. war59312
    Member
    Posted 8 years ago #

  8. Michael Adams (mdawaffe)
    Member
    Posted 8 years ago #

    For files changed between 1.5.1.2 and 1.5.1.3 see this changelog.

    If you are upgrading from a version of WordPress older than 1.5.1.2, more files will need to be replaced. podz' instructions above are good ones (as always :)).

  9. jaggs
    Member
    Posted 8 years ago #

    What worries me about these constant upgrades is what they break in terms of plug-ins. I have quite a few installed and it would be nice if an official list of plug-ins that have been tested prior to release of the upgrade could be supplied along with the upgrade announcement.

  10. Mark (podz)
    Support Maven
    Posted 8 years ago #

    It's a security release and WP has well in excess of 300 plugins.
    Protect all the wp blogs or test against plugins ? Not really a contest is it ?
    I very much doubt this will break anything but if it does, contact the plugin author and politely let them know.

  11. Vladimir Simovi?
    Member
    Posted 8 years ago #

    Hi,
    so if i have now 1.5.1.2 it's enough if i delete:

    /wp-login.php
    /xmlrpc.php
    /wp-admin/post.php
    /wp-includes/functions-post.php
    /wp-includes/version.php

    upload the new from 1.5.1.3 package and run upgrade.php?
    right?

  12. skippy
    Member
    Posted 8 years ago #

    There's no need to run upgrade.php, as there are no changes to the database structure.

  13. josalmon
    Member
    Posted 8 years ago #

    Quick question - I've backed everything up, disabled the plugins, run /upgrade.php and got this message:

    Step 1

    There's actually only one step. So if you see this, you're done. Have fun!

    But when I go to the dashboard, it says I'm still using 1.5.1.1

    How can I tell if the upgrade has worked?

  14. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Did you delete all the old code and re-upload new ?
    The second post in this thread ?

  15. josalmon
    Member
    Posted 8 years ago #

    No, just followed the directions in the codex (http://codex.wordpress.org/Upgrading_WordPress#Upgrade) which didn't mention anything about deleting any files. So do I have to go back and download 1.3 and then pick which files I need to upload?

  16. Mark (podz)
    Support Maven
    Posted 8 years ago #

    That codex page was put under review earlier ... needs a banner or something.

    Download from the link at the top
    Unzip
    Then follow the second post from the top in this thread.
    You have 1.5.1.1 and some changes were made to 1.5.1.2 and now w have the next version.

    If your WP install is pretty standard and you've not hacked it, rather than dig through to find lines of code here and there, it's better to follow what I wrote above.

    If you DO have a hacked install, use the changelogs.

  17. Mark (podz)
    Support Maven
    Posted 8 years ago #

  18. aubbie
    Member
    Posted 8 years ago #

    Perhaps mine is a silly question, but its worth asking. (At least to me.)

    If I delete my wp-admin folder as instructed, will that cause me to lose my existing login information? Or, will I just zoom on through?

  19. skippy
    Member
    Posted 8 years ago #

    All login information is stored in the database.
    All posts are stored in the database.
    All comments are stored in the database.
    All options are stored in the database.

    The only things not stored in the database are:
    the connection details specified in wp-config.php
    your theme files

    You can safely delete everything in /wp-admin/ and replace them with the new versions of those files without causing any distruption to your blog.

  20. Michael Adams (mdawaffe)
    Member
    Posted 8 years ago #

    Since your login info is stored as cookies in your local browser, deleting (and subsequently upgrading) wp-admin/ shouldn't hurt anything.

    EDIT: skippy and I are both right. It depends on what you mean bey 'login info'. All the user details are stored permentantly in the database, your user name and password (and a couple other bits) are encrypted and stored temporarily as a cookie allowing you to log into WP without having to type your password everytime.

  21. aubbie
    Member
    Posted 8 years ago #

    Thank you both!

  22. aubbie
    Member
    Posted 8 years ago #

    More Unfun!

    I followed all the steps located here:
    http://codex.wordpress.org/Upgrading_WordPress#Upgrade_1.5.1.2_to_1.5.1.3

    After backing up all my files -and- database.

    Now I get this nice little "error establishing a database" connection.

    Since this occured immediately after I upgraded, I'm thinking its not a coinkydink. I'm relatively new to wordpress and am quite confused as to how to rectify this problem. I've tried to access my qp-config.php file and no matter what page I go to, I get that same little screen.

    Check it out: http://www.verbshampoo.com

  23. aubbie
    Member
    Posted 8 years ago #

    P.S. I've checked on my database with my host, and it is active.

  24. skippy
    Member
    Posted 8 years ago #

    Edit wp-config.php on your workstation, then re-upload it.

    Or, extract the wp-config.php file from your backup, and re-upload it.

  25. aubbie
    Member
    Posted 8 years ago #

    I'll try that right quick.

  26. aubbie
    Member
    Posted 8 years ago #

    I saw it immediately, my DB password was incorrect, as I changed it before backing up. Thanks so much, I'm up and running.

  27. Vryce
    Member
    Posted 8 years ago #

    Quick and painless. Deleted the 5 files mentioned in the changelog. Uploaded the new copies. My site is now showing it is 1.5.1.3

    Nothing seems to have broken and things are smooth.

  28. Angelix
    Member
    Posted 8 years ago #

    I'm using ecto and I got this error.

    Fatal error: Call to a member function on a non-object in /path/to/wordpress/xmlrpc.php on line 548.

    I guess that means I cannot post via ecto (or probably via any other xmlrpc client software).
    This sucks. I replaced xmlrpc.php to the old one until this problem is fixed.

  29. skippy
    Member
    Posted 8 years ago #

    See this thread for updates regarding XMLRPC.

    WordPress 1.5.1.3 fixes a remote vulnerability with XMLRPC, so using the 1.5.1.2 version of xmlrpc.php is not advised.

  30. Angelix
    Member
    Posted 8 years ago #

    Oh, I didn't check the topic for it says 1.5.1.2. Thanks.
    I know it is a quite bad idea to use old xmlrpc (for this is THE one you wanted to replace the most), but I'd rather take a risk than simply waiting.

Topic Closed

This topic has been closed to new replies.

About this Topic