Got the message in my WordPress dashboard today that WordPress 3 was available to upgrade to, “Awesome” I thought, so I clicked the upgrade button and got ready to use the new version of WordPress….

But a problem arose while trying to upgrade and I kept getting the error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2516315 bytes) in /home/mydomain/public_html/blog/wp-includes/http.php on line 1363

OMG! So now it would be a case of doing a manual upgrade, which I hate doing as it seems to be such a cumbersome method, so after checking with a friend, who’s in the know with these sort of things they recommended me doing the following to make this work.

  1. Open up the file wp-settings.php which is in the main directory of your WordPress installation
  2. Find the line that reads define(‘WP_MEMORY_LIMIT’, ’32M’);
  3. Change it to define(‘WP_MEMORY_LIMIT’, ’64M’);
  4. Then start the upgrade process again.
  5. Hopefully everything should have updated for you.

The problem is memory limit and by doing the above you give your PHP a little more memory to play around with and therefore giving WordPress that extra elbow room it needs to update correctly.

Please note, I’m not a PHP expert, so please BACK UP you WordPress installation before any upgrade that you make.

If you enjoyed reading this post, then please remember to post a comment, Subscribe to my RSS feed.


Protected by Copyscape Plagiarism Check Software

No related posts.

Tags: , ,

Written by Karen (964) Published Articles

Karen is founder of the Blazing Minds blog and avid blogger of all sorts of interesting and odd things. She is also the Apollo Rhyl Film Reviewer and also a keen music producer and founding member of the electronic music duo Remergence...

Link up with Karen at @BlazingMinds | | Facebook

 
 
25 Responses to “Blazing Minds Has Now Upgraded to WordPress 3”
  1. Andrew
    Twitter:
    says:

    I get that same problem quite often when I upgrade and what you have done is exactly what I do to overcome it.

    I’m not going to upgrade to WP 3.0. I’m going to wait until WP 3.1. There’s bound to be a lot of bugs.

    I’d be interested to see how you get on.

    Andrew
    Andrew recently posted..WordPress SEO Plugin: Do We Need Another One?

  2. Tony
    Twitter:
    says:

    I upgraded to the 3.0 Thelonius yesterday as well, Karen. didn’t run into the memory errors that you came across though. I used the “Tools” function on admin panel. The “upgrade” link worked flawlessly.

    Cheers!!

    And have an awesome weekend!!
    Tony recently posted..WeReward – Iphone App Released [Digg]

  3. Dana
    Twitter:
    says:

    An usual problem in WordPress upgrading. Fortunately, I upgrade my blog smoothly without any problem until now.
    Dana recently posted..5 Quality Web Hosting Service For Your Blog

  4. element321
    Twitter:
    says:

    I decided not to upgrade, there is always the possibility that this would happen. I always a few weeks before doing a major upgrade and I test offline before making the upgrade.

    As for your code, it looks right.
    element321 recently posted..Does Your Site have an Error 404 File Not Found Page?

  5. Well done on your upgrade Karen, I am always very weary of upgrading as I have been burnt pretty hard in the past. And I blog on Drupal which is like rocket science compared to the fairly user friendly WordPress. Don’t ask me why I’m on Drupal, force of habit probably…
    Jorgen Sundberg recently posted..How Chris Brogan Stays Productive with Egg Timers

  6. Ileane
    Twitter:
    says:

    Hi Karen, Cheers on knowing the right person to help resolve your issue. You’re braver than most. Good for you and congrats on the upgrade!
    Ileane recently posted..Introducing WordPress 3.0 (via WordPress.tv)

  7. I upgraded my 2 smaller sites this morning with my hosting provider “SimpleScripts” I myself set my max memory to 128mb but be careful if you are on a shared hosting plan, your hosting provider may limit you to 50mb and if you set your limit too high your blog will have random 500 errors or crashes when visitors access as your memory goes over your hosting provider threshold and they start killing your apache/php processes.
    Dragon Blogger recently posted..Can You Earn More Running Multiple Blogs?

  8. Lane Lester
    Twitter:
    says:

    I’m holding off on 3.0, not because I’m afraid of WP bugs, but of incompatibilities in the flock of plugins I use in each blog. I’m afraid to see how many will get broken by this upgrade.
    Lane Lester recently posted..Profit Through The Power Of Words

  9. Colleen
    Twitter:
    says:

    “Friends do not let friends upgrade to a new version of WordPress until the .1 version is published!”

    3.1 corrects most issues 3.0 (or any other new WP version) finds. I always wait. :)
    Colleen recently posted..June Network Tri Cities Luncheon: The State of Higher Education

    • Colleen
      Twitter:
      says:

      Funny thing is, I didn’t wait! The ‘upgrade link’ was to tempting to not click, so I did. Things went fine. One small glitch with my theme but otherwise things are running smoothly. Probably the one plugin I’m worried about is Lucia’s Linky Love. I checked and there hasn’t been an upgrade in a while!
      Colleen recently posted..Full Disclosure

  10. Nawaz
    Twitter:
    says:

    This post is providing me the complete information. I have gone through each step and very happy that Blazing Mind has Upgraded WordPress 3

  11. DiTesco
    Twitter:
    says:

    ixed thought about upgrading to WP or not. Anyway, I also decided to wait a while longer on Thelonious as I use Thesis and it appears that there is some bug on WP3 that is not compatible. So mainly because of this, I will wait until Chris of DIY Themes fixes the issue and then upgrade. hopefully by that time the .1 version will be out.
    DiTesco recently posted..WordPress Thelonious Version 3.0 Released

  12. Extreme John
    Twitter:
    says:

    Luckily I don’t have to spend too much time doing the upgrades myself, I have Mike that takes care of the upgrades for me because of my limited scheduled. Great way to show others through your personal experience Karen :)
    Extreme John recently posted..Where Does All the Time Go? Damned If I Know!

  13. john
    Twitter:
    says:

    When a new version of software is available there are always some bugs that come along with it. I usually wait for a new release that fixes the bugs and I don’t run into problems this way :D

  14. benwaynet
    Twitter:
    says:

    Glad the upgrade went smooth for you. I too am waiting a bit for all the plugins and the themes I use to be updated to support V3.

    Since I have two seperate blogs right now, I’ve also wondering what if any is the benefit of combining them into a single install now that MU is part of the core wordpress code.
    benwaynet recently posted..Signed up for Netflix

  15.  
Leave a Reply


Comment Policy Important Please Read

Please be aware that all comments made are moderated and SPAM will not be tolerated, make sure you use your real name (NOT A WEBSITE NAME), you can also utilise (YOURNAME @ BLOG NAME), if we deem a comment to be SPAM then it will be edited or deleted! SPAMMERS are not welcome here! Comments without a Gravatar may also be deleted! Comments without a first name will NOT be approved!

Editors have the right to moderate or delete any comment they choose.

CommentLuv badge