nick_wilkes Posted December 15, 2012 Share Posted December 15, 2012 (edited) 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. Edited January 13, 2013 by nick_wilkes (see edit history) Link to comment Share on other sites More sharing options...
KamranMK Posted December 18, 2012 Share Posted December 18, 2012 I have the same issue, would be really glad if someone could help out with this Link to comment Share on other sites More sharing options...
nick_wilkes Posted December 19, 2012 Author Share Posted December 19, 2012 Any information on this would be greatly appreciated. This is currently stopping my shop going live; and PrestaShop is the third e-commerce site I have tried within the last 2 months and wouldn't want this to make it a fourth following this issue. Link to comment Share on other sites More sharing options...
the.rampage.rado Posted January 9, 2013 Share Posted January 9, 2013 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. 5 1 Link to comment Share on other sites More sharing options...
KamranMK Posted January 10, 2013 Share Posted January 10, 2013 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 More sharing options...
the.rampage.rado Posted January 10, 2013 Share Posted January 10, 2013 I'll be testing it, thanks for your response! Link to comment Share on other sites More sharing options...
nick_wilkes Posted January 10, 2013 Author Share Posted January 10, 2013 Where is "address.tpl"? I have searched all my directories and nothing found :-S Link to comment Share on other sites More sharing options...
nick_wilkes Posted January 10, 2013 Author Share Posted January 10, 2013 (edited) Found it! /Themes/ThemeName/ and /Themes/ThemeName/Mobile Edited January 10, 2013 by nick_wilkes (see edit history) Link to comment Share on other sites More sharing options...
nick_wilkes Posted January 10, 2013 Author Share Posted January 10, 2013 Would appear I too am not showing company field, but I still get the error. Link to comment Share on other sites More sharing options...
the.rampage.rado Posted January 11, 2013 Share Posted January 11, 2013 (edited) Did you make the modification I quoted above? ----- About the probable server error -I'm not experiencing such for now Edited January 11, 2013 by the.rampage.rado (see edit history) Link to comment Share on other sites More sharing options...
KamranMK Posted January 11, 2013 Share Posted January 11, 2013 Did you make the modification I quoted above? ----- About the probable server error -I'm not experiencing such for now Yes I did thanks a lot for the fix, i think the thread can be marked as solved Link to comment Share on other sites More sharing options...
nick_wilkes Posted January 13, 2013 Author Share Posted January 13, 2013 Did you make the modification I quoted above? ----- About the probable server error -I'm not experiencing such for now Apologies, I did but it got overwritten. Problem solved. Thanks for your help. 1 Link to comment Share on other sites More sharing options...
kamiliok Posted April 11, 2013 Share Posted April 11, 2013 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!!! 1 Link to comment Share on other sites More sharing options...
the.rampage.rado Posted April 11, 2013 Share Posted April 11, 2013 (edited) Yes but it's not working now on 1.5.4 . Those fields are missing :| EDIT: my bad - my software is buggy .. Didn't find it the first time.. It's working perfectly now Edited April 11, 2013 by the.rampage.rado (see edit history) Link to comment Share on other sites More sharing options...
nick_wilkes Posted April 11, 2013 Author Share Posted April 11, 2013 Are we going to have to do this every time there is a new release? Link to comment Share on other sites More sharing options...
the.rampage.rado Posted April 11, 2013 Share Posted April 11, 2013 If you update... Link to comment Share on other sites More sharing options...
nick_wilkes Posted April 12, 2013 Author Share Posted April 12, 2013 Well that's a great approach to software; if only Microsoft had taken that approach with their updates they'd probably have 0 customers! Link to comment Share on other sites More sharing options...
demonpro Posted July 24, 2013 Share Posted July 24, 2013 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 More sharing options...
itx Posted July 24, 2013 Share Posted July 24, 2013 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 More sharing options...
nninternet Posted September 26, 2013 Share Posted September 26, 2013 it's work. Link to comment Share on other sites More sharing options...
shento Posted November 8, 2013 Share Posted November 8, 2013 Great Done ! thanks man Link to comment Share on other sites More sharing options...
fischerko Posted April 8, 2014 Share Posted April 8, 2014 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 More sharing options...
Recommended Posts