Jump to content

Back Office: "Order Status" can't be updated


carlosgmar

Recommended Posts

Hi, there is a possible bug in the back Office:

 

 

Scenary:

 

1.-New prestashop installation

2.-modified just only css files and installed just common modules like "mail alerts", "Google Analytics", etc

3.-Everything seems to be properly configured

 

 

I'm testing a new order management in the backoffice:

 

 When I receive a new order and I try to update the status for example to "delivered" the backoffice just do nothing.

It loads again the same web page keeping the old status. Doesn't register any changes in orders status.

 

Maybe is related that neither sends emails from the form it is in the  the same page in the back office. To the customer that created the order.

 

Any help is welcome.

 

regards 

Edited by carlosgmar (see edit history)
Link to comment
Share on other sites

I have a similar error when updating the status. I have using this for over 1 year and 

The error is not always happen. (p.s. I am using 1.6.0.14). Somethimes I can fix it by clearing cache.

 

[PrestaShopDatabaseException]
 
Duplicate entry '2109' for key 'PRIMARY'
 
 
INSERT INTO `t3e_order_history` (`id_order`, `id_order_state`, `id_employee`, `date_add`) VALUES ('155', '4', '1', '2016-04-11 14:42:17')
 
at line 646 in file classes/db/Db.php
641. WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
642. }
643. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
644. {
645. if ($sql)
646. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
647. throw new PrestaShopDatabaseException($this->getMsgError());
648. }
649. }
650. 
651. /**
DbCore->displayError - [line 340 - classes/db/Db.php] - [1 Arguments]
DbCore->query - [line 620 - classes/db/Db.php] - [1 Arguments]
DbCore->q - [line 405 - classes/db/Db.php] - [2 Arguments]
DbCore->insert - [line 486 - classes/ObjectModel.php] - [3 Arguments]
ObjectModelCore->add - [line 454 - classes/order/OrderHistory.php] - [1 Arguments]
OrderHistoryCore->add - [line 380 - classes/order/OrderHistory.php] - [1 Arguments]
OrderHistoryCore->addWithemail - [line 528 - controllers/admin/AdminOrdersController.php] - [2 Arguments]
AdminOrdersControllerCore->postProcess - [line 171 - classes/controller/Controller.php]
ControllerCore->run - [line 373 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 54 - admin/index.php]
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...