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 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 ( 10093,10094,10095,10096,10097,10098,10099,10100,10101,10102,10103,10104,10105,10106,10107,10108,10109,10110,10111,10112,10113,10114,10115,10116,10117,10118,10119,10120,10121,10122,10123,10124,10125,10126,10127,10128,10129,10130,10131,10132,10133,10134,10135,10136,10137,10138,10139,10140,10141,10142,10143,10144,10145,10146,10147,10148,10149,10150,10151,10152,10153,10154,10155,10156,10157,10158,10159,10160,10161,10162,10163,10164,10165,10166,10167,10168,10169,10170,10171,10172,10173,10174,10175,10176,10177,10178,10179,10180,10181,10182,10183,10184,10185,10186,10187,10188,10189,10190,10191,10192,10193,10194,10195,10196,10197,10198,10199,10200,10201,10202,10203,10204,10205,10206,10207,10208,10209,10210,10211,10212,10213,10214,10215,10216,10217,10218,10219,10220,10221,10222,10223,10224,10225,10226,10227,10228,10229,10230,10231,10232,10233,10234,10235,10236,10237,10238,10239,10240,10241,10242,10243,10244,10245,10246,10247,10248 ) 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