День добрый, ребят. Воткнул под 10.2, при переходе в категорию вывалилось:
MySQL error in file: /engine/modules/show.short.php at line 66
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 'sait_status !='off' AND approve=1 AND date < '2014-12-30 19:30:05' ORDER BY fixe' 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, p.blog_name, p.blog_cat, p.blog_approve FROM pzrp_post p LEFT JOIN pzrp_post_extras e ON (p.id=e.news_id) WHERE category regexp '[[:<:]](30)[[:>:]]' sait_status !='off' AND approve=1 AND date < '2014-12-30 19:30:05' ORDER BY fixed desc, date DESC LIMIT 0,10
Чего ему от меня надо?
MySQL error in file: /engine/modules/show.short.php at line 66
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 'sait_status !='off' AND approve=1 AND date < '2014-12-30 19:30:05' ORDER BY fixe' 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, p.blog_name, p.blog_cat, p.blog_approve FROM pzrp_post p LEFT JOIN pzrp_post_extras e ON (p.id=e.news_id) WHERE category regexp '[[:<:]](30)[[:>:]]' sait_status !='off' AND approve=1 AND date < '2014-12-30 19:30:05' ORDER BY fixed desc, date DESC LIMIT 0,10
Чего ему от меня надо?