Ich habe das: No-Clan-Ilch-CMS 1.0 am Laufen
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 14 in Query: SELECT a.news_title as title, a.news_text, a.news_kat, a.news_recht, a.html, DATE_FORMAT(a.news_time,'%d. %m. %Y - %H:%i Uhr') as datum, DATE_FORMAT(a.news_time,'%W') as dayofweek, b.name as username, c.name as editorname, a.html, a.edit_time, a.klicks, b.id as uid FROM ic1_news a LEFT JOIN ic1_user as b ON a.user_id = b.id LEFT JOIN ic1_user as c ON a.editor_id = c.id WHERE a.news_id = 0 AND a.`show` > 0 AND a.`show` <= UNIX_TIMESTAMP() AND (a.endtime IS NULL OR a.endtime > UNIX_TIMESTAMP()) AND (((512 | a.news_recht) = a.news_recht) OR ) Debug backtrace: @ mysql.php:46 -- debug_bt() @ mysql.php:64 -- db_check_error(...) @ news.php:136 -- db_query(...) @ news.php:13 -- require_once(...) @ index.php:31 -- require_once(...) Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\include\includes\func\db\mysql.php on line 85 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 `show` > 0 AND `show` <= UNIX_TIMESTAMP() AND news_id != 0 AND archiv != ' at line 1 in Query: SELECT COUNT(*) FROM ic1_news WHERE (((512 | news_recht) = news_recht) OR ) AND `show` > 0 AND `show` <= UNIX_TIMESTAMP() AND news_id != 0 AND archiv != 1 AND (endtime IS NULL OR endtime > UNIX_TIMESTAMP()) Debug backtrace: @ mysql.php:46 -- debug_bt() @ mysql.php:64 -- db_check_error(...) @ mysql.php:115 -- db_query(...) @ news.php:197 -- db_make_sites(...) @ news.php:13 -- require_once(...) @ index.php:31 -- require_once(...) Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\include\includes\func\db\mysql.php on line 68 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 a.`show` > 0 AND a.`show` <= UNIX_TIMESTAMP() AND news_id != 0 AND a.`' at line 17 in Query: SELECT a.news_title as title, a.news_id as id, DATE_FORMAT(a.news_time,'%d. %m. %Y - %H:%i Uhr') as datum, DATE_FORMAT(a.news_time,'%W') as dayofweek, a.news_kat as kate, a.news_text as text, b.name as username, c.name as editorname, a.html, a.edit_time, a.klicks, b.id as uid FROM ic1_news as a LEFT JOIN ic1_user as b ON a.user_id = b.id LEFT JOIN ic1_user as c ON a.editor_id = c.id WHERE (((512 | a.news_recht) = a.news_recht) OR ) AND a.`show` > 0 AND a.`show` <= UNIX_TIMESTAMP() AND news_id != 0 AND a.`archiv` != 1 AND (a.endtime IS NULL OR a.endtime > UNIX_TIMESTAMP()) ORDER BY a.news_time DESC LIMIT 0,5 Debug backtrace: @ mysql.php:46 -- debug_bt() @ mysql.php:64 -- db_check_error(...) @ news.php:224 -- db_query(...) @ news.php:13 -- require_once(...) @ index.php:31 -- require_once(...) Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\include\includes\func\db\mysql.php on line 85 Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\include\includes\func\db\mysql.php on line 72
verwendete ilchClan Version: 1.1 P