machiga Posted March 4, 2006 Share Posted March 4, 2006 Hello everybody, How are you :) ? Yesterday I have installed OSC (2.2 MS2 (051113)) via Fantatisco. When I am trying to register as account customer I have this following message error : Your First Name must contain a minimum of 2 characters. Is it strange because I swear my First Name is more than 2 characters, I tried 0 - 1 - 2 - 3 - 4 and more characters, I still have the same error messages. Well since yesterday I searched on the forum and found 0 solutions about my problem :( Here the PHP code on create_account.php if (strlen($firstname) < ENTRY_FIRST_NAME_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_FIRST_NAME_ERROR); } What can I do to resolve that ? Thank you and have a nice day :) ++ machiga Link to comment Share on other sites More sharing options...
♥Vger Posted March 4, 2006 Share Posted March 4, 2006 osCommerce admin panel --> Configuration --> Minimum Values --> First Name Vger Link to comment Share on other sites More sharing options...
machiga Posted March 4, 2006 Author Share Posted March 4, 2006 Hello, thanks for the reply. It will change nothing, I have changed to 4 and still have the error. I try to explain my problem again. After I fill the form for a new customer account, I have the following error message Your First Name must contain a minimum of 2 characters. And it is not normal for me to have this message error because at "first name" line I tried a lot of combinaison of First Name (with 0, 1 ,2 and more characters). For Instance, First Name : machiga , doesn't work and gave me the following error message Your First Name must contain a minimum of 2 characters. I hope someone can help me to figure out... I really don't know what to do. Thanks ++ machiga Link to comment Share on other sites More sharing options...
wheeloftime Posted March 5, 2006 Share Posted March 5, 2006 Hello, thanks for the reply.It will change nothing, I have changed to 4 and still have the error. I try to explain my problem again. After I fill the form for a new customer account, I have the following error message And it is not normal for me to have this message error because at "first name" line I tried a lot of combinaison of First Name (with 0, 1 ,2 and more characters). For Instance, First Name : machiga , doesn't work and gave me the following error message I hope someone can help me to figure out... I really don't know what to do. Thanks ++ machiga Can you give us a link to look at ?! Link to comment Share on other sites More sharing options...
machiga Posted March 5, 2006 Author Share Posted March 5, 2006 Ok I found the problem. It was on create_account.php... I accidentally changed the input firstname form. Now all is ok, I just changed it to default. It was on that line : echo tep_draw_input_field('firstname') Best Regards and thank you :) ++ machiga Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.