Forums / All Other Contributions/Addons / Having problem with PRO Backup

Having problem with PRO Backup

Locked

Views: 1,859

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
28 Mar 2009, 11:35 PM
#1
marketeria2008 avatar

marketeria2008

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

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

29 Mar 2009, 3:01 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Having problem with PRO 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

29 Mar 2009, 7:16 AM
#3
marketeria2008 avatar

marketeria2008

New Zenner

Join Date:
Feb 2009
Posts:
8
Plugin Contributions:
0

Re: Having problem with PRO Backup

No one is able to assist with this module?

29 Mar 2009, 2:27 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,668
Plugin Contributions:
0

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.

6 Apr 2009, 8:23 PM
#6
kevinp avatar

kevinp

New Zenner

Join Date:
Jul 2008
Posts:
23
Plugin Contributions:
0

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?

6 Apr 2009, 11:02 PM
#7
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

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.

6 Apr 2009, 11:40 PM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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)

7 Apr 2009, 8:52 AM
#9
byoriginaldesign avatar

byoriginaldesign

New Zenner

Join Date:
Apr 2009
Posts:
84
Plugin Contributions:
0

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. :clap:

Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
Currently developing: http://www.printdealz.com
Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a

7 Apr 2009, 12:24 PM
#10
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

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.

14 Aug 2009, 7:30 PM
#11
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

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

18 Aug 2009, 8:36 PM
#12
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

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.

19 Aug 2009, 12:44 AM
#13
jlcaudio avatar

jlcaudio

New Zenner

Join Date:
Jul 2009
Posts:
53
Plugin Contributions:
0

Re: Having problem with PRO Backup

mydanilo:

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.

ok thanks for your help