• Resolved tuftz

    (@tuftz)


    One of my sites updated to WP 4.1 and now gets the “Database Update Required” conundrum where when you click on the “update” button you get the “Fatal Error Out of Memory” error. I have tried several of the earlier fixes which do not work and I have checked that the db version (30133) matches the Update version 4.1. So is there something new I need to consider/do to get out of this problem?

Viewing 11 replies - 1 through 11 (of 11 total)
  • call your host and ask them to upgrade the memory
    disable ALL plugins
    swap to the default theme

    your host has put a limit on the amount of memory you can use. The sum of wordpress + your plugin + theme is greater than that amount ergo the error. Best hope is the host will help other wise you might want to look for a new host.

    You can increase the PHPmemory limit using
    http://codex.ww.wp.xz.cn/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    Also try upgrading the wordpress version manually
    http://codex.ww.wp.xz.cn/Updating_WordPress#Manual_Update

    Thread Starter tuftz

    (@tuftz)

    Thank you for the replies!

    I’m not certain of the difference between “memory” and “space” here as the “space” allotment on my host is for 1Gb per database. Currently this site uses 81Mb of space (including all db+plugin+wp)which would not seem to exceed or even get close to the allocation. BUT, I may be completely off the track here.

    I am going to try the increase of PHP memory now – let you know in a bit.

    I have put in a call to the Host but they have not replied as yet.

    Thread Starter tuftz

    (@tuftz)

    The account that my problem site is hosted on has a 1Gb memory allocation so I don’t get why I am getting the “Fatal Error:Out of Memory” error when the “Database Update Required” runs. I am really stuck with this one.

    Any other ideas?

    allotment on my host is for 1Gb per database

    that is the disk space you are allowed. Memory is the RAM memory you are allocated.

    Think of it this way, you have a hard drive in your computer – that is the space
    You also have RAM that is where programs run. i.e. you might have a 4G of main memory with a 50GB hard drive

    on a server, each site is allowed to use only a piece of the RAM, and a chunck of the hard drive.

    aTry this, edit the file wp-config.php (in the root folder of the wordpress install) and add
    define('WP_MEMORY_LIMIT', '64M');
    right after the line

    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    and give it a go,

    Thread Starter tuftz

    (@tuftz)

    Hi juggledad,

    Thank for the replies and info. I do understand the differences now. However, I checked with my host provider an they advise that the memory allocation for the Databases is 1Gb. That should handle all my sites but I am still getting the “Fatal Error;” message. Just doesn’t make sense to me but then such is life.

    I am trying your last suggestion today when I get a few minutes aside for this project.

    Thank again for your replies. I really appreciate it.

    Larry

    memory allocation for the Databases is 1Gb

    that’s great, but what you want to know is how much RAM is allocated to PHP – ie how much of the servers RAM is your site allowed to use.

    The ‘Fatal Error Out of Memory’ has nothing to due with the database, it has to do the amount of memory your programs are allowed to use – and this can be limited by your host. If you are only allowed to usr 32M of the servers memory and you try to run a program (wordpress with your theme and plugins) and it asks for more than 32M, you will get this type of error.

    If you look in the error log (ask your host where that is) you should see the message with more information. Or you could try adding
    define('WP_DEBUG', true);
    to your wp-config.php file and see if that shows more information,

    Thread Starter tuftz

    (@tuftz)

    Well, after two of us have been on this case for hours and hours we finally did a take down and reinstall. The Content Manager was OK with this but I am disappointed that we never found the solution which I know is out there somewhere.

    Strikes me that WordPress needs to address this problem with an update and at least let us into the Dashboard where we could delete the offending plugins with out all the super tech editing and searching – IMHO

    Without knowing the cause of your issue – which was probably site specific – how could a solution be provided?

    You can easily remove plugins from a wordpress site by using FTP to move the plugins out of the wp-content/plugins folder.

    If this issue was caused by the plugins and you had asked how you could disable the plugins – which I asked you to do in my first response – you may have saved yourself three weeks of work.

    Hosts are never the same – I have two sites at the same host that are on two different servers with different levels of code. Some stuff works on one that doesn’t work on the other and vice versa. That is not something that is under WordPress’s control. Just the Suhosin rules a site impliments can cause issues and it could happen overnight (lets say they add a new rule and don’t tell you).

    But I’m glad you have your site up and hopefully you have gained some experience you can use in teh future.

    Thread Starter tuftz

    (@tuftz)

    Hi Juggledad,

    Interesting post and I’ll try and be sort with my reply.

    I did try the plugin thing, both moving them and renaming them (de-activating them that you suggest in several different ways and it did not solve the problem.

    I also tried different themes and that didn’t work either.

    I know that there is a solution to this but I was unable to find it which leaves it to Mr. Murphy to strike again which I am certain that he will. But, it was a fun and learning situation and our take down and reinstall is resulting in a better site than the old one as we explore new and different items and presentations.

    All in all a very positive learning experience.

    Thank you again for your input and suggestions.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘4.1 Update – Database Update Required – Hangs’ is closed to new replies.