Jump to content
Cipo

eroare comenzi, prestashop 1.6.1.4

Recommended Posts

Salutare,

 

Am o problema grava. Se poeteaza comanda noua, apara in backoffice, dar nu apar produsele din respecteviva comanda. Tabela ps_order_detail este goala.

s-a mai intalnit cineva cu problema asta?

 

multumesc

Share this post


Link to post
Share on other sites

aceasta cred ca este de la wishlist, dar nu cred ca are legatura un lipsa insertului in ps_order_detail

 

Unknown column 'w.default' in 'field list'
SELECT w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`, w.`default`
            FROM `ps_wishlist` w
            WHERE `id_customer` = 2
            AND id_shop = 1
            ORDER BY w.`name` ASC

 

Cealalta eroare:

at line 791 in file classes/db/Db.php

786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
 
Asta chiar nu o inteleg....

Share this post


Link to post
Share on other sites

la prima vedere nu are legatura. Poti incerca urmatoarele scenarii:

1. plasezi comanda si vezi daca ai o eroare diferita de ce ai acum

2. incearca un upgrade la versiune, daca nici ast anu iti rezolva problema poti sa revii la vers de acum

Share this post


Link to post
Share on other sites

Cu '_PS_MODE_DEV_', true nu mai ies din ecranul de debug de mai sus. Am incercat cu '_PS_MODE_DEV_', false) si define('_PS_DEBUG_SQL_', true);} , dar primesc error 500

Share this post


Link to post
Share on other sites

OK. multumesc.

incerc si upgrade de versiune.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More