Forums

[resolved] Upgraded to WP 2.3.2, everything broke, reverted to 8/2006 version (orig) and (5 posts)

  1. fengshuistyle
    Member
    Posted 4 years ago #

    BACKGROUND: [If you want you can just skip to "NEW PROBLEM"]
    My website:
    http://fengshuistyle.us

    By the way, I used "Binary" setting with FTP to copy my wordpress files, not ASCII, and I saw someone say you should use "ASCII". However, tt worked great until I upgraded to 2.3.2.

    My website is hosted on Godaddy, so I upload WordPress to the site, and use it to code my site. Everything was going great, and I decided to upgrade to WP 2.3.2. Everything broke.

    When you went to my site, you got errors regarding wp-config.php and default-filters.php and wp-settings.php to the tune of:

    Fatal error: Call to undefined function: add_filter() on line 4

    [And another one -- something like "cannot redefine add_filter.......it's already defined on line blah blah]

    At one point, I went to the line of code in question, and copied the version from before and after the upgrade. Here they are:
    -----------------------------------------------------------
    function add_filter($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
    global $wp_filter, $merged_filters;
    -----------------------------------------------------------
    function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
    add_filter($tag, $function_to_add, $priority, $accepted_args);
    -----------------------------------------------------------

    As I was attempting to "fix" things, I think I also got:

    "Fatal error: Call to undefined function: nocache_headers() in /home/content/f/e/n/fengshuistyle/html/wp-login.php on line 7"

    [I may not be completely accurate on the above, because I'm doing them from memory, since I now have different errors]

    NEW PROBLEM:
    I tried to "fix" the above errors, to no avail, and since I had made a complete backup beforehand, I decided to revert the old version of WP (August 2006 - not sure of the version number), and now I get:

    Warning: main(/home/content/f/e/n/fengshuistyle/html/wp-settings.php): failed to open stream: No such file or directory in /home/content/f/e/n/fengshuistyle/html/wp-config.php on line 20

    Fatal error: main(): Failed opening required '/home/content/f/e/n/fengshuistyle/html/wp-settings.php' (include_path='.:/usr/local/lib/php') in /home/content/f/e/n/fengshuistyle/html/wp-config.php on line 20

    I know it's something bonehead easy, but since my site is completely hosed, the panic is setting in.

    Can someone please throw me a bone?

    This was all done via FTP on Godaddy.

    Hopefully,

    -Jennifer

  2. MichaelH
    Volunteer
    Posted 4 years ago #

    This may sound simplistic, but I'd first consider deleting the WordPress files and reuploading as per Steps 7 and 8 in Upgrading_WordPress_Extended.

  3. fengshuistyle
    Member
    Posted 4 years ago #

    Hi Michael,

    Thanks for getting back to me! Yes, I did that (twice) and the second time I made sure I was using the "ASCII" switch on my FTP.

    What I'm starting to think is that I didn't include ALL the dot files in my backup........and essentially, when I reverted back to the old version, some of the new files had already munged things.

  4. fengshuistyle
    Member
    Posted 4 years ago #

    I couldn't fix it, so I restored a backup of my website.

  5. DSMforever
    Member
    Posted 4 years ago #

    I had the same exact problem on the same exact host. I went in and renamed my wp-settings.php file to -old and then added the new default one from the zip (which I don't normally do) and then I was able to go to the site w/o errors and upgrade the database and all is working great the only difference is I upgraded to 2.3.3, hope this helps anyone else that may have issues with the wordpress upgrade on godaddy hosting.

Topic Closed

This topic has been closed to new replies.

About this Topic