ZC 1.5.1
I have question. Why the SQL file exported manually has a little bigger size than that finished by BACKUP ZC? Does that mean there is something which isn't saved? Thanks
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi, when attempting to run this addon I get an internal server 500 error, with the following error in server log
Premature end of script headers: backup_zc.php,
Pete
Hi Skip, thanks for this great mod. I do have an issue when using it though (similar or the same as mentioned above?).
Depending on my selection some backups succeed and some don't. Whenever I try to backup everything I get the internal server error message, and the following message appears in the server log:
After viewing this log I tried another backup and recorded the time, and after 40 seconds I got the internal server error.mod_fcgid: read data timeout in 40 seconds, referer: ............admin/backup_zc.php
Premature end of script headers: backup_zc.php, referer: ...........admin/backup_zc.php
So I guess the problem/solution lies at the host?
What is happening is that you are requesting more resources then php can give you.
Not all hosts will allow php settings in your htaccess file but if yours allows it add this code to it.
If not ask your host to set it in php for you.Code:php_value max_execution_time 200 php_value mysql.connect_timeout 240 php_value memory_limit 128M
Skip
446F63746F722057686F
Hi Skip, many thanks for the response
Unfortunately a fresh upload still produces the same results, as Paulm states this only appears to affect some options (mostly the larger file size ones though)
Assumed my server was struggling so spoke to my host
My .htaccess contains the suggestion you posted to Paulm
and my php.ini contains
output_buffering = On
magic_quotes_gpc=off
max_execution_time = 480 ; Maximum execution time of each script, in seconds
max_input_time = 480 ; Maximum amount of time each script may spend parsing request data
memory_limit = 512M ; Maximum amount of memory a script may consume (32MB)
max_input_vars = 3000
Assuming with those limits and execution times all should have been ok?
Pete
Bookmarks