SQL: [348] SELECT a.news_id FROM sm2_news a WHERE ((a.news_keywords LIKE "%Фестиваль Творчества "Радуга"%") OR (a.news_keywords LIKE "%боди-арт на личике ребенка%") ) AND (a.news_id != 2234 ) AND a.news_visible = :visible AND a.news_visible_by_time = :visible_by_time ORDER BY news_date DESC LIMIT :from, :count
Sent SQL: [317] SELECT a.news_id FROM sm2_news a WHERE ((a.news_keywords LIKE "%Фестиваль Творчества "Радуга"%") OR (a.news_keywords LIKE "%боди-арт на личике ребенка%") ) AND (a.news_id != 2234 ) AND a.news_visible = 1 AND a.news_visible_by_time = 1 ORDER BY news_date DESC LIMIT 0, 3
Params: 4
Key: Name: [8] :visible
paramno=-1
name=[8] ":visible"
is_param=1
param_type=1
Key: Name: [16] :visible_by_time
paramno=-1
name=[16] ":visible_by_time"
is_param=1
param_type=1
Key: Name: [5] :from
paramno=-1
name=[5] ":from"
is_param=1
param_type=1
Key: Name: [6] :count
paramno=-1
name=[6] ":count"
is_param=1
param_type=1
/home/www/www.mama.mk.ua/www/engine/plugins/Db/CMSPluginDbQuery.class.php : 82 : DB_QUERY_FAIL: [[00000array (
0 => '00000',
1 => 1064,
2 => '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 \'Радуга"%") OR (a.news_keywords LIKE "%боди-арт на личике...\' at line 1',
)]]
SELECT a.news_id FROM sm2_news a WHERE ((a.news_keywords LIKE "%Фестиваль Творчества "Радуга"%") OR (a.news_keywords LIKE "%боди-арт на личике ребенка%") ) AND (a.news_id != 2234 ) AND a.news_visible = :visible AND a.news_visible_by_time = :visible_by_time ORDER BY news_date DESC LIMIT :from, :count