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 ('474','505','679','680','527','729','534','816','755','543','768','765','762','815','683','544','772','693','733','769','766','671','684','724','743','760','616','561','826','558','767','562','556','676','560','557','668','537','704','705','835','745','550','825','661','727','551','780','638','814','853','547','795','590','567','548','649','568','596','732','625','747','597','664','829','666','525','606','678','526','626','830','506','695','628','696','716','629','832','636','699','694','627','845','507','707','779','700','595','538','621','670','759','539','554','559','563','809','648','677','674','757','594','734','754','675','555','774','819','535','783','545','820','536','669','546','811','763','771','824','773','764','532','735','842','660','708','657','654','831','667','658','665','770','659','784','533','720','758','631','681','682','719','775','756','776','513','744','514','542','673','828','624','672','598','827','662','663','588','592','589','689','686','593','687','591','688','748','836','685','703','761','650','601','602','620','725','726','653','692','530','553','641','531','847','690','702','848','691','604','643','728','552','549','477','605','518','838','566','635','701','823','490','857','651','519','640','487','489','812','603','858','855','488','850','503','521','504','520','516','572','642','790','574','859','564','644','583','750','584','581','612','609','565','737','851','738','577','645','852','485','486','502','478','479','515','573','570','480','600','491','510','571','582','637','517','500','575','837','739','576','610','611','508','511','512','792','509','813','810','787','613','524','569','736','619','652','540','753','541','630','833','586','587','599','715','752','528','818','854','529','713','791','785','786','793','714','522','803','622','639','802','721','730','804','801','655','844','656','807','839','646','647','805','749','806','731','797','711','712','799','800','796','523','751','585','808','710','794','817','501','618','617') OR gc.cat_id IN ('474','505','679','680','527','729','534','816','755','543','768','765','762','815','683','544','772','693','733','769','766','671','684','724','743','760','616','561','826','558','767','562','556','676','560','557','668','537','704','705','835','745','550','825','661','727','551','780','638','814','853','547','795','590','567','548','649','568','596','732','625','747','597','664','829','666','525','606','678','526','626','830','506','695','628','696','716','629','832','636','699','694','627','845','507','707','779','700','595','538','621','670','759','539','554','559','563','809','648','677','674','757','594','734','754','675','555','774','819','535','783','545','820','536','669','546','811','763','771','824','773','764','532','735','842','660','708','657','654','831','667','658','665','770','659','784','533','720','758','631','681','682','719','775','756','776','513','744','514','542','673','828','624','672','598','827','662','663','588','592','589','689','686','593','687','591','688','748','836','685','703','761','650','601','602','620','725','726','653','692','530','553','641','531','847','690','702','848','691','604','643','728','552','549','477','605','518','838','566','635','701','823','490','857','651','519','640','487','489','812','603','858','855','488','850','503','521','504','520','516','572','642','790','574','859','564','644','583','750','584','581','612','609','565','737','851','738','577','645','852','485','486','502','478','479','515','573','570','480','600','491','510','571','582','637','517','500','575','837','739','576','610','611','508','511','512','792','509','813','810','787','613','524','569','736','619','652','540','753','541','630','833','586','587','599','715','752','528','818','854','529','713','791','785','786','793','714','522','803','622','639','802','721','730','804','801','655','844','656','807','839','646','647','805','749','806','731','797','711','712','799','800','796','523','751','585','808','710','794','817','501','618','617') ) 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=8150 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 ('474','505','679','680','527','729','534','816','755','543','768','765','762','815','683','544','772','693','733','769','766','671','684','724','743','760','616','561','826','558','767','562','556','676','560','557','668','537','704','705','835','745','550','825','661','727','551','780','638','814','853','547','795','590','567','548','649','568','596','732','625','747','597','664','829','666','525','606','678','526','626','830','506','695','628','696','716','629','832','636','699','694','627','845','507','707','779','700','595','538','621','670','759','539','554','559','563','809','648','677','674','757','594','734','754','675','555','774','819','535','783','545','820','536','669','546','811','763','771','824','773','764','532','735','842','660','708','657','654','831','667','658','665','770','659','784','533','720','758','631','681','682','719','775','756','776','513','744','514','542','673','828','624','672','598','827','662','663','588','592','589','689','686','593','687','591','688','748','836','685','703','761','650','601','602','620','725','726','653','692','530','553','641','531','847','690','702','848','691','604','643','728','552','549','477','605','518','838','566','635','701','823','490','857','651','519','640','487','489','812','603','858','855','488','850','503','521','504','520','516','572','642','790','574','859','564','644','583','750','584','581','612','609','565','737','851','738','577','645','852','485','486','502','478','479','515','573','570','480','600','491','510','571','582','637','517','500','575','837','739','576','610','611','508','511','512','792','509','813','810','787','613','524','569','736','619','652','540','753','541','630','833','586','587','599','715','752','528','818','854','529','713','791','785','786','793','714','522','803','622','639','802','721','730','804','801','655','844','656','807','839','646','647','805','749','806','731','797','711','712','799','800','796','523','751','585','808','710','794','817','501','618','617') OR gc.cat_id IN ('474','505','679','680','527','729','534','816','755','543','768','765','762','815','683','544','772','693','733','769','766','671','684','724','743','760','616','561','826','558','767','562','556','676','560','557','668','537','704','705','835','745','550','825','661','727','551','780','638','814','853','547','795','590','567','548','649','568','596','732','625','747','597','664','829','666','525','606','678','526','626','830','506','695','628','696','716','629','832','636','699','694','627','845','507','707','779','700','595','538','621','670','759','539','554','559','563','809','648','677','674','757','594','734','754','675','555','774','819','535','783','545','820','536','669','546','811','763','771','824','773','764','532','735','842','660','708','657','654','831','667','658','665','770','659','784','533','720','758','631','681','682','719','775','756','776','513','744','514','542','673','828','624','672','598','827','662','663','588','592','589','689','686','593','687','591','688','748','836','685','703','761','650','601','602','620','725','726','653','692','530','553','641','531','847','690','702','848','691','604','643','728','552','549','477','605','518','838','566','635','701','823','490','857','651','519','640','487','489','812','603','858','855','488','850','503','521','504','520','516','572','642','790','574','859','564','644','583','750','584','581','612','609','565','737','851','738','577','645','852','485','486','502','478','479','515','573','570','480','600','491','510','571','582','637','517','500','575','837','739','576','610','611','508','511','512','792','509','813','810','787','613','524','569','736','619','652','540','753','541','630','833','586','587','599','715','752','528','818','854','529','713','791','785','786','793','714','522','803','622','639','802','721','730','804','801','655','844','656','807','839','646','647','805','749','806','731','797','711','712','799','800','796','523','751','585','808','710','794','817','501','618','617') ) 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 = '1544807069', ip = '3.80.177.176', 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 = 'fd174b7188f17c2e3ca04eadbfe9c9ee' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )