Problem Solved: WordPress Fatal error Out of memory allocated (1and1)

September 15, 2011  
Filed Under: Wordpress

After some weeks of being unable to upgrade one of my WordPress blogs using the automatic update, I was finally able to find a solution. If you are trying to upgrade to WordPress 3.2.1, using the automatic update and 1and1 is hosting your blog, then you should try the following (make sure you have tried doing the update after disabling all your plugins first):

1. Open your text editor and copy the following code:

memory_limit=40M

2. Save your file as: php.ini

3. Upload (FTP) to: the root directory of your blog (exactly where your wordpress blog lives)

4. Upload (FTP) again to: wp-admin (for example: wp-admin/php.ini)

5. You’re done! Try the automatic upgrade again and hopefully it will work this time.

There is a simpler method to try to get this working but it DID NOT work for me, but apparently worked for others:

1. Add this to your wp-config.php file:

define ('WP_MEMORY_LIMIT', '256M' );

2. Try the automatic upgrade again

COMMENTS

6 comments en "Problem Solved: WordPress Fatal error Out of memory allocated (1and1)"

  1. Diane Bourque | Sat, 24 Sep 2011 10:09 am 

    1 + 2 + 3 worked for me!
    Thanks so much.
    Diane

  2. Ricky @ Be Slim Down | Sat, 15 Oct 2011 9:36 am 

    I was trying to install wordpress 3.2, but getting the this Fatal error. I used the above given method of php.ini file helped me in getting rid of this error. Now my blog is working fine.
    Thanks a lot for this tutorial.

  3. Bud | Fri, 28 Oct 2011 12:05 am 

    I’m on 1and1.com and after about 10 different tries, this is what worked for me – having the php.ini file in both places. Thanks!!!!

  4. Autopedia | Mon, 7 Nov 2011 8:05 pm 

    Thanks a lot !
    I was unable to upload image and had all the time the “Fatal error: Out of memory” before doing your tip.
    I’m on 1and1 and problem appeared after installing simple-press plugin.
    Now everything works fine :)

  5. enrique | Sun, 13 Nov 2011 5:54 pm 

    THANNNNNNNNNNNNNNNNNK YOUUUUUUUUUUUUUUUUUUUUUUUUUU
    very much.

    the wp update finally worked

    The visual option of the editor, doesnt work, can you help me ?

    best regards

    ENRIQUE

  6. karthik | Mon, 13 Feb 2012 1:29 pm 

    worked like charm thanks a lot. :)

LEAVE YOUR COMMENT