Jump to content
  • 0

Błędy prestashop? Czym to może być spowodowane?


Ortez

Question

 

 

 

[PrestaShopDatabaseException]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cs.`id_shop` = 1' at line 3

 

        SELECT cs.* FROM `ps_wtsoldproducts` c

 

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

 

 

739. if ($webservice_call && $errno) {

740. $dbg = debug_backtrace();

741. WebserviceRequest::getInstance()->setError(500, '

 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);

742. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {

743. if ($sql) {

744. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');

745. }

746.

747. throw new PrestaShopDatabaseException($this->getMsgError());

748. }

749. }

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

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