uvip Posted May 17, 2014 Share Posted May 17, 2014 We got customers who encounter this error: alias is too long. (Maximum length: 32) but does not know how to fix it. Could anyone know how to edit this error message since customer does not understand this at all! This is a obvious bug! Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted May 17, 2014 Share Posted May 17, 2014 It seems like the default alias name for the customer address is excessively long. DId you change the default one? what is it supposed to be? Also, prestashop version? Link to comment Share on other sites More sharing options...
uvip Posted May 17, 2014 Author Share Posted May 17, 2014 It seems like the default alias name for the customer address is excessively long. DId you change the default one? what is it supposed to be? Also, prestashop version? I am using 1.473, I think the error message: alias is too long. (Maximum length: 32) should be changed to name of the address should be less than 32 characters so that clients will get to know what is the error for. Or they do not know what is alias. Please let me know how to edit this error message. Thanks Link to comment Share on other sites More sharing options...
graficalicus Posted September 12, 2014 Share Posted September 12, 2014 (edited) this has been a problem on my site for a long time, even after updates, and especially with Guest Checkout where there is no place for the customer to edit or change alias. I edited this way: go into your phpmyadmin, locate ps_address and change the length of the alias column to something longer than the default 32 (I made mine 232) open classes\Address.php and locate 'alias' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32), change the 'size' value to match what you entered in the alias column length previously 'alias' => array('type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 232), so far no issues. Of course, each time I upgrade PS, I'll have to repeat this edit, so start a notepad of upgrade notes to yourself so you remember Edited September 12, 2014 by graficalicus (see edit history) 2 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