Ошибка при запросе.
Отладочная информация: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND tn_visible = 1 AND tn.theme_id <> 130 ORDER BY tn_weight' at line 2
SELECT tn.*, theme.theme_name FROM tn LEFT JOIN theme ON tn.theme_id = theme.theme_id WHERE news_id = AND tn_visible = 1 AND tn.theme_id <> 130 ORDER BY tn_weightОшибка при запросе.
Отладочная информация: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND n.news_visible = 1 AND n.news_date<='' and n.news_id<510 ORDER BY n.news_dat' at line 3
SELECT n.news_id, n.news_name, n.news_date FROM tn LEFT JOIN news n ON tn.news_id=n.news_id WHERE tn.theme_id= AND n.news_visible = 1 AND n.news_date<='' and n.news_id<510 ORDER BY n.news_date DESC, n.news_id DESC LIMIT 1 Ошибка при запросе.
Отладочная информация: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND n.news_visible = 1 AND n.news_date>='' and n.news_id>510 ORDER BY n.news_id ' at line 3
SELECT n.news_id, n.news_name, n.news_date FROM tn LEFT JOIN news n ON tn.news_id=n.news_id WHERE tn.theme_id= AND n.news_visible = 1 AND n.news_date>='' and n.news_id>510 ORDER BY n.news_id ASC, n.news_date ASC LIMIT 1 | Женский портал "Mi-Lady" - официальный сайт

..



Понравилась статья? +

Ошибка при запросе.
Отладочная информация: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND comment_news_visible = 1 ORDER BY comment_news_date DESC, comment_news_' at line 6
SELECT comment_news_author AS `author`, comment_news_date AS `date`, comment_news_time AS `time`, comment_news_text AS `text` FROM comment_news WHERE news_id = AND comment_news_visible = 1 ORDER BY comment_news_date DESC, comment_news_id DESC

Комментарии

Добавить комментарий

Сообщить об ошибке