Jump to content

eroare comenzi, prestashop

Recommended Posts



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?



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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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