0.00 ₽/шт

Количество (шт)
Цена зависит от выбранного вами региона.

Комментарий

PDOException Object ( [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 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 a.active = 1 ORDER BY a.id DESC LIMIT 5' at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => /web/blok-optom.ru/protected/src/functions.php [line:protected] => 72 [trace:Exception:private] => Array ( [0] => Array ( [file] => /web/blok-optom.ru/protected/src/functions.php [line] => 72 [function] => query [class] => PDO [type] => -> [args] => Array ( [0] => SELECT a.*, b.ava, b.name FROM comments as a, users as b WHERE a.user_id = b.id AND a.place = 0 AND a.place_id = AND a.active = 1 ORDER BY a.id DESC LIMIT 5 ) ) [1] => Array ( [file] => /web/blok-optom.ru/protected/general/товары/товар.act [line] => 151 [function] => db_select [args] => Array ( [0] => comments as a, users as b [1] => a.*, b.ava, b.name [2] => a.user_id = b.id AND a.place = 0 AND a.place_id = AND a.active = 1 [3] => ORDER BY a.id DESC LIMIT 5 ) ) [2] => Array ( [file] => /web/blok-optom.ru/protected/src/functions.php [line] => 210 [args] => Array ( [0] => /web/blok-optom.ru/protected/general/товары/товар.act ) [function] => include ) [3] => Array ( [file] => /web/blok-optom.ru/protected/src/functions.php [line] => 221 [function] => get_lay [args] => Array ( [0] => товары/товар.act ) ) [4] => Array ( [file] => /web/blok-optom.ru/index.php [line] => 56 [function] => get_lay [args] => Array ( [0] => товары.act ) ) ) [previous:Exception:private] => [errorInfo] => Array ( [0] => 42000 [1] => 1064 [2] => 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 a.active = 1 ORDER BY a.id DESC LIMIT 5' at line 1 ) )