Results 1 to 10 of 286

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by scytheuk View Post
    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
    Sounds like a bad upload try re-uploading the file and see if that fixes it.

    Skip
    • 446F63746F722057686F •

  2. #2
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: BackUp ZC [Support Thread]

    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:
    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
    After viewing this log I tried another backup and recorded the time, and after 40 seconds I got the internal server error.

    So I guess the problem/solution lies at the host?

  3. #3
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by paulm View Post
    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.

    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.

    Code:
    php_value max_execution_time 200
    php_value mysql.connect_timeout 240
    php_value memory_limit 128M
    If not ask your host to set it in php for you.

    Skip
    • 446F63746F722057686F •

  4. #4
    Join Date
    Apr 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    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

  5. #5
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: BackUp ZC [Support Thread]

    It appears that in my case using "Download Archive" "No" doesn't work (also checked the suggested server settings but they appeared to be ok), probably due to the server mod_fcgid settings. But selecting "Yes" "Download Archive" does the trick!

    When using the download option the total time for backing up the database + all files takes about 20 seconds and isn't interrupted by the server.

  6. #6
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    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)
    Due to some ZC systems that are very heavy in large images/large data bases I have seen that php can not do a complete backup in one pass. That is why there are the options to do sections of what to backup. (This is a work around for php limitations)

    Skip
    • 446F63746F722057686F •

  7. #7
    Join Date
    Apr 2009
    Posts
    42
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    I thought that might have been a problem, so I excluded the images folder from the back up

    addon states total back up should be approx 97meg

    I have no real frame of reference, I thought that was not too large, or am I being hopeful lol :)

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 766
    Last Post: 18 Oct 2025, 11:23 AM
  3. SysCheck [support thread]
    By swguy in forum All Other Contributions/Addons
    Replies: 36
    Last Post: 24 Oct 2020, 05:28 AM
  4. v151 Ship2Pay Support thread
    By Design75 in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 5 Nov 2019, 01:14 PM
  5. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg