WordPress.org

Ready to get started?Download WordPress

Forums

Inability to upgrade to 3.5.1 (14 posts)

  1. storagesquad
    Member
    Posted 1 year ago #

    Had some major issues with my site, had to restore a previous version. Could not access front end or back end. Eventually got it to where I could access both but none of my pages were showing up. Tried a clean install of wordpress again but it will only allow me to use 3.4.2 for some reason. It asks me to upgrade to 3.5.1 but when i click upgrade will just keep saying 3.4.2. Nothing is working on my site and I keep getting this error when i click on any plugin:
    Fatal error: Call to undefined method wpdb::get_charset_collate() in /xxxxxx/wp-admin/includes/schema.php on line 20

    Also, none of the files from my database are showing up even tho it is linked to the right one. Please help!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    When you restored the site, did you also restore a 3.4.2 database backup?

  3. storagesquad
    Member
    Posted 1 year ago #

    The database is from 3.5.1 (where my site was at 3 days ago). However, after the restore there were problems with my wp-admin folder so I had to use the wp-admin folder from a backup from 11/28/2012. Could it be that the wp-admin file that I used has 3.4.2 but my wp-content folders and database are trying to use 3.5.1?

    Maybe I need to manually install 3.5.1?

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Could it be that the wp-admin file that I used has 3.4.2 but my wp-content folders and database are trying to use 3.5.1?

    That does sound like it, yes. Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

  5. storagesquad
    Member
    Posted 1 year ago #

    Just manually installed fresh version of 3.5.1 with no changes. Still getting the same error message...

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    You need to examine the wp-options table in your database and locate the value for the option name db_version.

  7. storagesquad
    Member
    Posted 1 year ago #

    I have found the value within the database it is: 22441. Is this what it is supposed to be? What can I do with this number now?

  8. storagesquad
    Member
    Posted 1 year ago #

    Just looked into it. that code is for 3.5.1. So the database is setup for 3.5.1 would this mean that somewhere in my files it is calling a different database version? I also attempted editing to the codex for 3.4.2 and had no change. Have now switched back codex to 22441.

  9. esmi
    Forum Moderator
    Posted 1 year ago #

    Leave the db value alone. Try:

    - switching to the 2011 theme

    - resetting the plugins folder by PhpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Again, make sure that you delete the old copies of files & folder before uploading the new ones.

    - running the upgrade manually via wp-admin/upgrade.php

  10. storagesquad
    Member
    Posted 1 year ago #

    Tried doing a clean installation and I'm right back to square one with the same error message. It is still only showing version 3.4.2 even after using a clean install of 3.5.1. The only directories which was not deleted was cgi bin and directories for 2 subdomains which were both empty.

    Not making any progress...right back to square one.

  11. esmi
    Forum Moderator
    Posted 1 year ago #

    Did this clean install use a fresh database? If so, did you import any content in from the older database?

  12. storagesquad
    Member
    Posted 1 year ago #

    Brand new database with no data imported. This entire mess began after an upgrade of w3-total cache. Then had to restore to previous version with host. However, they only restored my wp/plugins folder to previous version. Things have gone downhill since then. Found out it was an APC problem which got me very close to back to normal. Could fully access front end and back end but pages were not showing up in front end. Have since tried the clean install of WordPress while importing wp-content and database and now keep getting this error and it refuses to allow me to upgrade to 3.5.1 and keeps going back to 3.4.2 even after clicking the "upgrade to 3.5.1" on the admin dashboard.

  13. esmi
    Forum Moderator
    Posted 1 year ago #

    Brand new database with no data imported.

    In that case, you're dealing with some kind of server issue. Everything else has now been ruled out. A server problem is the only thing left. Convincing your hosts of that, however, could be a problem. What kind of server is it - Linux or Windows?

  14. storagesquad
    Member
    Posted 1 year ago #

    Linux. In Motion Hosting. But yes, they have not been very easy to talk to regarding this matter and are sure that it is a wordpress issue. I feel pretty helpless right now and it would be pretty disastrous for my business if I had to start the site over from scratch.

Topic Closed

This topic has been closed to new replies.

About this Topic