mikelucid Posted April 4, 2011 Share Posted April 4, 2011 Hi,I was testing my registration today and found out it has been impossible for anyone to register on my site for who knows how long......If you check out the registration page http://www.stretchshapes.net/authentication.php you can see that the state drop down isnt working. I have made a temporary work around by commenting these lines in authentication.php //if (intval($country->contains_states) AND !intval($address->id_state)) //$errors[] = Tools::displayError('this country require a state selection'); I really need to be able to gather the customers state info for shipping purposes. Also the state feild hids by default and is brough up whn te bounrty is slelcted by this doesnt work for me either. It seems like im missing a JS files of something but i have jquery-1.2.6.pack.js, jquery.easing.1.3.js, and statesManagement.jsAny help please? Link to comment Share on other sites More sharing options...
mikelucid Posted April 5, 2011 Author Share Posted April 5, 2011 This is because I made changes to the php fields so users could still use my site until i can figure out a solution. What is there is only a temporary fix, like i stated above. I did change the my addresses page as well.thanks for the input Link to comment Share on other sites More sharing options...
mikelucid Posted April 6, 2011 Author Share Posted April 6, 2011 any other suggestions? This is super important... Anyone know exactly what JS file is used to create the State drop down menu?? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted April 6, 2011 Share Posted April 6, 2011 remember, they must select a country before being able to select a state. Is this happening? Link to comment Share on other sites More sharing options...
mikelucid Posted April 7, 2011 Author Share Posted April 7, 2011 statesManagement.js...and, now that I just glanced at its code, I'm reminded that I wrestled a similar bitch of a problem on the opc new account form submission.I had hidden the redundant Firstname Lastname fields; this caused an error because the ajax script was only POSTing values for visible inputs.Have you similarly hidden (or omitted) any fields? I actually had changed a few things around. I am going to revert back to my original tpl and see if it solves it.. Link to comment Share on other sites More sharing options...
mikelucid Posted April 7, 2011 Author Share Posted April 7, 2011 I reverted back to my themes original tpl file and still no luck even getting the state drop down to show now... Link to comment Share on other sites More sharing options...
MrBaseball34 Posted April 7, 2011 Share Posted April 7, 2011 How do you expect us to help if your website doesn't work at all?I get "Link to database cannot be established." Link to comment Share on other sites More sharing options...
mikelucid Posted April 8, 2011 Author Share Posted April 8, 2011 How do you expect us to help if your website doesn't work at all?I get "Link to database cannot be established." Im not sure what you mean its working fine for me o_O...https://www.stretchshapes.net/authentication.php Link to comment Share on other sites More sharing options...
superprg Posted April 18, 2011 Share Posted April 18, 2011 I am facing the same problemStrange thing is I can see the state dropdown code in the html for user registration but do not see any state dropdown box at all State -* Link to comment Share on other sites More sharing options...
MrBaseball34 Posted April 19, 2011 Share Posted April 19, 2011 Are you sure that the table ps_state actually has data? Link to comment Share on other sites More sharing options...
superprg Posted April 19, 2011 Share Posted April 19, 2011 yes ps_state has the dataActually I upgraded from 1.3 to 1.4 and this started happeningThis is the website http://tinyurl.com/3tnv6vnI see that when I change the selection in the countries listbox, I do get the "too much recursion" error in FireFoxError: too much recursionSource File: http://thetshirtexchange.com/js/jquery/jquery-1.4.4.min.jsLine: 33State is enabled in BO Link to comment Share on other sites More sharing options...
mr913 Posted June 15, 2011 Share Posted June 15, 2011 I also upgraded to version 1.4.1 and had this issue. Today I upgraded to version 1.4.2 thinking maybe it would get fixed with no luck. At checkout I get an error that says: There is 1 error :This country requires a state selectionBut there is no option to select a state. I'm using instant checkout, but the problem is the same for the 5 step checkout. Any thoughts?I see what looks like a new field under Back Office -> Shipping -> Countries -> US (edit)The new looking field is called address layout and mine currently looks like this:firstname lastnamecompanyaddress1address2postcode cityState:nameState:iso_codeCountry:namephoneAnd this is what I have at checkout:E-mail *First name *Last name *Delivery addressFirst name *Last name *CompanyAddress *Zip / Postal code *City *Country *Home phone *Is this a 1.4.2 bug? A settings issue? Something with US shipping?Any advice?Thanks! Link to comment Share on other sites More sharing options...
hotwirenetworks Posted July 21, 2014 Share Posted July 21, 2014 (edited) has anyone found out how to fix this yet? I have a client that needs this fixed very badly! I can NOT select a state from the drop down menu on checkout. It worked just fine then stopped working??? Server information Server information: Linux #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 Server software version: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.17 mod_perl/2.0.6 Perl/v5.10.1 PHP version: 5.2.17 Memory limit: 256M Max execution time: 30 Database information MySQL version: 5.0.96-community MySQL engine: InnoDB Tables prefix: ps_ Store information PrestaShop version: 1.5.6.2 Shop URL: https://www.sportsworldfire.com/ Current theme in use: leoconv Edited July 21, 2014 by hotwirenetworks (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted July 22, 2014 Share Posted July 22, 2014 has anyone found out how to fix this yet? I have a client that needs this fixed very badly! I can NOT select a state from the drop down menu on checkout. It worked just fine then stopped working??? Server information Server information: Linux #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 Server software version: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.17 mod_perl/2.0.6 Perl/v5.10.1 PHP version: 5.2.17 Memory limit: 256M Max execution time: 30 Database information MySQL version: 5.0.96-community MySQL engine: InnoDB Tables prefix: ps_ Store information PrestaShop version: 1.5.6.2 Shop URL: https://www.sportsworldfire.com/ Current theme in use: leoconv tested using firefox, instant checkout had state dropdown as well as regular checkout. Normally I don't suggest this but clear cache/cookies in browser. if you are having this issue with different browser than firefox post here and I will try that browser. Link to comment Share on other sites More sharing options...
hotwirenetworks Posted July 22, 2014 Share Posted July 22, 2014 TY very much for your quick response... I worked on it until 5am and finally found a work around! Link to comment Share on other sites More sharing options...
El Patron Posted July 22, 2014 Share Posted July 22, 2014 TY very much for your quick response... I worked on it until 5am and finally found a work around! that's good news, can you share how you resolved? Link to comment Share on other sites More sharing options...
hotwirenetworks Posted July 27, 2014 Share Posted July 27, 2014 actually... after all that... all you have to do is uninstall and delete... then reinstall... that should fix it 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