lennydevee Posted May 7, 2010 Share Posted May 7, 2010 Hi I am unable to create accounts via the front end of my prestashop store and not able to create customers via the back end the backend generates the error "the field lastname is invalid"The front end generates the errorsThere are 3 errors :lastname is invalidfirstname is invalidcity is invalidEven when trying to update the default user in prestashop with a new password I get the errors.Any help appreciated.Thanks Link to comment Share on other sites More sharing options...
lennydevee Posted May 10, 2010 Author Share Posted May 10, 2010 OK this seems to happen anytime you are adding or editing customers or employees either via the front end or in the back end.Any ideas?? Link to comment Share on other sites More sharing options...
lennydevee Posted May 11, 2010 Author Share Posted May 11, 2010 Seems like a fairly fundamental requirement for any ecommerce solution to be able to add customers but apparently not.Can't even edit the default user john doe in the back end and when sending a link to a friend well what do you know.There is 1 error : 1. Your friend's name is invalid.Everyname you enter in this product is invalidPrestashop is invalidRunning PHP Version 5.2.0On MySQL 5 Whats going on?Does anybody have any ideas?Your post is invalidYour reply to your own post is invalid Link to comment Share on other sites More sharing options...
rocky Posted May 12, 2010 Share Posted May 12, 2010 I've never seen this problem before. Your database must be messed up somehow. Perhaps it is missing the lastname, firstname and city fields from ps_address table. What version of PrestaShop are you using? Did you upgrade from an earlier version? Link to comment Share on other sites More sharing options...
brianelee Posted May 12, 2010 Share Posted May 12, 2010 I'm having the same issue with my store. Same error messages when trying to create a new account (store front) or create a customer (back office). Fresh install of 1.2.5.0 (not an upgrade). Link to comment Share on other sites More sharing options...
lennydevee Posted May 13, 2010 Author Share Posted May 13, 2010 The lastname, firstname and city fields are in the ps_address table in the DBUsing version 1.2.5.0 Link to comment Share on other sites More sharing options...
brianelee Posted May 13, 2010 Share Posted May 13, 2010 They're in my ps_address table as well. Link to comment Share on other sites More sharing options...
rocky Posted May 13, 2010 Share Posted May 13, 2010 Well, I'm stumped. I've never encountered this error on any of the PrestaShop v1.2.5 websites I've ever done. Hopefully, PrestaShop v1.3 will work for you.Maybe it is your PHP version. PHP 5.2.0 is pretty old. What version are you using Brianelee? Link to comment Share on other sites More sharing options...
brianelee Posted May 14, 2010 Share Posted May 14, 2010 Hmm. Looks like I'm on PHP 5.0.4. Link to comment Share on other sites More sharing options...
rocky Posted May 14, 2010 Share Posted May 14, 2010 Perhaps upgrading to a newer version of PHP will help. I'm using PHP 5.2.10 on my website. I think PrestaShop v1.2.5 isn't compatible with PHP 5.3 and above, but PrestaShop v1.3 is compatible. Link to comment Share on other sites More sharing options...
Sultan Posted June 4, 2010 Share Posted June 4, 2010 This is my first post here... I couldn't stop myself from registration to contribute in this issue :$I got this error after editing the [/classes/Validate.php] file. for some reasons the PrestaShop stops accepting First & Last Names along with the City Name :SAll what I had to do to go over this is uploading a clean/original version of the file and everything works smoothly and fine.I attached the original file that came with version: 1.3.1.1Hope that helps you... Validate.php 1 Link to comment Share on other sites More sharing options...
geminis Posted February 2, 2011 Share Posted February 2, 2011 I’m having the same issue with my store. Same error messages when trying to create a new account (store front), but i can create well customers from backend admin system. Waiting for ideas. Regards. Link to comment Share on other sites More sharing options...
Gorets Posted June 5, 2011 Share Posted June 5, 2011 When i try upgrade to 1.4.2 i have some problem.Its bug with validate - you can create accaunt only with latin symbolt (not work cyrrilic)PS. cant see it on bugtracker - search on bugtracker not work - i have error 'Error occurred while retrieving user with username 'tropicaldream'. 1 Link to comment Share on other sites More sharing options...
Vince at RockPOS.com Posted December 4, 2012 Share Posted December 4, 2012 I have the same problem with prestashop 1.5.2. And now i'm still can't fix it. Anybody can help me know why? 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