Hi,
I've now been working with ZenCart for a couple of days and am very happy with everything so far. I'm porting my store over from a 2002 version of OSCommerce and things are progressing nicely.
However, I'm getting an error when viewing the customer list and could use some help resolving the error.
Error Messages:
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/.hadrondryer/afterhrs/zencart.mainlyminis.net/admin/customers.php on line 1099
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.hadrondryer/afterhrs/zencart.mainlyminis.net/admin/customers.php on line 1101
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/.hadrondryer/afterhrs/zencart.mainlyminis.net/admin/includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in /home/.hadrondryer/afterhrs/zencart.mainlyminis.net/admin/includes/classes/object_info.php on line 30
The first 2 errors are generated from these 2 lines in admin/customers.php
$customer_info = array_merge($country->fields, $info->fields, $reviews->fields);
$cInfo_array = array_merge($customers->fields, $customer_info);
The customer list displays ok beneath the errors, but I can't select a customer for editing.
Can someone tell me what these statements are looking for that must be missing in my imported database?
Also, I'd just like to say thanks to the developers for creating such an excellent product, it's far superior to my old version. Most of the mods I made in OSC are now standard features so rebuilding my store in ZenCart hasn't been too difficult so far.
In the last 2 days I've ported the database, re-created the look and feel of my old store by creating a custom template, and managed to import over 6,000 products and 6,000 customers without too many major issues so far.
It's really refreshing to be able to make so many modifications without having to touch the core code, which means version upgrades will be possible for me now. This was a huge problem in the past and now it won't even be an issue.
Thanks in advance for any assistance.
Ed
Bookmarks