I'm considering this add on, but wondering if others have had success with it.
marketeria2008, did you ever get this to work?
I'm considering this add on, but wondering if others have had success with it.
marketeria2008, did you ever get this to work?
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.
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)
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.![]()
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.
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
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.