Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2009
    Posts
    8
    Plugin Contributions
    0

    Default Having problem with PRO Backup

    Hello Everyone:

    zen-cart 1.3.8a
    sage template
    About me page
    MySQL Backup
    Confirm e-mail address
    Contact us Subject
    Ask a Question
    PayPal Verified
    Quickbooks Import QBI
    checkout without account
    google base feeder
    Webserver: Dreamhost

    I just installed Pro Backup (zen) backup, all the backup modules seem to be related to A71backup. Everything seemed to work except it is throwing an error of:

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /backup_mysite_backend.php on line 106

    line 106 is: $output = array_merge($output, $this->build_tree($path));
    }
    }
    }
    }
    there are 18 lines of the same warning.
    Then it states: Site successfully backed up. File created: /backups/leafriveremporium.com_280320091518.tar
    Ignored the following files: the cache files

    I would appreciate any help you may give on this, I need a way to backup my files that does not take forever to download. I can download with filezilla with security key over highspeed internet. But with the security and the compression it takes over 8 hours to download my files.
    Thank You
    Marketeria2008

  2. #2
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Having problem with Zen Backup

    I would appreciate any help you may give on this, I need a way to backup my files that does not take forever to download.
    Files do not change unless you change/add to them...

    What I suggest to all is that they "maintain" a local copy of their files.
    Make any alterations to this copy and then FTP the altered version to their server.

    In this way, if you follow it with a vengance, you always have a current local copy of the files on your server. You also do not need to "download/backup" ever again.....
    Good pratice might be to periodically refresh your local copy for insurance only.

    Your Database in another matter and in a busy shop should be backed up daily.
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Feb 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Having problem with Zen Backup

    No one is able to assist with this module?

  4. #4
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    Is this a paid module you got somewhere?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Aug 2005
    Posts
    26,014
    Plugin Contributions
    9

    Default Re: Having problem with PRO Backup

    Zen-Venom Get Bitten
    Get Your Business Found

  6. #6
    Join Date
    Jul 2008
    Posts
    25
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    I'm considering this add on, but wondering if others have had success with it.

    marketeria2008, did you ever get this to work?

  7. #7
    Join Date
    Dec 2004
    Posts
    831
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    Same problem here.

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /backup_mysite_backend.php on line 106

    Lots of them.

    tar file does not have the /includes folder in it. Somehow it just does not take it all. Would be a great tool if it worked. The tar file is a lot easier to download.
    Live and learn... the Zen way.

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: Having problem with PRO Backup

    This is a common error for php scripts written during the PHP4 era, that don't properly check whether variables have been initialised or are non-empty. PHP4 was very forgiving about that, but PHP5 is much less so (and rightfully). I suspect that you have gone through a PHP upgrade, even if your webhost didn't tell you!

    The only solution is usually to rework the code as good practice would have demanded in the first place, which can be anything from trivial to very difficult.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #9
    Join Date
    Apr 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    I ended up getting to this same error, but not initially. The 1st error I ran into was with backup_mysite.php and I realized that the error was due to the code referring to the wrong directory.

    So my edit on backup_mysite.php was on Line 19, and I manually typed out the correct location after the Root (note that I had zen installed in a /cart subfolder)...

    require($_SERVER['DOCUMENT_ROOT'] . '/cart/admin/backup_mysite_backend.php');

    That fixed my initial problem, but lead to the error "backup_mysite_backend.php on line 106" a bunch of times.

    It's really the same problem, so refer back to Line 76 on backup_mysite_backend.php and add your directory. (again, mine was /cart/.)

    Line 76 $path = $dir.'/cart/'.$readdir;

    Hope that helped.

  10. #10
    Join Date
    Dec 2004
    Posts
    831
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    And if you renamed your admin directory, you need to search and replace everything named admin with your directory name as well. Done that but have the PHP5 and line 106 problem.

    As Kuroi mentioned, the code needs to be checked for PHP5. Beyond by horizon. Anybody wants to volunteer? I think this would be a very very useful addition to any zen cart shop.
    Live and learn... the Zen way.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. backup site problem
    By ericpeng in forum Installing on a Windows Server
    Replies: 1
    Last Post: 28 Sep 2008, 10:08 PM
  2. Help: Backup mysql problem
    By mach in forum General Questions
    Replies: 20
    Last Post: 5 Sep 2006, 03:55 AM

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
  •