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

Ошибка в 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 `mg_product` as p LEFT JOIN `mg_category` as c ON c.id = p.cat_id LEFT JOIN `mg_product_variant` pv ON pv.`product_id`=p.id WHERE p.activity = 1 AND (pv.count != 0 OR pv.count IS NULL) AND (p.cat_id IN (5121) or FIND_IN_SET(5121,p.`inside_cat`))
Lost connection to MySQL server during query

/var/www/profistroy.su/mg-core/models/catalog.php (line 1380)

/var/www/profistroy.su/mg-core/models/catalog.php (line 89)

/var/www/profistroy.su/mg-core/controllers/catalog.php (line 166)

/var/www/profistroy.su/mg-core/lib/moguta.php (line 0)

/var/www/profistroy.su/mg-core/mg-start.php (line 0)

/var/www/profistroy.su/index.php (line 90)