Forums / Upgrading from 1.3.x to 1.3.9 / Migrating Users from 1.3.7 to 1.3.8

Migrating Users from 1.3.7 to 1.3.8

Locked

Started by accension on 27 Mar 2008, 4:36 PM · Views: 2,607

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Mar 2008, 4:36 PM
#1
accension avatar

accension

New Zenner

Join Date:
Jan 2008
Posts:
42
Plugin Contributions:
0

Migrating Users from 1.3.7 to 1.3.8

I created a brand new site in 1.3.8. I moved all the tables that start with customers_ from a 1.3.7 installation. However, I can see all of the users in the admin panel, but when I click on them, I get the following errors:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /mnt/Target01/329992/344768/www.*.com/web/content/store/admin/customers.php on line 1099

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /mnt/Target01/329992/344768/www.*.com/web/content/store/admin/customers.php on line 1101

Warning: reset() [function.reset]: Passed variable is not an array or object in /mnt/Target01/329992/344768/www.*.com/web/content/store/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /mnt/Target01/329992/344768/www.*.com/web/content/store/admin/includes/classes/object_info.php on line 30

Migrated users also have trouble logging in.

However, 1.3.8 users are working like normal.

Any thoughts?

27 Mar 2008, 9:03 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Migrating Users from 1.3.7 to 1.3.8

accension:

I created a brand new site in 1.3.8. I moved all the tables that start with customers_ from a 1.3.7 installation.Why did you do it that way? Do you realize that by mixing tables from different versions you can create chaos?

Nevertheless, your problem is that you're missing the address_book table data that matches the customers you copied.
Reference: http://www.zen-cart.com/wiki/index.php/Developers_-_Database_Schema#Customer_Information

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Mar 2008, 10:25 PM
#3
accension avatar

accension

New Zenner

Join Date:
Jan 2008
Posts:
42
Plugin Contributions:
0

Re: Migrating Users from 1.3.7 to 1.3.8

Thanks, it did work. However, I think you're right, it did seem to cause issues with paypal for some old users...

Is there a better way to migrate users?