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 ('505','664','829','666','525','606','526','678','626','830','506','716','629','696','832','636','845','699','627','694','507','707','779','595','700','628','695','538','539','621','670','759','554','809','648','677','674','757','594','734','754','555','675','774','559','563','819','535','783','545','820','536','669','546','811','763','773','764','771','824','532','658','665','770','659','784','533','720','758','631','735','842','660','708','657','654','831','667','719','756','776','775','513','744','514','681','682','542','624','672','598','827','673','828','662','663','588','593','687','591','836','748','688','761','685','703','650','592','589','689','686','601','620','602','725','726','653','692','530','690','848','702','604','643','691','728','552','549','553','641','531','847','527','816','729','534','755','543','544','772','733','769','693','766','671','724','743','760','616','684','561','826','558','767','562','768','765','762','815','683','679','680','556','560','557','668','676','537','745','550','825','661','727','551','780','638','853','814','704','835','705','547','590','567','548','649','568','795','596','747','597','732','625') OR gc.cat_id IN ('505','664','829','666','525','606','526','678','626','830','506','716','629','696','832','636','845','699','627','694','507','707','779','595','700','628','695','538','539','621','670','759','554','809','648','677','674','757','594','734','754','555','675','774','559','563','819','535','783','545','820','536','669','546','811','763','773','764','771','824','532','658','665','770','659','784','533','720','758','631','735','842','660','708','657','654','831','667','719','756','776','775','513','744','514','681','682','542','624','672','598','827','673','828','662','663','588','593','687','591','836','748','688','761','685','703','650','592','589','689','686','601','620','602','725','726','653','692','530','690','848','702','604','643','691','728','552','549','553','641','531','847','527','816','729','534','755','543','544','772','733','769','693','766','671','724','743','760','616','684','561','826','558','767','562','768','765','762','815','683','679','680','556','560','557','668','676','537','745','550','825','661','727','551','780','638','853','814','704','835','705','547','590','567','548','649','568','795','596','747','597','732','625') ) 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=100067 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 ('505','664','829','666','525','606','526','678','626','830','506','716','629','696','832','636','845','699','627','694','507','707','779','595','700','628','695','538','539','621','670','759','554','809','648','677','674','757','594','734','754','555','675','774','559','563','819','535','783','545','820','536','669','546','811','763','773','764','771','824','532','658','665','770','659','784','533','720','758','631','735','842','660','708','657','654','831','667','719','756','776','775','513','744','514','681','682','542','624','672','598','827','673','828','662','663','588','593','687','591','836','748','688','761','685','703','650','592','589','689','686','601','620','602','725','726','653','692','530','690','848','702','604','643','691','728','552','549','553','641','531','847','527','816','729','534','755','543','544','772','733','769','693','766','671','724','743','760','616','684','561','826','558','767','562','768','765','762','815','683','679','680','556','560','557','668','676','537','745','550','825','661','727','551','780','638','853','814','704','835','705','547','590','567','548','649','568','795','596','747','597','732','625') OR gc.cat_id IN ('505','664','829','666','525','606','526','678','626','830','506','716','629','696','832','636','845','699','627','694','507','707','779','595','700','628','695','538','539','621','670','759','554','809','648','677','674','757','594','734','754','555','675','774','559','563','819','535','783','545','820','536','669','546','811','763','773','764','771','824','532','658','665','770','659','784','533','720','758','631','735','842','660','708','657','654','831','667','719','756','776','775','513','744','514','681','682','542','624','672','598','827','673','828','662','663','588','593','687','591','836','748','688','761','685','703','650','592','589','689','686','601','620','602','725','726','653','692','530','690','848','702','604','643','691','728','552','549','553','641','531','847','527','816','729','534','755','543','544','772','733','769','693','766','671','724','743','760','616','684','561','826','558','767','562','768','765','762','815','683','679','680','556','560','557','668','676','537','745','550','825','661','727','551','780','638','853','814','704','835','705','547','590','567','548','649','568','795','596','747','597','732','625') ) 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 = '1547973357', 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 = 'c91bbdebc7de5de714c4e715b26228d8' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )