Jump to content

J'ai un message d'erreur [PrestaShopDatabaseException] Aidez-moi, s'il vous plaît..


Recommended Posts

bonjour, alors j'ai un message d'erreur quand je clique sur

statistiques > Visiteur en ligne

la boom une page avec des erreur voila le message

 

[PrestaShopDatabaseException]

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1549744249,1123635480,1123631628,1123638533,1123638535,2637637594,2919005261,291' at line 7

 

SELECT u.id_customer, u.firstname, u.lastname, "-" as page

                    FROM `P16_connections` c
                    INNER JOIN `P16_guest` g ON c.id_guest = g.id_guest
                    INNER JOIN `P16_customer` u ON u.id_customer = g.id_customer
                    WHERE TIME_TO_SEC(TIMEDIFF('2017-09-04 15:46:00', c.`date_add`)) < 900
                         AND c.id_shop IN (1)
                    AND c.ip_address NOT IN (,1549744249,1123635480,1123631628,1123638533,1123638535,2637637594,2919005261,2919005252,1121754291,2919005261,2919005252,1549744249,1123635482,1123636108,2965029173,1549744249,875578721,1123632665,520974662,520974670,520974657,520974686,1123638531,1123635484,1549744249,3002003231,1123638284)
                    GROUP BY u.id_customer
                    ORDER BY u.firstname, u.lastname

 

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

 

Voila moi je ne comprend rien Aidez-moi, s'il vous plaît.. merci d'avance

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