View Single Post
  #10  
Old 12-18-2014, 11:20 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Error when adding to address book

I see "NULL" entries in the "country_code" column. This may cause the error.

Try the following:

1. Backup all your site files and the MySQL database - this will help you to recover your site if something goes wrong on the second step.

2. Run this MySQL query:
Code:
update xc_profile_addresses set country_code = 'US' where country_code IS NULL;

Does this help?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote