If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading from 1.2 to 1.3.x / Customer details not working after import ... v1.2

Customer details not working after import ... v1.2

Locked

Started by tbsm on 19 Feb 2008, 5:01 AM · Views: 5,404

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
19 Feb 2008, 5:01 AM
#1
tbsm avatar

tbsm

New Zenner

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

Customer details not working after import ... v1.2

Hey all,

Im upgrading from a 1.2.. (fairly sure its 1.2.. at least, created 2005) version of zencart and am having a few issues in regards to importing all of the customer details.
The customer details are all working fine when i view them in the database but they are not showing up when i go into the /Admin pages and try to look at the customers details.
I am also getting the following error message on the customers page:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/tb/tbs/tbsm.com.au/public/www/admin/customers.php on line 1020

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/tb/tbs/tbsm.com.au/public/www/admin/customers.php on line 1022

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/tb/tbs/tbsm.com.au/public/www/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/tb/tbs/tbsm.com.au/public/www/admin/includes/classes/object_info.php on line 30

I dont intend on copying all of the product feilds over as i would like to start from scratch there..

Any help would be mostly appreciated.
Thank you.
Liam/

7 Nov 2008, 10:12 PM
#2
roberto_blas avatar

roberto_blas

New Zenner

Join Date:
Nov 2008
Posts:
1
Plugin Contributions:
0

Re: Customer details not working after import ... v1.2

I got these messages and figured out my problem

I had used phpadmin to download/upload customer data into/from the following files

: customers
: customers_info
: address_book

Then, I went into admin and saw the merge errors you cite above.

Problem was that I had not adjusted default address id field in the customers table. The field still had the id's from the OS Commerce cart database from which I was converting.

After I fixed this problem the error messages no longer appeared.

Which made me happy.