Page 4 of 29 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 286
  1. #31
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    623
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Skip,

    That appears to have worked but I don't have the option to save for some reason. I have a screen shot so you can have a look.
    Attached Images Attached Images  

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

    Default Re: BackUp ZC [Support Thread]

    You seem to be missing define('BACKUP_EXCLUDED', 'Excluded '); that would be in YOUR_ADMIN/includes/languages/english/backup_zc.php

    I don't know how this is not working but check the file and re-upload if it is not there.

    The screen should look like the BackUp_ZC_Main_Window.gif file in the zip that you downloaded from the free software addons.

    Skip
    • 446F63746F722057686F •

  3. #33
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    623
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Skip,

    This is what is in the file:

    <?php
    /*
    ***********************************************************************
    $Id: backup_zc.php, v 1.0.4 2010/07/09

    ZenCart 1.3.9f
    Copyright 2003-2010 Zen Cart Development Team
    Portions Copyright 2004 osCommerce
    http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    Written By SkipWater <[email protected]> 05.08.10

    ***********************************************************************
    */


    // the following are the language definitions
    define('BACKUP_COMPLETE_TEXT', '<h1>Backup Completed</h1> Archive was created in ');
    define('BACKUP_DOWNLOAD', 'Backup file location will be downloaded <b>NOT SAVED ON SERVER</b>');
    define('BACKUP_FILE_NAME_TEXT', 'Backup File Name: ');
    define('BACKUP_LOCATION', 'Backup file location: ');
    define('BACKUP_TEXT', 'BackUp ');

    define('COMPLETE_TEXT', 'Complete Site ');
    define('CREATE_SQL_BACKUP', 'Create a SQL BackUp File From <b>'.DB_DATABASE.'</b> Database: ');

    define('DEFAULT_SETTINGS', 'Default Settings');
    define('DEFAULT_TEXT', ' (Defualt) ');
    define('DID_NOT_RUN_SQL_TEXT', 'You did NOT Run MySQL BackUp ');
    define('DOWNLOAD_ARCHIVE_TEXT', 'Download Archive:');
    define('DIR_FILES_EXCLUDED', 'Directory and Files excluded from archive: ');

    define('FILE_NAME_TEXT', '- File Name: ');
    define('FILE_TYPE_ZIP', 'File type Zip ');
    define('FILE_TYPE_GZIP', 'File type Gzip ');
    define('FILE_TYPE_TAR', 'File type Tar ');
    define('FTP_NOTE_TEXT', 'Please use FTP to download it to free up server space. Thank You<br />');

    define('HEADING_FILES', 'Files Only ');
    define('HEADING_OPTIONS', 'Options');
    define('HEADING_NOTES', 'Notes: ');
    define('HEADING_TITLE', 'Backup Zen Cart');

    define('MEMORY_MESSAGE_TEXT', '<b>Due to memory limits on some servers save the archive to the server. (Default)</b><br />or do one directory download at a time.');

    define('NO_TEXT', 'No ');
    define('NOT_ARCHIVED_TEXT', 'This directory is not archived so any files in it will NOT be added. ');
    define('ONLY_ONCE', 'You need to select this ONLY once per backup session. ');

    define('ROOT_FILE_TEXT', 'Web Site Root Files Only ');

    define('SAVE_TO_TEXT', 'Save BackUp File To: ');
    define('SECONDS_TEXT', ' seconds. ');
    define('SQL_FILE_TEXT', 'All SQL Files Only ');
    define('SQL_FILE_NAME_TEXT', 'SQL File Name ');
    define('SQL_FILE_LOCATION_TEXT', 'SQL file location ');
    define('SQL_FILE_ARCHIVE_NOTE', '
    Your SQL File will be in your arcive backup file. Only if you did a complete backup, sql file backup or Complete Admin backup.<br />
    Please use FTP to download or delete it to free up server space. Thank You<br /><br />
    ');

    define('TEXT_NOTES', '
    The options to the right allow you to select what you want to archive.<br /><br />
    Backup MySQL database will export your Zen Cart database to a SQL file.<br />
    When completed BackUp ZC will continue to create a archive file of your selected options. The SQL file will only be added to the archived if you selected Complete Site, All SQL Files or Your Admin Directory.<br /><br />
    If you select a directory to backup the directory name will be added to the archives file name. This will allow you to idenify the files contents easily.<br /><br />
    Selecting \'Yes\' in the Download Archive dropdown you will get a new window to download your archive.<br /><br />
    If you get a blank page php memory has been over used. To fix you can edit backup_zc.php in your admin folder and raise the memory usage.<br /> <br />
    <b>Please be patient scanning your Zen Cart directory structure.</b><br />
    ');

    define('YES_TEXT', 'Yes ');
    define('ZIP_GZIP_COMPRESSION', 'Compression level Zip or GZip: ');
    //
    ?>

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

    Default Re: BackUp ZC [Support Thread]

    I just downloaded BackUp ZC from the free software addons and looking at that file it has the code ie:
    PHP Code:
    // the following are the language definitions
    define('BACKUP_COMPLETE_TEXT''<h1>Backup Completed</h1> Archive was created in ');
    define('BACKUP_DOWNLOAD''Backup file location will be downloaded <b>NOT SAVED ON SERVER</b>');
    define('BACKUP_FILE_NAME_TEXT''Backup File Name: ');
    define('BACKUP_LOCATION''Backup file location: ');
    define('BACKUP_TEXT''BackUp ');
    define('BACKUP_EXCLUDED''Excluded '); 
    How it's gone from your file is unknown.

    Skip
    • 446F63746F722057686F •

  5. #35
    Join Date
    Oct 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Skip-
    Very nice addition. This eliminates any excuses for not backing up early and often.

    A question, though, that may show my ignorance. The ReadMe says "NOTE: If you intend to download files, we STRONGLY recommend you do it only via a secure SSL / HTTPS: connection."

    I have SSL on my site. To download via SSL do I do this by manually changing http to https on the Download Backup Archive page each time I go there?

    I have looked through backup_zc.php, backup_zconfig.php, and backup_zc_download.php and could spot nothing that would automatically make the Download Backup Archive page SSL nor otherwise make the download SSL protected. I prefer not to modify my admin/includes/configure.php to make my entire admin area SSL protected.

    Thanks.

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

    Default Re: BackUp ZC [Support Thread]

    Quote Originally Posted by batta View Post
    Skip-
    Very nice addition. This eliminates any excuses for not backing up early and often.

    A question, though, that may show my ignorance. The ReadMe says "NOTE: If you intend to download files, we STRONGLY recommend you do it only via a secure SSL / HTTPS: connection."

    I have SSL on my site. To download via SSL do I do this by manually changing http to https on the Download Backup Archive page each time I go there?

    I have looked through backup_zc.php, backup_zconfig.php, and backup_zc_download.php and could spot nothing that would automatically make the Download Backup Archive page SSL nor otherwise make the download SSL protected. I prefer not to modify my admin/includes/configure.php to make my entire admin area SSL protected.

    Thanks.
    I know that you did not want to activate SSL in the configure file but there is no way around it. But if you store the backup to the server and then sftp the file down. You would be using the secure sftp transfer and would not have to change the configure setting in ZC admin.

    The way ZC works with zen_href_link function you would have to set define('ENABLE_SSL_ADMIN', 'true') in the admin/includes/configure.php

    And add this code to backup_zc.php around line 158 find
    PHP Code:
    $_SESSION array_merge($_SESSION$_POST);
       
    header('Location: 'zen_href_link(FILENAME_ZC_DOWNLOAD) .'');
       exit(); 
    Change to look like this:
    PHP Code:
    $_SESSION array_merge($_SESSION$_POST);
    // Download using SSL or NOT
      
    if (ENABLE_SSL_ADMIN != 'true') {
         
    header('Location: 'zen_href_link(FILENAME_ZC_DOWNLOAD) .'');
      } else {
         
    header('Location: 'zen_href_link(FILENAME_ZC_DOWNLOAD,'''SSL') .'');
      }
    exit(); 
    This change and the Go Daddy fix will be in the next update.

    Skip
    • 446F63746F722057686F •

  7. #37
    Join Date
    Oct 2010
    Posts
    14
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Skip -

    Thanks for the quick response. Even with the couple extra steps for the SSL download it is a nice addition.

  8. #38
    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?

  9. #39
    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.

  10. #40
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: BackUp ZC [Support Thread]

    Things were going great. But I've just tried to backup, I don't get a success screen. Just blank. The backup file is in my directory but I can't extract anything from it. Corrupted or damaged files...help? Thank you.

 

 
Page 4 of 29 FirstFirst ... 2345614 ... LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 20
    Last Post: 23 Apr 2025, 08:49 AM
  2. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 761
    Last Post: 15 Mar 2025, 02:00 PM
  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