ChrisU2R Posted April 13, 2011 Share Posted April 13, 2011 I've just recovered a damaged Prestashop installation via my webhost from a monthly back-up.The main problem I'm having right now is when trying to 'retrieve password' as a customer (from shop front) which results in the errorError - No iso code for email !The same error also occurs when trying to create a new account.I'm guessing something is missing or failed to import in my restored database and if so, is there a query I can run on ps_customer that would add the missing ISO code ? I can see each customer in the database and could probably manually reset their passwords one by one but this would be a huge job if it worked.I'm running version PS 1.3.2.3 (Intend to update once I get this site to work as it was)Any help greatly appreciated.As a note: If I manually reset the password in the database (As per this post) I have no problems logging in but I still can't retrieve/reset the password or register without having the same error. Link to comment Share on other sites More sharing options...
apeksha Posted April 17, 2011 Share Posted April 17, 2011 I have the same error. Please help Link to comment Share on other sites More sharing options...
ChrisU2R Posted April 17, 2011 Author Share Posted April 17, 2011 Hi apeksha, - I've not found a definative solution but the whole thing appears to be related to languages/zones.In back office, Shipping > Zones, try checking on all ZonesI tried setting up UK from scratch but it didn't seem to want to associate its self with 'Europe' however checking everythinghas covered all bases and now it works but probably for the wrong reasons. Worth a go if you want to open the shop and research the problem later.Oh the other thing I found was that in Payment > Currencies the default currency dropdown was empty and and so couldn't be selected. I solved this by re-creating 'Pounds' as a currency.Finally, take a look in Tools > Languages and make sure you have a default language set.As mentioned, My shop setup isn't entirely correct but it is working and the main problem appears that the default country and currency settings had been erased during the backup and that the options were no longer available unless I recreated zones and counties. I also had to copy the English (en) translation file into a new United Kingdom (gb) translation for it to become visible to select in the dropdown as the default language.Basically, if the shop doesn't know which languge it's in, it doesn't know which email language to use and throws up the ISO error.It would be great if someone were able to create an idiots tutorial on how to set up a United Kingdom only shop set up with Zones etc although I'm guessing PS 1.4 deals with this at install time. - The other suspicion I have is that as the zones and default countries settings were corrupted/not set from my database backup, this caused the upgrade I tried to do to fail. Link to comment Share on other sites More sharing options...
apeksha Posted April 17, 2011 Share Posted April 17, 2011 Hi Chris, Thanks for the help. The problem with my shop is. it only has a problem with the forget password link at the end user side. Other email functions are working fine. I checked the solution mentioned by you. In my case everything seems to be correct. This problem is haunting me and so far no help is available.! Link to comment Share on other sites More sharing options...
ChrisU2R Posted April 17, 2011 Author Share Posted April 17, 2011 You might find that when you try and create a new user account, you will probably get the error too - existing customers are not affected until they try and reset their password ie. If you can remember your password, you should be able to login.You can 'set' or reset passwords using phpMyadmin (can tell you how if you want to try it) but unless you sort the default language issue, you'll still have the problem if a customer wants to reset their password assuming your problem is the same as mine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now