Strict Standards: Only variables should be passed by reference in /var/www/newistoria/data/www/2mir-istorii.ru/engine/modules/catalog/functions.php on line 123 Strict Standards: Only variables should be passed by reference in /var/www/newistoria/data/www/2mir-istorii.ru/engine/modules/catalog/functions.php on line 123 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, ( ( rating1+rating2+rating3+rating ) / 4 ) as ball_all FROM dle_post p LEFT JOIN dle_post_extras e ON (p.id=e.news_id) WHERE approve=1 and p.`id` in ( 7868,7869,7870,7871,7873,7874,7875,7876,7877,7880,7881,7882,7883,7890,7891,7900,7914,7918,7921,7933,7935,7940,7948,7949,7953,7960,7964,7965,7969,7970,7984,7985,7989,7990,7994,8004,8010,8012,8013,8015,8017,8019,8020,8021,8026,8049,8058,8059,8063,8070,8072,8082,8085,8098 ) ORDER BY ball_all DESC LIMIT ,10 MySQL Fatal Error MySQL Error!
------------------------

The Error returned was:
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 '10' at line 1

Error Number:
1064