Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Error on customer page

Error on customer page

Locked

Views: 1,786

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 Jan 2008, 10:19 PM
#1
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Error on customer page

Hi,
I keep getting this error when I click on customers in admin. Any idea what I may have done?

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/kellysc1/public_html/admin/customers.php on line 1099

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/kellysc1/public_html/admin/customers.php on line 1101

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/kellysc1/public_html/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/kellysc1/public_html/admin/includes/classes/object_info.php on line 30

Thanks,
Kelly

23 Jan 2008, 11:25 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Error on customer page

Check for corrupt - "0" byte files

24 Jan 2008, 3:30 AM
#3
kadesign avatar

kadesign

Totally Zenned

Join Date:
Feb 2005
Location:
New Jersey
Posts:
593
Plugin Contributions:
0

Re: Error on customer page

Hi,

Thanks for the reply. It was a screw up on my part while moving my info in the DB.

Thanks again,
Kelly

8 Feb 2008, 3:55 AM
#4
spaghetti_red avatar

spaghetti_red

New Zenner

Join Date:
Feb 2008
Posts:
4
Plugin Contributions:
0

Re: Error on customer page

Hi,

I am encountering the same problem. Rebuilt complete new cart w/ fresh database on a different host. New cart has very latest version (1.3.8a), previous cart is 1.3.8).

I don't want to import the whole database. Just customer and orders tables. Am I crazy?

I imported the customer table in a test site and got similar errors to what was posted above...

What is a Zero Byte File? How do I fix it?

Any help is much appreciated...

Thanks,
Jim

8 Feb 2008, 4:08 AM
#5
kobra avatar

kobra

Black Belt

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

Re: Error on customer page

I don't want to import the whole database. Just customer and orders tables. Am I crazy?
Just make sure you get all that relate

I imported the customer table in a test site and got similar errors
Customer data is in several tables...you need them all and all order related tablles if this was from a live store

What is a Zero Byte File? How do I fix it?
Using FTP sort by size ans view the file size - some might be "0"

Re-FTP any you might find

9 Feb 2008, 7:45 PM
#6
spaghetti_red avatar

spaghetti_red

New Zenner

Join Date:
Feb 2008
Posts:
4
Plugin Contributions:
0

Re: Error on customer page

Hi,

I imported both the customers and and customers_info tables. The error messages seem to refer to the relationship between those to tables. This was a little rough b/c the table names are different between the old and new sites and I am a little unclear on the right settings to use for the mySQL export. (I have been exporting only the data.)

I am still getting the errors described earlier in the thread. I did notice that when the customers are displayed with "1 of 1" in the ID# field.

Any ideas?

177 | 1 of 1 Kervin Lesa 02/06/2008 --none-- $0.00 Status - Enabled Info

176 | 1 of 1 Jacques Sue 02/06/2008 --none-- $0.00 Status - Enabled Info

The specific errors at the top of the page are...

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/spaghet1/public_html/test/admin/customers.php on line 1099

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/spaghet1/public_html/test/admin/customers.php on line 1101

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/spaghet1/public_html/test/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/spaghet1/public_html/test/admin/includes/classes/object_info.php on line 30

9 Feb 2008, 10:17 PM
#7
spaghetti_red avatar

spaghetti_red

New Zenner

Join Date:
Feb 2008
Posts:
4
Plugin Contributions:
0

Re: Error on customer page

Update...

I got the errors to go away by adding the address tables.

The only problem that remains is the strange "1 of 1" in the ID# field of the customer table.

Hmmmm...

Any help is appreciated...

Thanks,
Jim H.

10 Feb 2008, 7:30 AM
#8
kobra avatar

kobra

Black Belt

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

Re: Error on customer page

You probably need to grab all the related tables for customers, orders for what they have ordered and products for what they ordered etc....I for got whay you did not want the full DB but it moght be simplaer to import full and through the aadmin remove what you do not want