Forums

WordPress Upgrade Issue (12 posts)

  1. ThisTechBoi
    Member
    Posted 5 months ago #

    Hey there,

    Let me explain the whole thing to you folks. I run a fansite on a web game I play, but that's not the important part. Recently, when WordPress version 3.3 was released, I wanted to auto-update my website to it.

    So, what I did was I first installed a plugin that backs up wordpress, I had my site backed up, the backup file sent to my email and I downloaded it. Now, I deactivated all plugins for the upgrade. When I did the auto-upgrade, I got the following error:

    "Fatal error: Call to undefined function wp_suspend_cache_addition() in /home/u550521335/public_html/blog/wp-includes/cache.php on line 288"
    Site url: http://battleonnews.hourb.com/blog/

    Now, I've gotten this error before when testing WordPress for the first time before I began my website.
    Is there any way I can fix this?

    Also, the way I found out to counter this problem is delete the website, reupload WordPress.org on the same domain, and import all files back. However, I have never tried doing that last thing. So, my second question is, if I import WordPress data, will my theme options/setting be imported as well?

    PS: Sorry if this topic is in the wrong place, I couldn't make up my mind on where this issue belongs, and concluded that this place was the best. If I am wrong, could any forum official please move it to the right place? Thanks!

    Thanks for your time!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 5 months ago #

    Try:
    - switching to the Twenty Eleven theme by renaming your current theme's folder in wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

    - re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress.

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

  3. ThisTechBoi
    Member
    Posted 5 months ago #

    Thanks,

    1- I tried doing that, but the theme i am using already has '-old' at the end of the folder name

    2- I tried doing that via phpMyAdmin, I couldn't find the active_plugins row

    I tried via FTP, renamed the plugins folder, but now when Ii go to the site it says:
    Error establishing a database connection

    3- I'll try that, but is it safe?

    4- I found the upgrade.php, but what do I do with it to re-run the upgrade?

  4. ThisTechBoi
    Member
    Posted 5 months ago #

    I have just finished re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress, but I still get this error:
    Error establishing a database connection

    Any help?

  5. kionae
    Member
    Posted 5 months ago #

    It sounds like you overwrote your wp-config.php file. Grab a copy from your backup and replace the one on your site.

  6. ThisTechBoi
    Member
    Posted 5 months ago #

    Whoops, looks like I did!

    But my backup is in the following format:
    .sql.gz

    How can I grab a copy of the wp.config.php from my backup?

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    .sql.gz is a backup of your database

    wp-config.php is a file you need the original of that (Or it is possible to make a new one if you can't find a backup of that file....hopefully you have backups of your files)

  8. ThisTechBoi
    Member
    Posted 5 months ago #

    Well, then I have a backup of my database, not the WP bog itself.
    I don't think it is an issue with the wp-config, since the data is entered correctly, but what else could it be?

  9. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    well, if your site can't contact the DB, there is either a problem with the config file, or with the DB itself. Is the DB fine?

  10. ThisTechBoi
    Member
    Posted 5 months ago #

    Well, I have another test blog, and I looekd at both of their config.php files, and they both are the exact same, except for the obvious database name/username/password. But all else is the same and the test site is running perfectly.

    I tried going to the DB via phpMyAdmin, and it was running smoothly. What is the problem?

  11. ThisTechBoi
    Member
    Posted 5 months ago #

    Now I get the following error:

    Parse error: syntax error, unexpected $end in /home/u550521335/public_html/blog/wp-includes/comment.php on line 425

  12. esmi
    Theme Diva & Forum Moderator
    Posted 5 months ago #

    Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress 3.2.1.

Reply

You must log in to post.

About this Topic