Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    70
    Plugin Contributions
    0

    Default 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/

  2. #2
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. Import Customer List to Group
    By pbtb in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 4
    Last Post: 11 Nov 2010, 01:33 AM
  2. can I import my customer accounts only?
    By pwoens in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 6 Feb 2008, 04:42 AM
  3. I import database but still no details show
    By icklebits in forum Upgrading from 1.3.x to 1.3.9
    Replies: 18
    Last Post: 7 Jun 2007, 12:56 PM
  4. Import customer data after upgrade?
    By skypanther in forum Upgrading from 1.2 to 1.3.x
    Replies: 2
    Last Post: 29 Mar 2007, 09:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •