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 `aookcn2010_ecshop`.`ecs_brand`AS b, `aookcn2010_ecshop`.`ecs_goods` AS g LEFT JOIN `aookcn2010_ecshop`.`ecs_goods_cat` AS gc ON g.goods_id = gc.goods_id WHERE g.brand_id = b.brand_id AND (g.cat_id IN ('477','490','519','640','857','651','487','858','603','855','488','850','489','812','503','504','520','521','516','642','790','574','859','572','564','750','584','581','612','609','565','644','583','737','738','851','577','645','852','485','486','502','517','478','573','570','600','480','510','491','571','582','637','479','515','605','518','838','566','635','823','701') OR gc.cat_id IN ('477','490','519','640','857','651','487','858','603','855','488','850','489','812','503','504','520','521','516','642','790','574','859','572','564','750','584','581','612','609','565','644','583','737','738','851','577','645','852','485','486','502','517','478','573','570','600','480','510','491','571','582','637','479','515','605','518','838','566','635','823','701') ) 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] => Got a packet bigger than 'max_allowed_packet' bytes ) [3] => Array ( [errno] => 1153 ) )
Warning: Error while sending QUERY packet. PID=86167 in /home/wwwroot/www.aook.cn/includes/cls_mysql.php on line 267
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 `aookcn2010_ecshop`.`ecs_brand`AS b, `aookcn2010_ecshop`.`ecs_goods` AS g LEFT JOIN `aookcn2010_ecshop`.`ecs_goods_cat` AS gc ON g.goods_id = gc.goods_id WHERE g.brand_id = b.brand_id AND (g.cat_id IN ('477','490','519','640','857','651','487','858','603','855','488','850','489','812','503','504','520','521','516','642','790','574','859','572','564','750','584','581','612','609','565','644','583','737','738','851','577','645','852','485','486','502','517','478','573','570','600','480','510','491','571','582','637','479','515','605','518','838','566','635','823','701') OR gc.cat_id IN ('477','490','519','640','857','651','487','858','603','855','488','850','489','812','503','504','520','521','516','642','790','574','859','572','564','750','584','581','612','609','565','644','583','737','738','851','577','645','852','485','486','502','517','478','573','570','600','480','510','491','571','582','637','479','515','605','518','838','566','635','823','701') ) 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] => Got a packet bigger than 'max_allowed_packet' bytes ) [3] => Array ( [errno] => 1153 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `aookcn2010_ecshop`.`ecs_sessions` SET expiry = '1547973262', ip = '54.226.25.74', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:3:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;}' WHERE sesskey = '280b8f56aaffa034cbc1e784faed22b7' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )