Jump to content

Admin order does not work - Can not create any order in Backend


decopati

Recommended Posts

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...

 

 

 

post-1392030-0-37197600-1492767706_thumb.jpg

Link to comment
Share on other sites

  • 2 weeks later...

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 by jetway (see edit history)
Link to comment
Share on other sites

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

  • 7 months later...
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...

 

 

 

post-1392030-0-37197600-1492767706_thumb.jpg

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

  • 1 year later...
  • 11 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...