2010/09/05 01:04:29 From Script: fr/s06_catalogue/s06p02_lst_promos.php
QUERY_STRING: /fr/s06_catalogue/s06p02_lst_promos.php?type_produit=12
PARAMETRE DU SCRIPT:array (
'type_produit' => '12',
'PHPSESSID' => 'c295ad5fe71dd47f207f06f4dfecbca2',
)
PHP Error: 256 Type:User Error
Error Message: Database error
Invalid SQL: select cp.id,cp.name from categorie_produit as cp inner join ligne_promotion as lp on cp.id = lp.id_categorie_produit where cp.id in (select id_categorie_produit from ligne_promotion where id_promotion = ) and cp.parent_id=0 GROUP by cp.id order by cp.disp_order
MySQL Error: 1064 (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 cp.parent_id=0 GROUP by cp.id order by cp.disp_order' at line 1)
In: /var/www/html/sites/www.berjac.fr/html/ml/lib/my_db_sql.inc
Line: 283
Client Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Referer: no refere
User courant : -1
***** Back Trace *****
[0] in function My_Db_Sql->haltmsg in /var/www/html/sites/www.berjac.fr/html/ml/lib/db/db_mysql.inc on line 417
[1] in function DB_Sql->halt in /var/www/html/sites/www.berjac.fr/html/ml/lib/db/db_mysql.inc on line 161
[2] in function DB_Sql->query in /var/www/html/sites/www.berjac.fr/html/ml/lib/gest_form.inc on line 145
[3] in function Query2html_option in /var/www/html/sites/www.berjac.fr/html/ml/s06_catalogue/s06p02_lst_promos.php on line 62
[4] in function disp_s01p01 in /var/www/html/sites/www.berjac.fr/html/ml/s06_catalogue/s06p02_lst_promos.php on line 28
[5] in function s01p01 in /var/www/html/sites/www.berjac.fr/html/ml/s06_catalogue/s06p02_lst_promos.php on line 18
[6] in function include in /var/www/html/sites/www.berjac.fr/html/index.php on line 65