decopati Posted April 21, 2017 Share Posted April 21, 2017 Hello, i have two prestashops running. Both version 1.6.1.12 Everything runs great - but yesterday i found a new problem! Yesterday i wanted to create a new order for one of my customers via backoffice. Orders---new order normally i can type in the name of the customer or the email etc. and it will find it this time i could't find any customer There are no carts, no order , no customers found! Looks like admin order doesnt work - i just dont know why... In frontend everythig is ok! So i tried the same function on another prestashop - here is the same! I can not create any orders in BO Would be nice if anybody could help me here... Link to comment Share on other sites More sharing options...
Daxtermania Posted May 4, 2017 Share Posted May 4, 2017 I have same problem on Prestashop 1.6.0 I visited demo of Prestashop 1.7 and not working! O_O The problem is "AJAX Synchronous" Link to comment Share on other sites More sharing options...
jetway Posted May 4, 2017 Share Posted May 4, 2017 (edited) Hi, I have found several things like you mentioned in prestashop v1.6.1.11 and higher. The best solution is to roll back those specific files to version 1.6.1.10, they all work without issue. (Decrease items is also a page that does not work in 1.6.1.11 and 1.6.1.12 so that has to be rolled back too until the file is fixed) Cheers Hello, i have two prestashops running. Both version 1.6.1.12 Everything runs great - but yesterday i found a new problem! Yesterday i wanted to create a new order for one of my customers via backoffice. Orders---new order normally i can type in the name of the customer or the email etc. and it will find it this time i could't find any customer There are no carts, no order , no customers found! Looks like admin order doesnt work - i just dont know why... In frontend everythig is ok! So i tried the same function on another prestashop - here is the same! I can not create any orders in BO Would be nice if anybody could help me here... Edited May 4, 2017 by jetway (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted May 4, 2017 Share Posted May 4, 2017 I just tried with 1.6.1.13 and 1.7.1.1, both seems working fine. You may try to use browser debugger tool to see if there is any error occurring. Press F12 on the page, you will see browser debugger tool start automatically and go to Console, you will errors if there is any. Link to comment Share on other sites More sharing options...
buluoluo Posted December 21, 2017 Share Posted December 21, 2017 On 2017/4/21 at 11:41 AM, decopati said: Hello, i have two prestashops running. Both version 1.6.1.12 Everything runs great - but yesterday i found a new problem! Yesterday i wanted to create a new order for one of my customers via backoffice. Orders---new order normally i can type in the name of the customer or the email etc. and it will find it this time i could't find any customer There are no carts, no order , no customers found! Looks like admin order doesnt work - i just dont know why... In frontend everythig is ok! So i tried the same function on another prestashop - here is the same! I can not create any orders in BO Would be nice if anybody could help me here... Bro. This is the Solution: I have the same problem, resolved with this solution. "Compile javascript is really a bad abitude, most of time there can be better choice. Writing dinamic js sould be done avoiding mixed js and html compilation, I don't know the prestashop architecture so all a could done was escaping strings with proper escapes in the <admin folder>/thems/<theme>/template/controllers/orders/form.tpl. " // add modifier escape:'html' for all HtmlElement attributes. // use the modifier right after the function name or it doesn't work // probable I tried at the end and it don't translate at all {l|escape:'html' s='some string' m='module'} // this don't work {l s='some string' m='module'|escape:'html'} // add modifier escape:'quotes' for all HtmlElement content // better tu use only quotes escape because the element content // can be html as well, so escape quotes is a better choise // if you want avoid html inject so you should use escape:'html' {l|escape:'html' s='some string' m='module'} Link to comment Share on other sites More sharing options...
Vbonzinho Posted October 14, 2019 Share Posted October 14, 2019 i have same problem, but only add a new customer in add new admin order. Modal for new customer give me error 500. But if i active the debug mode every thing works fine. Any one can help me? Link to comment Share on other sites More sharing options...
MJTWEB Posted October 9, 2020 Share Posted October 9, 2020 I had this happening in 1.7.6.8 as well as other issues like the customer login button not showing/hide the password. It got solved by de-installing the module "Theme customization" and "shopping cart" (not sure it was necessary for the shopping cart), purging all caches then re-installing the modules. No panic, you can re-install them by going to the "module catalog", search for "free" and they will be there. Let us know if this helps someone. 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