Email confirmation error message too soon

  • Posts: 250
  • Thank you received: 7
9 years 5 months ago #205859

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- Error-message(debug-mod must be tuned on) -- : The confirmation email differs from the email your entered. Please enter it again

Hi,

Whenever I access the Hikashop registration page my browser tries to fill in the password field and I immediately get the error message "The confirmation email differs from the email your entered. Please enter it again". I can see why this is happening as there is nothing entered in the confirmation email box, but this message shouldn't appear as soon as the registration page is displayed.

This is a particular problem on checkout; if I use the identification switcher option with Login, Register or Guest the registration form throws the error as soon as checkout is displayed, even if the registration form is hidden. This will be an issue as customers who are already registered with the site and use their browser to fill in passwords will always see this error message when they get to checkout unless they have previously logged in.





How can this be avoided?

Thanks,

Ian

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #205883

Hi,

This can be avoided with the autocomplete="off" parameter added to the inputs. We've actually already done that on our end of HikaShop 2.5.0 so if you update that should solve the problem.
Otherwise, you can simply edit the file "registration"/"registration_boostrap" via the menu Display>Views in order to add that attribute to the inputs.

The following user(s) said Thank You: iedwards

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0
9 years 5 months ago #205959

nicolas wrote: Hi,

This can be avoided with the autocomplete="off" parameter added to the inputs. We've actually already done that on our end of HikaShop 2.5.0 so if you update that should solve the problem.
Otherwise, you can simply edit the file "registration"/"registration_boostrap" via the menu Display>Views in order to add that attribute to the inputs.


I have the same issue on misspelt.co.uk which I have just put live. This didn't show up during testing.

I'm not a PHP kind of guy but I have taken a look at "registration_boostrap". I was able to work out very quickly that I have no idea where to add the autocomplete="off" parameter but I gave it a good guess.

I'd really appreciate if you could provide some info to assist. I'm using 2.4 but given this site has only just gone live, there isn't the time to upgrade.

Many Thanks,

Jas...

Please Log in or Create an account to join the conversation.

  • Posts: 82910
  • Thank you received: 13379
  • MODERATOR
9 years 5 months ago #205982

Hi,

Download the 2.5.0 install package, look at the file in the package ( front/views/user/tmpl/registration.php or front/views/user/tmpl/registration_boostrap.php ) and compare the file with the one on your website (you can search for the autocomplete="off" text in the file and you should quickly find the answer).

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 7
9 years 5 months ago #206013

Hi Nicolas,

Ok, I downloaded 2.5.0 yesterday, I'll install it today.

Many thanks,

Ian

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 7
9 years 5 months ago #206073

I can confirm version 2.5.0 has fixed this problem.

Also I like the look of the new product details editor, big improvement.

Thanks,

Ian

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 7
9 years 4 months ago #207579

Well I thought this was fixed but it's back. Autocomplete is off on the fields but still getting the error message. It seems some browsers ignore autocomplete=off (I'm using Firefox), I haven't tried other browsers yet.

A different fix is needed




Ian

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 250
  • Thank you received: 7
9 years 4 months ago #207581

Using the hack suggested here ...
stackoverflow.com/questions/12374442/chr...ing-autocomplete-off

I have added ..
<input style="display:none"> <input type="password" style="display:none">
to the start of the registration form (line 11: registration_bootstrap.php)

This fools the browser into ignoring the password fields in the proper form.

It's ugly but it's got rid of the error message.

Ian

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum