Totally Zenned
- Join Date:
- Jun 2008
- Location:
- Washington, DC
- Posts:
- 775
- Plugin Contributions:
- 1
OsCommerce Data Importer - Errors
NemesisNG:
Thank you for responding :)
Right, the customer data is currently still live and being used in the OSc shop, I just coppied the database to a test server to work on.
Where a customer has 2 address' logged, I can click the link and it will display all of the correct data, both addresses etc etc listed.
Clicking the customer data from the list once does nothing, the space below the edit button stays blank. With a new customer, not one imported, it does show the info correctly.
After selecting a imported customer and clicking edit, I get taken to the edit page but all of the fields are blank.
What I can see is that if I hover over the edit button the part which says "zen/storeadmin/customers.php?page=1&cID=&action=edit" seems to be missing the actual ID number. If I manually edit that url and add in a number for the cID=1234 it works fine.
This is a fresh install of Zen, I think it was 1.3.8 which I have upgraded in the last couple of weeks to 1.3.9a and now 1.3.9b.
From my web hosting I can see: PHP version 5.2.11, and it's a Linux shared hosting package I believe.
OK Found your problem:
In the address_book table field entry_country_id you have ID's that are not the real zen cart country codes.
Example:
In your OSC address_book table, field entry_country_id GB = 245
In ZEN countries table field countries_id GB = 222
And at the same time ZEN country codes only go to 240 so any country > 240 the record will fail.
To fix you need to change all the entry_country_id values in address_book table, field entry_country_id
US from 244 to 223
GB from 245 to 222
They are the ones that I know there are others.
I think that your osc data base is a very old version because the newer versions match zen cart data base.
Hope that helps
Skip
• 446F63746F722057686F •
