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


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


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


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