MySQL Error!
MySQL error in file: /engine/modules/show.short.php at line 67
Error Number: 1064
The Error returned was:
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 date < '2021-01-09' + INTERVAL 24 HOUR AND approve=1 AND date < '2024-12-03 ' at line 1
SQL query:
SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.xfields, p.title, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason FROM dle_post p LEFT JOIN dle_post_extras e ON (p.id=e.news_id) WHERE date >= '2021-01-09' AND category=-56- AND date < '2021-01-09' + INTERVAL 24 HOUR AND approve=1 AND date < '2024-12-03 02:34:24' ORDER BY date DESC LIMIT 0,1