Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Do Talisman you know if anything has changed since you last used this function?

    I see the same problem on my site also. After trying to generate a backup, I get the following php error in the wp-admin folder:

    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 256 bytes) in .../wp-includes/wp-db.php on line 2221

    After researching this error it seems it is an indicator of an infinite loop.

    Plugin Contributor wpsolutions

    (@wpsolutions)

    After researching this error it seems it is an indicator of an infinite loop

    No – that error is an indicator that you are running out of memory and that you need to increase your server’s PHP memory_limit value. Maybe start with 256M.

    Thread Starter Talisman

    (@talisman)

    Error logs are a wonderful thing when you know where they are! What I get is this:

    [14-May-2015 01:24:25 UTC] PHP Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/) in Unknown on line 0
    [14-May-2015 01:24:25 UTC] PHP Warning: File upload error – unable to create a temporary file in Unknown on line 0

    The backup command has never run successfully on this site from this plugin. The error appeared the first time I tried to use it. CPanel’s backup works ok but this was a convenient way of doing it.

    It’s just a thought and I have no idea if it’s relevant but this site was the only one that had a WP upgrade 3.9.6 to 4.2.2. The other 3 were all new installs.

    Hope this helps.

    It shouldn`t be an out of memory problem, because my whole sql database is less than 30 MB, and until recently I could successfully make backups with All in One Security plugin. If I use the adminer plugin also from wp-admin the export finishes without problems.I will have to look into this in greater depth.

    Interesting that there is also an other error which get`s generated in the site root directory, at every backup attempt:

    PHP Fatal error: Cannot redeclare wp_unregister_globals() in .../wp-includes/load.php on line 18

    I have run a text search to see if there is any duplicate function being called but found nothing. So it could be a looping problem.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    @czcsabi as @wpsolutions mentioned above try and increase your memory to 256MB. The error is indicating that the process is running out of memory therefore it is trying to allocate more memory which it can’t find.

    30 MB for a database is large. My database is only 5 MB and I allow 256M memory on my website.

    @talisman one of the errors is saying that the /tmp folder is found in the usual place,”path” i.e. (/home/).

    Thread Starter Talisman

    (@talisman)

    I had a tmp folder missing issue a while back.

    I created a new one and got the hosting company to define the path…

    upload_tmp_dir= /home/yoursite/public_html/tmp/

    …in php.ini.

    The “back up now” option is working as it should.

    Thanks to all for their input.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I am happy to hear ??

    If your issue is resolved can you mark this support thread as resolved.

    Thank you

    Thread Starter Talisman

    (@talisman)

    Certainly can!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘BackUp Database Now Not Working’ is closed to new replies.