Page 5 of 29 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 286
  1. #41
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Nevermind, I figured it out. I was looking for the php memory increase in my store admin instead of my admin files.

  2. #42
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Backups seem to work fine, but I keep getting this error message at the top of the screen.

    Warning: stat() [function.stat]: stat failed for ../extras in C:\inetpub\vhosts\mysite.co.uk\httpdocs\admin\includes\classes\archive.php on line 242

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

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by gman View Post
    I have the same problem.

    Using: Linux 2.6.18; PHP version 4.4.9; MySQL version 4.1.22; Zen Cart version 1.3.9h; browser IE8. You mentioned to check for SPL support. Did not see it mentioned in list. How do i go about activating it in my php.ini file?

    Error message does not appear in admi, but found it in the /cache folder under xxxxxx.log :

    [08-Nov-2010 03:04:39] PHP Fatal error: Cannot instantiate non-existent class: recursiveiteratoriterator in /home3/user_dir/public_html/admin_folder/backup_zc.php on line 44

    Could you give me some guidance with this?
    Change your file YOUR_ADMIN/backup_zc.php as per this thread Post 30 that should fix it for you.

    Skip
    • 446F63746F722057686F •

  4. #44
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by dgent View Post
    Backups seem to work fine, but I keep getting this error message at the top of the screen.

    Warning: stat() [function.stat]: stat failed for ../extras in C:\inetpub\vhosts\mysite.co.uk\httpdocs\admin\includes\classes\archive.php on line 242
    That warning is saying that you asked to exclude extras directory and in fact your ZC install does not have a extras directory.
    You can edit YOUR_ADMIN/backup_zconfig.php file and remove extras directory from the Set default exclude directories list.

    Skip
    • 446F63746F722057686F •

  5. #45
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Cheers thanks. This is a very handy tool, is there anyway to automate it?

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

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by dgent View Post
    Cheers thanks. This is a very handy tool, is there anyway to automate it?
    I have gotten a lot of inquires about this.
    Here is the response I have been giving.

    As for running as a cron/automated that is not a problem, what the problem is setting it up for the users.

    What I have not worked out as of yet is the level of the user.
    1. A novice user would need a window that would build the cron script for them.
    2. With that the user still needs cpanel or other knowledge to activate and run the cron. (support issue)
    3. Storing the backup on the server uses space and if run under a cron the drive space will fill up fast. (out of sight out of mind)
    4. Yes could overwrite/delete older archives but who sets the ages of the archives and how many.
    5. The archives are stored in the same location/server that might need the restore.
    6. Must if not 95% of users do not have a second server on line to hold backup/archive files.

    I have supplied the user manuals for the 2 class files in the zip file that are the core of BackUp ZC with that and a little knowledge of php a cron/automation script could be made.

    What I have been thinking about is adding a timer/reminder in ZC admin to tell the user they should backup.

    BackUp ZC was created with the mind set of before anyone changes files of there ZC site they could back up. Also after they have added products to there ZC site they could backup the sql.

    And lastly have a backup of there ZC site that is known to be up to date and with no errors.

    Skip
    • 446F63746F722057686F •

  7. #47
    Join Date
    Oct 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Thank you, Skipwater. It worked. Was able to complete backup. So this made a change that allowed the backup to proceed. I do not have a Go Daddy account so i wasn't sure it would work, but this work around fixes it for other hosts as well. Appreciate the prompt reply and keeps me interested in using Zen Cart. As i was using another platform before. Thanks again!

  8. #48
    Join Date
    Dec 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Super mod but not totally sure if its working correctly. I get this DEBUG log in my cache folder.

    [06-Dec-2010 11:04:44] PHP Warning: unlink(.//path/to/my/cache/generated.file.tgz.tmp) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /path/to_admin/includes/classes/archive.php on line 135


    Line 135:
    Code:
    unlink($this->options['basedir'] . "/" . $this->options['name'] . ".tmp");
    Create a SQL BackUp File From "my database" Database: YES

    Backup complete site is selected

    The SQL file is generated in the /backups which seems fine.

    The /cache folder generates 3 files. A compressed backup, a tmp file of some sort and the log above.

    I have the latest ZC.

  9. #49
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    785
    Plugin Contributions
    7

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by MaximumOverload View Post
    Super mod but not totally sure if its working correctly. I get this DEBUG log in my cache folder.



    Line 135:
    Code:
    unlink($this->options['basedir'] . "/" . $this->options['name'] . ".tmp");
    Create a SQL BackUp File From "my database" Database: YES

    Backup complete site is selected

    The SQL file is generated in the /backups which seems fine.

    The /cache folder generates 3 files. A compressed backup, a tmp file of some sort and the log above.

    I have the latest ZC.
    Your archive file should be fine.
    What has happened is if you choose gzip as and archive type it will create a temp file and when I tried to delete it fails.

    Here is the fix to stop the warning and delete the temp file.

    admin/includes/classes/archive.php around line 135 you will find:
    PHP Code:
    unlink($this->options['basedir'] . "/" $this->options['name'] . ".tmp"); 
    Change to:
    PHP Code:
    unlink($this->options['name'] . ".tmp"); 
    That should fix the warning and remove the temp file.

    Skip
    • 446F63746F722057686F •

  10. #50
    Join Date
    Dec 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by skipwater View Post
    Your archive file should be fine.
    What has happened is if you choose gzip as and archive type it will create a temp file and when I tried to delete it fails.

    Here is the fix to stop the warning and delete the temp file.

    admin/includes/classes/archive.php around line 135 you will find:
    PHP Code:
    unlink($this->options['basedir'] . "/" $this->options['name'] . ".tmp"); 
    Change to:
    PHP Code:
    unlink($this->options['name'] . ".tmp"); 
    That should fix the warning and remove the temp file.

    Skip
    Indeed it did, no DEBUG logs and extra files generated and left behind. Worked perfectly. Thanks a million

 

 
Page 5 of 29 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 743
    Last Post: 30 Mar 2024, 02:26 AM
  2. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR