PF22 Posted October 2, 2017 Share Posted October 2, 2017 Hi there. I am trying to install HTTPS on my website and when I try to click Order button I got this error. order-opc.js:42 Uncaught ReferenceError: guestCheckoutEnabled is not defined at HTMLDocument.<anonymous> (order-opc.js:42) at j (jquery-1.11.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2) at Function.ready (jquery-1.11.0.min.js:2) at HTMLDocument.K (jquery-1.11.0.min.js:2) I must admit I am a bit lost. thanks for any help ! Link to comment Share on other sites More sharing options...
Scully Posted October 2, 2017 Share Posted October 2, 2017 Unfortunately you have not stated your prestashop version. What exactely means installing HTTPS? Just enabling the respective buttons in the prestashop backend? I have serious doubts the error is related to enabling SSL. Link to comment Share on other sites More sharing options...
PF22 Posted October 3, 2017 Author Share Posted October 3, 2017 (edited) Sorry Scully, indeed I meant enabling SSL, but indeed may be there is no link with that. Actually I have several "ReferenceError" ... For exemple ReferenceError: baseUri is not defined Edited October 3, 2017 by Pat_07 (see edit history) Link to comment Share on other sites More sharing options...
PF22 Posted October 3, 2017 Author Share Posted October 3, 2017 Actually on Performances page if I enable Move JavaScript to the end, I have no more JS errors... Link to comment Share on other sites More sharing options...
Scully Posted October 3, 2017 Share Posted October 3, 2017 (edited) I enable Move JavaScript to the end, I have no more JS errors... Common issue. But usually you cannot just put everything to the end. In case of errors i'd turn this option off. Edited October 3, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
PF22 Posted October 3, 2017 Author Share Posted October 3, 2017 thanks Scully, it is a bit weird, but it works for me... 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