Dolke Posted October 15, 2013 Share Posted October 15, 2013 (edited) Hi, One of my customers reported that he cannot make new account on my website due to submit button not working on this page: http://dekom.co.rs/prijava-lozinkm-na-sajt?back=my-accountHe enters email address but button is not reacting when he click on it. I tried my self from FireFox, IE and Chrome but it is not working indeed. The other form (when some one is purchasing a product) is working but not on this page. Any suggestions how to fix the issue? ThanksDean Edited October 15, 2013 by Dolke (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 hello you've got some issue with autocomplete now, it's a part of search module. can you for test purposes disable CCC for js files? Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 Hi Vekia, I disabled it. Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 Vekia I wouldn't bother you if this wasn't emergency. Any suggestions? Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 hello it's really weird, problem is with autocomplete part of search block module i suppose that this causing error with not working register button. can you temporary disable instant search option? 1 Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 Instant search is disabled. I'm using regular search mode. Link to comment Share on other sites More sharing options...
El Patron Posted October 15, 2013 Share Posted October 15, 2013 looks to me anyway like the type="button" should be type="submit" http://screencast.com/t/jpI1dRlqS9aL using ff and firebug, when I change to type="submit" it works. hope that helps somewhat 1 Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 El Patron, Thanks for the input. What file contains that line? Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 El Patron has got right! defintiely, you can change it in authentication.tpl file 1 Link to comment Share on other sites More sharing options...
El Patron Posted October 15, 2013 Share Posted October 15, 2013 _PS_THEME_DIR_.'authentication.tpl <form action="{$link->getPageLink('authentication', true)|escape:'html'}" method="post" id="create-account_form" class="std"> <fieldset> <h3>{l s='Create an account'}</h3> <div class="form_content clearfix"> <p class="title_block">{l s='Please enter your email address to create an account.'}</p> <div class="error" id="create_account_error" style="display:none"></div> <p class="text"> <label for="email_create">{l s='Email address'}</label> <span><input type="text" id="email_create" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|stripslashes}{/if}" class="account_input" /></span> </p> <p class="submit"> {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" />{/if} <input type="submit" id="SubmitCreate" name="SubmitCreate" class="button_large" value="{l s='Create an account'}" /> <input type="hidden" class="hidden" name="SubmitCreate" value="{l s='Create an account'}" /> </p> </div> </fieldset> </form> 1 Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 It is fixed. Great, thank you guys.Is this issue related to me or it is universal? Link to comment Share on other sites More sharing options...
El Patron Posted October 15, 2013 Share Posted October 15, 2013 It is fixed. Great, thank you guys. Is this issue related to me or it is universal? I would think it's related to that theme...I mark this as solved...happy selling Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 Thank you. U 2 ElThank you Milosz too Link to comment Share on other sites More sharing options...
vekia Posted October 15, 2013 Share Posted October 15, 2013 but the weirdest thing is fact that before everything works well... even if there was type="button" Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 It is isn't it... Well my specialty is to find all kind of weird behavior in PS . It is possible that this become an issue after newest browser updates... I know both FF and Chrome had update just recently. Link to comment Share on other sites More sharing options...
El Patron Posted October 15, 2013 Share Posted October 15, 2013 It is isn't it... Well my specialty is to find all kind of weird behavior in PS . It is possible that this become an issue after newest browser updates... I know both FF and Chrome had update just recently. that's not it....it's not browser specific... (unless the file was updated after theme install) this is a specific theme problem. Link to comment Share on other sites More sharing options...
Dolke Posted October 15, 2013 Author Share Posted October 15, 2013 But Its totally mysterious how this worked before? Link to comment Share on other sites More sharing options...
emosolo Posted February 9, 2014 Share Posted February 9, 2014 Disabling CCC for Java rectified the issue for me. The alternative is restarting the Apache server. After service httpd restart, everything works ok for a while... then auto search and clicking on create an account button fails randomly. There are no errors in my apache logs. Running theme THRg000 and presta 1.5.6.2 Change the buttom type to submit helps the create account buttom, however does rectify the auto search problem. Any comments would be great... Thanks in advance. Link to comment Share on other sites More sharing options...
Dolke Posted February 11, 2014 Author Share Posted February 11, 2014 Thanks for shearing but this method of restarting the Apache server works only on VPS and dedicated hosing and not for the people whos Prestashop websites are on the shared hosting.Nevertheless thank you for your feedback.Cheers Link to comment Share on other sites More sharing options...
emosolo Posted February 11, 2014 Share Posted February 11, 2014 Restarting Apache is definitely not the answer, but also alleviated the problem. I mentioned this because it could be server related. In the mean time... i have increased my server APC cache from 64mb to 128MB and also defined a ttl of 60. So far so good. Have re-enabled CCC, still no problem. Keeping an eye out though... Link to comment Share on other sites More sharing options...
Dolke Posted February 11, 2014 Author Share Posted February 11, 2014 I didn't even know this bug or whatever it is...is still present in the 1.5.6.2I'm using 1.5.4.1 Link to comment Share on other sites More sharing options...
tomasiroky Posted September 2, 2016 Share Posted September 2, 2016 Hi all, I've got the same problem with Registration button, but type=submit is there. I really can't find where the problem is. Can you help me anybody please? (http://kulinar.cz/eshop/autentifikace?back=my-account) ...the button is "registrovat" thanks Tomas Link to comment Share on other sites More sharing options...
Recommended Posts