SQL Error: 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 c.cv_name='title'' at line 3 at /home/shef/vestnik.isras.ru/html/site_template/cmpl_tmp/magazine_full.html.php line 5
Array
(
    [code] => 1064
    [message] => 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 c.cv_name='title'' at line 3
    [query] => SELECT c.cv_text AS name,c2.cv_text AS name_en  FROM adm_magazine_content AS c 
INNER JOIN adm_magazine_content AS c2 ON c2.page_id=c.page_id AND c2.cv_name='title_en' 
WHERE  c.page_id= AND c.cv_name='title'
    [context] => /home/shef/vestnik.isras.ru/html/site_template/cmpl_tmp/magazine_full.html.php line 5
)