Search the Community
Showing results for tags '1.5.x.x'.
-
I have a new install (1 day old) of Prestashop (ver. 1.5.6.2). Everything was working fine until today. I can't login to the BO - following error ""TECHNICAL ERROR: Details: Error thrown: [object Object] Text status: error www.kacti.com (don't know if I should display admin folder name)?? event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery-1.7.2.min.js:3 1. POST http://kacti.com/admin****/ajax-tab.php?rand=1394949517106 406 (Not Acceptable) jquery-1.7.2.min.js:4 Same error when "Forgot your password?" link used Any help or advise would be greatly appreciated. Also receiving the following massage after trying to log into the front end Not AcceptableAn appropriate representation of the requested resource /index.php could not be found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Installed using Softaculous. Thanks
- 3 replies
-
- TECHNICAL ERROR
- Error thrown
- (and 7 more)
-
To replace uppercase in the Order reference and replace with numbers (id_order as in older versions) I made this simple code override in /override/classes/order/Order.php: <?php class Order extends OrderCore { public function getUniqReference() { $query = new DbQuery(); $query->select('MIN(id_order) as min, MAX(id_order) as max'); $query->from('orders'); $query->where('id_cart = '.(int)$this->id_cart); $query->orderBy('id_order'); $order = Db::getInstance()->getRow($query); /*if ($order['min'] == $order['max']) return $this->reference; else return $this->reference.'#'.($this->id + 1 - $order['min']);*/ return sprintf('%06d', $this->id); } public static function getUniqReferenceOf($id_order) { $order = new Order($id_order); return $order->getUniqReference(); } } To return to the original letters designation, you must remove comment from 'if' and add comment to //return sprintf('%06d', $this->id); .
- 53 replies
-
- 2
-
-
- order reference
- uppercase
- (and 4 more)