Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Moved Site - Compatibility Issues?

Moved Site - Compatibility Issues?

Views: 3,544

Results 21 to 23 of 23
2 Aug 2011, 2:18 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Moved Site - Compatibility Issues?

janellez:

[01-Aug-2011 09:08:10] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /home/xyz/public_html/fakeadmin/customers.php on line 1099That's appearing because when the store is attempting to look up the country associated with the selected customer's address, it's not finding a valid entry. That could be a result of the country being missing from your database's countries table, or the customer's address_book entry doesn't exist or has a country number associated with it that doesn't match a country in your countries table.
That sort of thing commonly happens when people do incomplete imports of database tables (typically when taking shortcuts to guess at what info comprises customer data and guessing incorrectly, and ending up missing tables.). Maybe for you your import of data for your customers was incomplete ... ie your database import between servers didn't happen properly.
janellez:

[01-Aug-2011 09:08:10] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in /home/xyz/public_html/fakeadmin/customers.php on line 1101
[01-Aug-2011 09:08:10] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/xyz/public_html/fakeadmin/includes/classes/object_info.php on line 29
[01-Aug-2011 09:08:10] PHP Warning: Variable passed to each() is not an array or object in /home/xyz/public_html/fakeadmin/includes/classes/object_info.php on line 30all of those are consequences of the prior error.

janellez:

[01-Aug-2011 07:45:38] PHP Warning: Invalid argument supplied for foreach() in /home/xyz/public_html/includes/modules/shipping/usps.php on line 278

After the upgrade I was having trouble with international shipping so I installed the module USPS Shipping Module Update - RateV4 - IntlRateV2.That's a shipping issue only.
I can't see how that would be related to customer information missing.

2 Aug 2011, 2:49 AM
#22
janellez avatar

janellez

Zen Follower

Join Date:
Sep 2007
Posts:
128
Plugin Contributions:
0

Re: Moved Site - Compatibility Issues?

Ok - that kind of gives me a starting point. I didn't think I took any shortcuts - using sqldumper - as I have several times before without issue.

I have the old backups of the database before the move (and access to the database on the old server). I'm trying to think of how I could restore them again without losing the data that has accumulated in the weeks between the move and now.

2 Aug 2011, 3:32 AM
#23
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Moved Site - Compatibility Issues?

janellez:

using sqldumperNot familiar with that tool.
Recommended approach: https://www.zen-cart.com/tutorials/index.php?article=103
janellez:

I have the old backups of the database before the move (and access to the database on the old server). I'm trying to think of how I could restore them again without losing the data that has accumulated in the weeks between the move and now.
You don't want to restore the entire database, else you'll lose everything added since then.

A good starting point would be to do a fresh export of both databases, and compare all the data. Naturally you'll see new records in the new one, and you can ignore those for now. Study all the discrepancies in the rest of the data though. Then figure out a plan for fixing that.
A good text-file comparison tool like WinMerge or BeyondCompare will save you hours of headaches.