Notice: Undefined index: news_pagination_val in /home/test0200/viki.ua/www/catalog/controller/information/news.php on line 31
Fatal error: Uncaught exception 'ErrorException' with message '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 '' at line 1<br />Error No: 1064<br />SELECT * FROM news n LEFT JOIN news_description nd ON (n.news_id = nd.news_id) LEFT JOIN news_to_store n2s ON (n.news_id = n2s.news_id) WHERE nd.language_id = '1' AND n2s.store_id = '0' AND n.status = '1' ORDER BY n.date_added DESC LIMIT 0, ' in /home/test0200/viki.ua/www/system/database/mysqli.php:41
Stack trace:
#0 /home/test0200/viki.ua/www/vqmod/vqcache/vq2-system_library_db.php(20): DBMySQLi->query('SELECT * FROM n...')
#1 /home/test0200/viki.ua/www/catalog/model/module/news.php(22): DB->query('SELECT * FROM n...')
#2 /home/test0200/viki.ua/www/catalog/controller/information/news.php(35): ModelModuleNews->getNews(0, NULL)
#3 [internal function]: ControllerInformationNews->index()
#4 /home/test0200/viki.ua/www/vqmod/vqcache/vq2-system_engine_front.php(42): call_user_func_array(Ar in /home/test0200/viki.ua/www/system/database/mysqli.php on line 41