Fatal Error When Upgrading To Wordpress 2.9.1

20

Yesterday I was having a mini freak-out when I could not upgrade my Wordpress to 2.9.1.  I have run into worse, like losing my entire blog, but still none the less, I had been focused on this upgrading thing for quite awhile.

I was getting a fatal error every time I tried to upgrade, this was the error I was getting:

fatal error: allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in
wp-includes/http.php on line 

I finally fixed it by searching around for a similar problem, it really was not a difficult fix and I will outline it below.  Before I go into the fix I would like to thank some people that tried to help me.  When you reach out with a question and people actually show a concern in trying to help you, you realize what people you should be networking with.

The people I would like to thank are John Sullivan and Crystal Gibbs Pina .  Both of these individuals answered my plea for help on Facebook, so I thank them both with much appreciation.

Now onto the fix, below are the steps I took to resolve the fatal error issue:

  1. I logged into my Wordpress via FTP ( FileZilla)
  2. I opened the folder of the site I was having trouble with
  3. I then opened the wp-settings.php file with notepad
  4. I found the following line define('WP_MEMORY_LIMIT', '32M') and changed the Memory Limit to 64M
  5. I saved the file as wp-settings1.txt then , uploaded it, and renamed it back to wp-settings.php

The memory was apparently the problem, however as I am just a NEWRU:) , I do not know why.  If anyone has any suggestions on why this was the problem or can explain to me why this happened I would be glad to hear from you!

Popularity: 33% [?]

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Related posts:

  1. What Is The Difference Between Wordpress.com and Wordpress.org? This difference between Wordpress.com and Wordpress.org was one of...
  2. Fail To Open Stream After Installing Wordpress Plugin After installing a plugin I got this error message: Warning:...
  3. How to Find Your Wordpress API Key I have received many questions about the API key in...
  4. Firefox Messing With My Blog If it isn’t one thing it is another when blogging....

Related posts brought to you by Yet Another Related Posts Plugin.

Comments on Fatal Error When Upgrading To Wordpress 2.9.1 Leave a Comment

January 8, 2010

John Sullivan @ 12:01 pm #

Glad you found a fix. Strangely a while back I almost enjoyed when I ‘d get errors and my blog was down not that anyone was on it but it as fun to try to figure out what to do next a little panic mode RUSH :) Thanks for mentioning me and I sent your friend a friends request she answered and I go to take a good look at her site and see what she does and may send someone her way etc etc :) Cool thanks
stumbled
John Sullivan´s last blog ..Some ranDumb thoughts about blogging My ComLuv Profile

Keith @ 2:45 pm #

I am glad you like it John! I hate it when that happens so I will hit you up next time. I got a fatal error on 2.9 so I went back to 2.8.6 and then upgraded to 2.9.1 with no problems so I guess they fixed it!
Keith´s last blog ..4 Tips to Promote Your Article My ComLuv Profile

lawmacs @ 2:58 pm #

Glad to know that you had the problem sorted not a good way in the beginning of the year
lawmacs´s last blog ..Website Promotion Tips Part 2 My ComLuv Profile

Crystal Pina @ 4:10 pm #

You are quite welcome. It seems that I tried to help you and you actually ended up helping me. I tried the fix you just posted and it worked! Thank you so much for sharing the fix.

January 9, 2010

Hesham @ 3:54 pm #

Ah! this is common problem, it happened to me since a few months back regarding the last 2 upgrades, just put in your mind that you will need to do change this memory settings each time you upgrade your wordpress if they didn’t update it on their upgrade!!
Hesham´s last blog ..The First Making Money Online Contest on Famous Bloggers 2010 My ComLuv Profile

Sire @ 5:24 pm #

Don’t you hate it when shit like this happens? I’ve been lucky so far but I’ve read a few blogs where people have had problems with upgrades.

Reckon I will upgrade my test site first in furure just to make sure all goes well.
Sire´s last blog ..The Best Way To Do Weekly Roundup Posts My ComLuv Profile

Crystal Pina @ 11:32 pm #

Test sites may not catch problems. I did a woman’s upgrade today, 3 sites on the same server. Two upgraded without a hitch. The third, I couldn’t login afterward. Got a fatal error. It took an hour and a half to restore the site (always export the XML file before an upgrade – you never know).

It just seems like 9.x is having problems all around.

Sire @ 11:51 pm #

Did all sites have the same theme and plugins?
Sire´s last blog ..The Best Way To Do Weekly Roundup Posts My ComLuv Profile

January 10, 2010

Crystal Pina @ 12:03 am #

Same plugins, different themes on all. I think the problem was the database because I downgraded the Wordpress files to 2.8.5 and it required a database upgrade. 65 files refused to upload which is why I downgraded it. All the files uploaded on the other 2 sites. Once the database did it’s thing, the site upgraded just fine.

Sire @ 12:25 am #

Cool. Would it be possible though that perhaps some of the plugins were no longer compatible with a particular theme after the upgrade.

I have no idea as this is all way over my head, but it seems a logical question.
Sire´s last blog ..Beware Scraped Comments And Fake Trackbacks My ComLuv Profile

Crystal Pina @ 7:26 am #

It absolutely could be possible that it was a plugin that corrupted the database. I couldn’t login to the dashboard before I tried the upgrade. I always tell people not to use too many plugins and this is a good reason why. I usually say it because plugins slow a blog’s load time but this is another reason.

Deepika @ 1:52 pm #

Many bloggers face this problem at the time of updation. Glad that you got help at the right time regarding this fatal error. Dont forget to backup your database frequently..
Deepika´s last blog ..Contest @FamousBloggers: Win Prizes worth Over $500 My ComLuv Profile

I face this problem right after i move my web hosting to hostgator. It seems the problem will raise each time we do something to wordpress intalation.
Dana @ Blogging Update´s last blog ..Having Killer Content for Blog Easily My ComLuv Profile

January 11, 2010

Nice article, I’ll keep this one may be I need help when I’m upgrade my blog to this version. For now I’m still using the old version.
Just a guest Jenny, is there a reason why I should upgrade to 2.9.1?
Latief@AnotherBlogger´s last blog ..How To Import Your Blogger Blog To WordPress? My ComLuv Profile

Leave a Comment

Fields marked by an asterisk (*) are required.

CommentLuv Enabled

Subscribe without commenting