Jump to content

[SOLVED] Invalid Token when adding addresses in My Account


Recommended Posts

Hi, I am new to all this, and am finding it really good to use. But I have now come to validate parts and when adding an address in the My Account section of the front end, I get an 'Invalid Token' error and not a lot else of information!

 

I don't know if it is to do with my Country settings and address format so have attached an image if that helps.

post-447093-0-20916200-1355589735_thumb.png

Edited by nick_wilkes (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

Just stumbled on this issue on 1.5.3.1 and here's the fix:

 

open address.tpl and find

<input type="hidden" name="token" value="{$token}" />

Move it under

{if $field_name eq 'address1'}
<p class="required text">

 

Save and you're done. I'm not showing Company field and this appeared recently after some modifications to address forms, but don't know when.

  • Like 5
  • Thanks 1
Link to comment
Share on other sites

Just stumbled on this issue on 1.5.3.1 and here's the fix:

 

open address.tpl and find

<input type="hidden" name="token" value="{$token}" />

Move it under

{if $field_name eq 'address1'}
<p class="required text">

 

Save and you're done. I'm not showing Company field and this appeared recently after some modifications to address forms, but don't know when.

 

Thanks a lot for response :) It works great, but sometimes returns server error, don't get why )

Link to comment
Share on other sites

  • 2 months later...

Just stumbled on this issue on 1.5.3.1 and here's the fix:

 

open address.tpl and find

<input type="hidden" name="token" value="{$token}" />

Move it under

{if $field_name eq 'address1'}
<p class="required text">

 

Save and you're done. I'm not showing Company field and this appeared recently after some modifications to address forms, but don't know when.

 

Thanks! Saved my day twice!!! B)

  • Like 1
Link to comment
Share on other sites

  • 3 months later...

It's a joke, i'm so mad right now, the.rampage.rado you saved my day, but i'm so mad about prestashop i'm using prestashop 1.5.4.1 and still this problem, how can it be? , the funny thing is that i didn't have <inputtype="hidden"name="token"value="{$token}"/> in my address.tpl file, i had to put this line in the file.

 

Really? , how can it be? so all ppl that download this version will have this problem because that line doesn't exist on address.tpl?

Link to comment
Share on other sites

i got this error an manage to fix it. (presta 1.5.4.1)

 

nevertheless it's a bug. it should be reported to bug tracker.

the error shows up when we disable "Company" in address format.

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
  • 4 months later...

Just stumbled on this issue on 1.5.3.1 and here's the fix:

 

open address.tpl and find

<input type="hidden" name="token" value="{$token}" />
Move it under

{if $field_name eq 'address1'}
<p class="required text">
Save and you're done. I'm not showing Company field and this appeared recently after some modifications to address forms, but don't know when.

 

Brutal great thanks to you mate. It just solved my last biggest issue. Now ready to sell :) many many thanks ......

Link to comment
Share on other sites

×
×
  • Create New...