1
voltan
error in backup3
  • 2007/12/27 10:08

  • voltan

  • Theme Designer

  • Posts: 724

  • Since: 2006/12/5


hi
when i use backup3 module in my site i see this error

Fatal errorAllowed memory size of 20971520 bytes exhausted (tried to allocate 9527256 bytesin /home/mitm/public_html/modules/backup/admin/backup.php on line 131

2
mboyden
Re: error in backup3
  • 2007/12/27 16:18

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


How big is your database?

I'm used to seeing this common php memory size error on sites using Drupal or Joomla, but not on the lightweight XOOPS sites.

The problem is your server ran out of memory for the script.

I'm assuming you have a fairly large database and it can't fit the info into memory. I tried this module out, but I tend to use phpMyAdmin and other methods to make backups of site databases.

You have a couple of solutions to get your database. First, you can ask your hosting company to increase the allowable size for scripts (in their server php config file). However, they may balk at this, as there really isn't much reason to need 20M of memory for a simple PHP script, and any web application using more than that is misbehaving IMHO (but Drupal and Joomla sites routinely need more memory than this). Alternatively, your hosting company might provide phpMyAdmin or some other way to do a dump of your database. If not, you could always install it on your site.
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

Login

Who's Online

189 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits