Code: Alles auswählen
[13-Jul-2007 13:41:18] /01/cms_fgr/backend/includes/include.backendedit.php?type=CMS_IMG&typenr=1&client=1&lang=1&idcat=4&idart=350&idartlang=350&contenido=f637bfcd0db335181cd13df96a190cad&lang=1 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 '' at line 1
SELECT * FROM con_upl WHERE idclient='1' AND idupl =
[13-Jul-2007 13:41:18] /01/cms_fgr/backend/includes/include.backendedit.php?type=CMS_IMG&typenr=1&client=1&lang=1&idcat=4&idart=350&idartlang=350&contenido=f637bfcd0db335181cd13df96a190cad&lang=1 next_record called with no query pending.
icludes/include.CMS_IMG.php öffnen und folgenden Code
Code: Alles auswählen
$sql = "SELECT * FROM ".$cfg["tab"]["upl"]." WHERE idclient='".$client."' AND idupl = ".$a_content["CMS_IMG"][$typenr];
Code: Alles auswählen
$sql = "SELECT * FROM ".$cfg["tab"]["upl"]." WHERE idclient='".$client."' AND idupl = '".$a_content["CMS_IMG"][$typenr]."'";
Viel Spass,
Christian