MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT b.brand_id, b.brand_name, COUNT(*) AS goods_num FROM `ynutxshop`.`ynutxshop_brand`AS b, `ynutxshop`.`ynutxshop_goods` AS g LEFT JOIN `ynutxshop`.`ynutxshop_goods_cat` AS gc ON g.goods_id = gc.goods_id WHERE g.brand_id = b.brand_id AND (g.cat_id IN ('1','4','3','2','11','10','5','8','12') OR gc.cat_id IN ('1','4','3','2','11','10','5','8','12') ) AND b.is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id HAVING goods_num > 0 ORDER BY b.sort_order, b.brand_id ASC
)
[2] => Array
(
[error] => Out of memory (Needed 712944 bytes)
)
[3] => Array
(
[errno] => 5
)
)