# Запрос номер 1: SELECT @@sql_mode (0.0002 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/db.php (line 47)
# Запрос номер 2: SET @@sql_mode='' (0.0001 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/db.php (line 57)
# Запрос номер 3: SET names utf8 (0.0001 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/db.php (line 236)
# Запрос номер 4: SELECT `value` FROM `kzn_setting` WHERE `option` = 'useDefaultSettings' (0.0003 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/mg.php (line 0)
# Запрос номер 5: SELECT `option`, `value` FROM `kzn_setting` (0.0007 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/mg.php (line 0)
Ошибка в SQL запросе: SELECT CEILING(MAX((p.price_course + p.price_course * (IFNULL(c.rate,0))))) as `max_price`, FLOOR(MIN((p.price_course + p.price_course * (IFNULL(c.rate,0))))) as min_price FROM `kzn_product` as p LEFT JOIN tmp_cat as c ON c.id = p.cat_id WHERE p.activity = 1 AND ((SELECT SUM(ABS(count)) FROM kzn_product_on_storage WHERE product_id = p.id) > 0) AND (p.cat_id IN ('1304') or FIND_IN_SET(1304,p.`inside_cat`))/var/www/www-root/data/www/kzn.bazooka.store/mg-core/models/catalog.php (line 1634)
/var/www/www-root/data/www/kzn.bazooka.store/mg-core/models/catalog.php (line 89)
/var/www/www-root/data/www/kzn.bazooka.store/mg-core/controllers/catalog.php (line 176)
/var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/moguta.php (line 0)
/var/www/www-root/data/www/kzn.bazooka.store/mg-core/mg-start.php (line 0)
/var/www/www-root/data/www/kzn.bazooka.store/mg-core/index-start.php (line 126)
/var/www/www-root/data/www/kzn.bazooka.store/index.php (line 4)