Debug code:

ERROR mod_news->sql_query (UPDATE `news_items_archive` SET `stats_readed`=1 WHERE `nid`=)

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

ERROR mod_news->sql_query (SELECT * FROM `news_redactors` WHERE `rid`=)

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

ERROR mod_news->sql_query (SELECT nid,COUNT(comment) as ct FROM news_comments WHERE active="Yes" AND nid= GROUP BY nid)

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 'GROUP BY nid' at line 1

ERROR mod_news->sql_query (SELECT * FROM `news_voters` WHERE `ip`='38.107.191.86' AND `nid`=)

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

ERROR mod_news->sql_query (SELECT * FROM `news_comments` WHERE `nid`= AND `active`='Yes' ORDER BY `date` ASC)

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 `active`='Yes' ORDER BY `date` ASC' at line 1

ERROR mod_news->sql_query (SELECT * FROM `news_comments_archive` WHERE `nid`= ORDER BY `date` ASC)

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 'ORDER BY `date` ASC' at line 1

ERROR mod_news->sql_query (SELECT * FROM `news_items` WHERE `hot`='No' AND `catid`!=1 AND `catid`!=8 AND `catid`!=14 AND `catid`!=25 AND `catid`!=26 AND `catid`!=27 AND `date`=NOW() AND `catid`= AND `nid`!= AND `position`='Center' ORDER BY `nid` DESC )

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 `nid`!= AND `position`='Center' ORDER BY `nid` DESC' at line 1

ERROR mod_news->sql_query (SELECT * FROM `news_items` WHERE `hot`='No' AND `date`<=NOW() AND `catid`= AND `position`='Left' AND `mainnews`='NO' AND `date` <= 'NOW()' ORDER BY `nid` DESC LIMIT 0,10)

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 `position`='Left' AND `mainnews`='NO' AND `date` <= 'NOW()' ORDER BY `nid` D' at line 1


Dezvoltat de Visual Candy