Всего выполнено запросов: 26 шт. за 5.0923 сек. Развернуть Закрыть

# Запрос номер 1: SELECT @@sql_mode (0.0006 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/db.php (line 47)

# Запрос номер 2: SET @@sql_mode='' (0.0007 msec ) /var/www/www-root/data/www/kzn.bazooka.store/mg-core/lib/db.php (line 57)

# Запрос номер 3: SET names utf8 (0.0039 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.004 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((pv.price_course + pv.price_course * (IFNULL(c.rate,0))))) as `max_price`, FLOOR(MIN((pv.price_course + pv.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 LEFT JOIN `kzn_product_variant` pv ON pv.`product_id`=p.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 ('38','3356','2761') or FIND_IN_SET(2761,p.`inside_cat`))
MySQL server has gone away

/var/www/www-root/data/www/kzn.bazooka.store/mg-core/models/catalog.php (line 1644)

/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)