PrestaShark Posted March 17, 2015 Share Posted March 17, 2015 Hi all, Im facing a real annoying problem with AJAX POST error in opc-order.js file and Main problem is known issue with TECHNICAL ERROR: unable send login informations Chrome console report POST xxxx/index.php?controller=order-opc?rand=1426623385226 500 (Internal Server Error) jquery-1.7.2.min.js:4 n.ajaxTransport.send jquery-1.7.2.min.js:4 n.extend.ajax order-opc.js:378 updateNewAccountToAddressBlock order-opc.js:511 $.ajax.success jquery-1.7.2.min.js:2 n.Callbacks.j jquery-1.7.2.min.js:2 n.Callbacks.k.fireWith jquery-1.7.2.min.js:4 x jquery-1.7.2.min.js:4 n.ajaxTransport.send.b jquery-1.7.2.min.js:4 n.ajaxTransport.send jquery-1.7.2.min.js:4 n.extend.ajaxorder-opc.js:487 (anonymous function) jquery-1.7.2.min.js:3 n.event.dispatch jquery-1.7.2.min.js:3 n.event.add.r.handle Custom made responsive theme Link to comment Share on other sites More sharing options...
vekia Posted March 17, 2015 Share Posted March 17, 2015 turn on error reporting then in console check contents of response of the AJAX query. 1 Link to comment Share on other sites More sharing options...
PrestaShark Posted March 17, 2015 Author Share Posted March 17, 2015 turn on error reporting then in console check contents of response of the AJAX query. How to make it? I think i posted this report Link to comment Share on other sites More sharing options...
PrestaShark Posted March 18, 2015 Author Share Posted March 18, 2015 (edited) Bump Vekia? Can You give me advice how to check of response of the AJAX query? URL send via PM You are my last hope Thanks Edited March 18, 2015 by PrestaShark (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted March 18, 2015 Share Posted March 18, 2015 1) ctrl+shift+j in chrome 2) open "network" tab 3) click on line with red internal sever error 4) open response tab 1 Link to comment Share on other sites More sharing options...
PrestaShark Posted March 18, 2015 Author Share Posted March 18, 2015 Unfortunately got this... Tragic Link to comment Share on other sites More sharing options...
PrestaShark Posted March 18, 2015 Author Share Posted March 18, 2015 Now im 100% sure that my template is free from this bug. I have install my custom theme to clean prestashop installation and opc works good. So no bootstrap or facebook or any other template jquery scritpt is free from bug. Now im quite sure that some kind of module cause this issue. If i found any solution i will post here Link to comment Share on other sites More sharing options...
vekia Posted March 18, 2015 Share Posted March 18, 2015 is this query with "post" status 500 ? 1 Link to comment Share on other sites More sharing options...
PrestaShark Posted March 18, 2015 Author Share Posted March 18, 2015 From Your side is 200? Yes POST status give me in one shop 500 (Internal Server Error) and on second 500 (OK) <--- 500 ok??!!! WTH? Link to comment Share on other sites More sharing options...
PrestaShark Posted March 18, 2015 Author Share Posted March 18, 2015 (edited) I have got something like this in log folder named 20150318_exception.log from today at 12:08 (now is 12:23) *ERROR* 2015/03/18 - 12:08:31: Method is not defined at line 295 in file controllers/front/OrderOpcController.php any ideas? EDIT: Got something new in response tab. No more 500 error <br /><b>Fatal error</b>: Call to undefined method BlockUserInfo::hookTop() in <b>/sklep/controllers/front/OrderOpcController.php</b> on line <b>150</b><br /> I try to fix it EDIT2 GOTCHA!BlockUserInfo::hookTop() was the hint because i have change the hook in blockuserinfo.php file and remove essential smarty array assigns from hookTop by rename this hook to my own hookUserInfo Thats makes this issue Edited March 18, 2015 by PrestaShark (see edit history) 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