Error: 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
				`date1` DESC' at line 21.
Call stack: 
myErrorHandler(Integer, String, String, Integer, Array) in []
trigger_error(String, Integer) in ${DOCUMENT_ROOT}/ext/db.mysql.inc [186]
DB->query(String) in ${DOCUMENT_ROOT}/proj/yutline/comp/news/handler.inc [299]
HandlerNews->ipArticles() in ${DOCUMENT_ROOT}/bin/core.inc [5716]
Processor->userHandlers() in ${DOCUMENT_ROOT}/bin/core.inc [5424]
Processor->__construct(Boolean) in ${DOCUMENT_ROOT}/index.php [41]
Error: 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 `locale_id` = 'ru'' at line 6.
Call stack: 
myErrorHandler(Integer, String, String, Integer, Array) in []
trigger_error(String, Integer) in ${DOCUMENT_ROOT}/ext/db.mysql.inc [186]
DB->query(String) in ${DOCUMENT_ROOT}/proj/yutline/comp/news/handler.inc [405]
HandlerNews->ipArticles() in ${DOCUMENT_ROOT}/bin/core.inc [5716]
Processor->userHandlers() in ${DOCUMENT_ROOT}/bin/core.inc [5424]
Processor->__construct(Boolean) in ${DOCUMENT_ROOT}/index.php [41]
Error: Cannot modify header information - headers already sent by (output started at /home/medkrovat/www/mebel-lux.by/bin/functions.inc:1336).
Call stack: 
myErrorHandler(Integer, String, String, Integer, Array) in []
header(String) in ${DOCUMENT_ROOT}/bin/core.inc [5448]
Processor->__construct(Boolean) in ${DOCUMENT_ROOT}/index.php [41]