Page 1 of 2 12 LastLast
Results 1 to 10 of 286

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Re: BackUp ZC [Support Thread]

    Hi,

    Great looking mod, thanks for contributing. I am trying to install this with a fairly modded and patched 1.3.7.1 on a system with PHP 5.2.9. At the admin screen I get a bunch of good looking info, but then over on the right hand side underneath the options box I get the error:

    Directories Loaded ...
    Fatal error: Cannot instantiate non-existent class: recursiveiteratoriterator in /home/visua18/public_html/tispeed/tsadmin/backup_zc.php on line 44
    Any ideas what might be going on there?

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

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by ts232 View Post
    Hi,

    Great looking mod, thanks for contributing. I am trying to install this with a fairly modded and patched 1.3.7.1 on a system with PHP 5.2.9. At the admin screen I get a bunch of good looking info, but then over on the right hand side underneath the options box I get the error:

    Any ideas what might be going on there?
    You might not have recursiveiteratoriterator loaded in your php setup.

    Try looking admin->tools->Server/Version Info

    Scroll down to 'SPL support' and see if it is listed.

    If it is not listed you will have to activate it in your php.ini file.

    Skip
    • 446F63746F722057686F •

  3. #3
    Join Date
    May 2006
    Posts
    170
    Plugin Contributions
    1

    Default Re: BackUp ZC [Support Thread]

    Thanks for the clues. Turns out there was something in the zen directory that was overriding the global setting of PHP 5 set in the cpanel. I still don't know what it was, but I put the two lines below in my .htaccess at the zen root and it seems to have fixed things.

    AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
    AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml

  4. #4
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Hi, I need help again.

    I am able to backup okay and the zip file that shows up in my backups directory seems correct. The right size and everything.

    However, when I try to unzip the files I get an error message saying that the file has ended unexpectedly.

    What do I need to do to fix this? Thank you!

  5. #5
    Join Date
    Oct 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    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?

  6. #6
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    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 •

  7. #7
    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. #8
    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. #9
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    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. #10
    Join Date
    Oct 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by skipwater View Post
    You might not have recursiveiteratoriterator loaded in your php setup.

    Try looking admin->tools->Server/Version Info

    Scroll down to 'SPL support' and see if it is listed.

    If it is not listed you will have to activate it in your php.ini file.

    Skip
    Get same error on line 44. Looked into server info and did not see SPL support listed. How do i go about activating in the .ini file?

    Here's error message found in xxxx.log file in the /cache directory. Error did not show on admin/backup_zc page.

    [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.

 

 
Page 1 of 2 12 LastLast

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