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 ('872','900','977','996','981','901','958','955','1022','965','902','976','966','941','884','974','993','885','982','1082','894','948','895','928','913','932','1021','1000','1035','978','1010','1050','914','1073','915','1023','931','980','967','873','944','897','954','929','997','972','1042','930','874','943','896','963','904','951','1041','1025','999','961','1003','962','888','1013','975','898','998','889','983','939','1072','940','882','1012','971','1006','1024','883','1034','952','995','1011','956','953','879','1077','1071','946','880','911','994','912','1019','1028','1020','923','924','925','1007','886','887','964','945','973','1005','1080','1081','890','1052','957','916','891','922','985','1051','899','992','1043') OR gc.cat_id IN ('872','900','977','996','981','901','958','955','1022','965','902','976','966','941','884','974','993','885','982','1082','894','948','895','928','913','932','1021','1000','1035','978','1010','1050','914','1073','915','1023','931','980','967','873','944','897','954','929','997','972','1042','930','874','943','896','963','904','951','1041','1025','999','961','1003','962','888','1013','975','898','998','889','983','939','1072','940','882','1012','971','1006','1024','883','1034','952','995','1011','956','953','879','1077','1071','946','880','911','994','912','1019','1028','1020','923','924','925','1007','886','887','964','945','973','1005','1080','1081','890','1052','957','916','891','922','985','1051','899','992','1043') ) 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=100116 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 ('872','900','977','996','981','901','958','955','1022','965','902','976','966','941','884','974','993','885','982','1082','894','948','895','928','913','932','1021','1000','1035','978','1010','1050','914','1073','915','1023','931','980','967','873','944','897','954','929','997','972','1042','930','874','943','896','963','904','951','1041','1025','999','961','1003','962','888','1013','975','898','998','889','983','939','1072','940','882','1012','971','1006','1024','883','1034','952','995','1011','956','953','879','1077','1071','946','880','911','994','912','1019','1028','1020','923','924','925','1007','886','887','964','945','973','1005','1080','1081','890','1052','957','916','891','922','985','1051','899','992','1043') OR gc.cat_id IN ('872','900','977','996','981','901','958','955','1022','965','902','976','966','941','884','974','993','885','982','1082','894','948','895','928','913','932','1021','1000','1035','978','1010','1050','914','1073','915','1023','931','980','967','873','944','897','954','929','997','972','1042','930','874','943','896','963','904','951','1041','1025','999','961','1003','962','888','1013','975','898','998','889','983','939','1072','940','882','1012','971','1006','1024','883','1034','952','995','1011','956','953','879','1077','1071','946','880','911','994','912','1019','1028','1020','923','924','925','1007','886','887','964','945','973','1005','1080','1081','890','1052','957','916','891','922','985','1051','899','992','1043') ) 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 = '1547972980', 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 = 'a005b5d583da56a4d1d908575c2a2d97' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )