Captain Weak Beard Posted August 25, 2017 Share Posted August 25, 2017 Hi, Everything has been fine until last night, a customer contacted me to say he cannot add his address to his account ... because there is no Post Code field, so the page was giving him an error because in the United Kingdom it is required. Any ideas why this would have stopped working? And how can I fix it ASAP as customers cannot place orders ... Link to comment Share on other sites More sharing options...
Captain Weak Beard Posted August 25, 2017 Author Share Posted August 25, 2017 Just looking and the option is there in the BO if I wanted to manually add the Post Code: Link to comment Share on other sites More sharing options...
Captain Weak Beard Posted August 30, 2017 Author Share Posted August 30, 2017 Performance > Advanced Parameters > Smart cache for JavaScript "No" fixed this for me. I don't know why it just decided to stop working??? Link to comment Share on other sites More sharing options...
orion246 Posted August 30, 2017 Share Posted August 30, 2017 (edited) Performance > Advanced Parameters > Smart cache for JavaScript "No" fixed this for me. I don't know why it just decided to stop working??? On our site javascript stopped working on august 27th. I got an email from a costumer that the paypal link didn't work. after a few hours disabling every module and option one by one I disabled the smart cache for javascript and everything worked again. Edited August 30, 2017 by orion246 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted August 31, 2017 Share Posted August 31, 2017 you have probably added a module or customization that included javascript that does not work well with JS compression or moving to the bottom. It's best to allow JS compression, so I would suggest investigating that further Link to comment Share on other sites More sharing options...
Captain Weak Beard Posted September 1, 2017 Author Share Posted September 1, 2017 @orion246 how odd, I went through similar steps until I disabled smart cache for java as recommended in a different post, then I re-enabled the modules and all is fine again. I don't understand why it just happened when smart cache for Java has always been enabled! And why only the Post Code field? @bellini13 probably not, as I haven't made any changes recently or installed any modules. Link to comment Share on other sites More sharing options...
bellini13 Posted September 1, 2017 Share Posted September 1, 2017 yet, here we are discussing why your site does not work when you enable javascript compression... Link to comment Share on other sites More sharing options...
Captain Weak Beard Posted September 1, 2017 Author Share Posted September 1, 2017 The post code field now disappears when Smart Cache for Java is enabled Link to comment Share on other sites More sharing options...
bellini13 Posted September 2, 2017 Share Posted September 2, 2017 as i said, you have "something" that is not compatible with compression of javascript option. look at your browsers javascript console for errors. Link to comment Share on other sites More sharing options...
Captain Weak Beard Posted September 2, 2017 Author Share Posted September 2, 2017 (edited) This is what I have with Smart cache for JavaScript enabled: element.style { } v_40_c422bc3d42…4243_all.css:2 #address .form-group, #identity .form-group, #account-creation_form .form-group, #new_account_form .form-group, #opc_account_form .form-group, #authentication .form-group { margin-bottom: 4px; } v_40_c422bc3d42…4243_all.css:2 .form-group { margin-bottom: 15px; } v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } v_40_c422bc3d42…4243_all.css:2 *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } user agent stylesheet div { display: block; } Inherited from form#add_address.std v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from div.box v_40_c422bc3d42…4243_all.css:2 #address .box, #identity .box, #account-creation_form .box, #new_account_form .box, #opc_account_form .box, #authentication .box { padding-bottom: 20px; line-height: 20px; } v_40_c422bc3d42…4243_all.css:2 .box { background: #fbfbfb; border: 1px solid #d6d4d4; padding: 14px 18px 13px; margin: 0 0 30px 0; line-height: 23px; } v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from div#center_column.center_column.col-xs-12.col-sm-12 v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from div.row v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from div#columns.container v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from div.columns-container v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from div#page v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from body#address.address.hide-left-column.hide-right-column.lang_en v_40_c422bc3d42…4243_all.css:2 body { min-width: 320px; height: 100%; line-height: 18px; font-size: 13px; color: #777; } v_40_c422bc3d42…4243_all.css:2 body { font-family: Arial,Helvetica,sans-serif; font-size: 13px; line-height: 1.42857; color: #777777; background-color: #fff; } v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Inherited from html.gr__xxx_co_uk v_40_c422bc3d42…4243_all.css:2 html { font-size: 62.5%; -webkit-tap-highlight-color: transparent; } v_40_c422bc3d42…4243_all.css:2 html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } v_40_c422bc3d42…4243_all.css:2 html { line-height: 1; } v_40_c422bc3d42…4243_all.css:2 html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; font-size: 100%; vertical-align: baseline; } Pseudo ::before element v_40_c422bc3d42…4243_all.css:2 *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } Pseudo ::after element v_40_c422bc3d42…4243_all.css:2 *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } margin‒ ‒border‒ ‒padding‒ ‒682 × 52‒ ‒‒ ‒‒ 4 Console What's New top Filter Default levels 4 items hidden by filters v_41_212152f….js:905 Uncaught SyntaxError: Unexpected token ) address?back=order-opc.php%3Fstep%3D1&live_configurator_token=5a2a04f71da53…7f27015a1b9e9360&id_shop=1&id_employee=1&theme=theme6&theme_font=font4:146 Uncaught ReferenceError: $ is not defined at address?back=order-opc.php%3Fstep%3D1&live_configurator_token=5a2a04f71da53…7f27015a1b9e9360&id_shop=1&id_employee=1&theme=theme6&theme_font=font4:146 address?back=order-opc.php%3Fstep%3D1&live_configurator_token=5a2a04f71da53…7f27015a1b9e9360&id_shop=1&id_employee=1&theme=theme6&theme_font=font4:109 Uncaught ReferenceError: $ is not defined at HTMLDocument.<anonymous> (address?back=order-opc.php%3Fstep%3D1&live_configurator_token=5a2a04f71da53…7f27015a1b9e9360&id_shop=1&id_employee=1&theme=theme6&theme_font=font4:109) Edited September 2, 2017 by Captain Weak Beard (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted September 3, 2017 Share Posted September 3, 2017 great, now you need to locate which one of your javascript files is causing the problem. disable javascript compression and see if there are any errors in the console, that may help to narrow it down. Link to comment Share on other sites More sharing options...
Captain Weak Beard Posted September 23, 2017 Author Share Posted September 23, 2017 Just to follow up on this, I think that the issue was a browser update which then caused the module "Browser tab notification" to give a JS error. An update for the module became available soon after, however I had to uninastall and re-install the module to resolve the issue completely. All ok again for now... 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