Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Backup error


Val

Recommended Posts

Posted

Can anyone shed any light on this problem? When I try to execute backup from the admin control panel all I get is this error:

 

<<Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3862469 bytes) in /usr/local/home/httpd/docs/catalog/admin/backup.php on line 49

 

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 137 bytes) in >>

 

Line 49 is " $schema = ereg_replace(",n$", '', $schema);

"

 

 

I'm totally lost on this, There is plenty of space on the server, and I get the same error when I tell it to download the backup!

 

Thanks in advance

 

Val

www.mx5parts.co.uk

  • 2 weeks later...
Posted

Howdy All

 

I am getting a very similar error message when I try to backup. Keep in mind, I was able to back up 5 or 6 times in the past without any problem, so this really is a bit odd.

 

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 3981833 bytes) in /var/www/vhosts/mydomainname.com/htdocs/CSAdmin/backup.php on line 49



Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 137 bytes) in Unknown on line 0

 

Please, anyone out there, what's up here? :whaasup:

 

Best Regards, Ted

  • 3 weeks later...
Posted

Same here.

 

When the database started growing, I got that same error message.

 

Solution?

 

Go to php.ini and change the maximum memory allowed for a script to run, mine was at 8mb, I changed it to 16mb, then you must restart apache, and then try to backup again.

 

It worked good for me, now the backup gets done in 2 seconds.

 

I'm happy now!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...