Категории
[FAQ] Часто задаваемые вопросы и ответы
Проблемы и решения
Ошибки и исправления
Общие вопросы
Расширения
Установка и обновление
Модули
Шаблоны
Локализация интерфейса
Коммерческие предложения
Учимся бизнесу
Бизнес книги
Поисковая оптимизация (SEO)
Магазины на ShopOS
Хостинг для ShopOS
Предложения и пожелания
Курилка
|
Ошибка RSS (2.5.4)
Мне на почту приходят ошибки БД: 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 11
SELECT news_id, headline, content, date_added FROM os_latest_news WHERE status = '1' and language = '1' ORDER BY date_added DESC limit --------------------------------------- Server Name : Remote Address: Referer : Requested : /rss2.php?feed=news Trace Back : rss2.php:87(os_rss_newsarray(1) {; =>; &string(231) " ; SELECT ; news_id, ; headline, ; content, ; date_added ; FROM os_latest_news ; WHERE ; status = '1' ; and language = '1' ; ORDER BY date_added DESC ; "; }; ) => rss2.php:284(os_db_queryarray(1) {; =>; &string(238) " ; SELECT ; news_id, ; headline, ; content, ; date_added ; FROM os_latest_news ; WHERE ; status = '1' ; and language = '1' ; ORDER BY date_added DESC ; limit "; }; ) => includes/functions/admin.include.php:3188(os_db_errorarray(3) {; =>; &string(238) " ; SELECT ; news_id, ; headline, ; content, ; date_added ; FROM os_latest_news ; WHERE ; status = '1' ; and language = '1' ; ORDER BY date_added DESC ; limit "; =>; &int(1064); =>; &string(147) "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 11"; }; ) => includes/functions/admin.include.php:3275(db->errorarray(3) {; =>; &string(238) " ; SELECT ; news_id, ; headline, ; content, ; date_added ; FROM os_latest_news ; WHERE ; status = '1' ; and language = '1' ; ORDER BY date_added DESC ; limit "; =>; &int(1064); =>; &string(147) "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 11"; }; )
Что с этим делать?
Версия какая?
Смотри здесь http://www.shopos.ru/forum/index.php?topic=3972.msg20554#msg20554
Источник
|