veganline Posted August 13, 2017 Share Posted August 13, 2017 My prestashop 1.6 shows- an error message " Zip/postal code not found "- a shopping cart address form, with no box for the Zip/postal code- a backoffice > localisation > countries > UK file with the post code enabledScreenshots are below and on https://postimg.org/gallery/39c0zbhx2/ . Configuration stuff is belowI have looked on other threads and tried disabling all caches, and changing from a single-page shopping cart form to a multi-page one.It may be relevant that the UK has no single postcode format such as so-many numbers or so-many letters, so the default settings leave the formatting option blank. Does anybody know a work-around?Thanks in advanceJohnOh apprently I can post images here - I'll do that as well----------------------------------------------------------------------------------------------------------------------- CONFIGURATION INFORMATION This information must be provided when you report an issue on our bug tracker or forum. SERVER INFORMATION Server information Linux #1 SMP Thu Mar 9 05:49:24 EST 2017 x86_64 Server software version Apache PHP version 5.6.31 Memory limit 128M Max execution time 30 DATABASE INFORMATION MySQL version 10.0.32-MariaDB MySQL server localhost MySQL name MySQL user Tables prefix ps_ MySQL engine InnoDB MySQL driver DbPDO STORE INFORMATION PrestaShop version 1.6.1.13 Shop URL http://veganline.com/x/ Current theme in use default-bootstrap MAIL CONFIGURATION Mail method You are using the PHP mail() function. YOUR INFORMATION Your web browser Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 CHECK YOUR CONFIGURATION Required parameters OK Optional parameters OK LIST OF CHANGED FILES Changed/missing files have been detected. updated files (1) controllers/front/AuthController.php Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 14, 2017 Share Posted August 14, 2017 For UK Postal code when editing country, try leaving it blank. That works on my 1.6 shop. Link to comment Share on other sites More sharing options...
johnrobertson Posted August 14, 2017 Share Posted August 14, 2017 Thanks for spotting that! I left a "0" in the screenshot by mistake.The result turns-out the same either way.I have spent a couple of days on this and tried blocking-out all the lines about "postcode" on a file called "validate.js" which might have helped a bit.I have seen a reference to updating the default bootstrap theme and will try that.It's hard to keep track until something works, but any more help is welcome and if I find the answer I will post it here 1 Link to comment Share on other sites More sharing options...
johnrobertson Posted August 19, 2017 Share Posted August 19, 2017 (edited) I have had another look at other threads. Nobody has a single clear solution I'M WORKING ON THIS ONEhttps://www.prestashop.com/forums/topic/478548-zippostcode-validation-error/RELEVANT THREADShttps://www.prestashop.com/forums/topic/464871-uk-postcode-issues/?hl=%2Bzip+%2Bincorrect- I went to verify/js in the javascript folder on my server and put a hash sign before every line about postcodes. No great change except that my postal zones now work!- post#4 suggests removing validation from the default theme, but I am on default bootstrap which has different looking files and I don't know if a change of theme would make things worse overallhttp://www.inmotionhosting.com/support/community-support/prestashop-15/zippostal-code-problems-in-prestashop- similar idea: update the default-boostrap theme. The error here: "puts a red X next to the Zip Code", while mine is the zip/postcode box not appearing at all on the form.LESS RELEVANT.https://www.prestashop.com/forums/topic/534725-uk-postcodes-for-prestashop-v1614/- no solution; slightly different symptoms for different versionshttps://www.prestashop.com/forums/topic/343809-urgent-zip-code-field-missing/- missing form field in Holland. Blamed on lack of cache?https://www.prestashop.com/forums/topic/99240-invalid-postcode-error/- lots of detail about version 1.4, working through later versions- leaving the format field blank was fine for some customers Edited August 19, 2017 by johnrobertson (see edit history) Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted August 19, 2017 Share Posted August 19, 2017 to be honest, when you mentioned you had made code changes I wandered off. If I was you, I'd replace whatever files you updated with clean non-modified code. If this is a production shop then you may want to consider posting in job section as I'm sure any number of dev can solve this when given access in short order. 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