Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    24
    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?

  2. #2
    Join Date
    Dec 2004
    Posts
    1,031
    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.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    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.
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    Apr 2009
    Posts
    84
    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.

  5. #5
    Join Date
    Dec 2004
    Posts
    1,031
    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.

  6. #6
    Join Date
    Jul 2009
    Posts
    53
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    im having the same problem is there any fix yet and i got a new error also

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 106

    Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web173/b1732/ipw.jlcaudio/public_html/admin/backup_mysite_backend.php on line 116

  7. #7
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Having problem with PRO Backup

    Not that I know of. Sorry, I gave up on it and suggest you do the same. I think it was designed for an older version and never adjusted for the current 1.3.8 series.

    If you have cpanel, you can use the backup feature. Use the DB backup module for zen cart and consider keeping all files locally. This should do.
    Live and learn... the Zen way.

 

 

Similar Threads

  1. Problems using Backup SQL and pro site backup on live site
    By needlecreation in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 May 2009, 03:59 AM
  2. having a problem with attributes
    By maryland in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 16 Nov 2008, 11:08 AM
  3. Having Problem with categories showing up
    By chuckhill in forum Addon Templates
    Replies: 3
    Last Post: 11 May 2007, 06:39 AM
  4. Having problem with IH 2.0
    By duffster2004 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Dec 2006, 04:07 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