Warning: mysql_query(): MySQL server has gone away in /www/web/meiboka_com/public_html/includes/cls_mysql.php on line 267

Warning: mysql_query(): Error reading result set's header in /www/web/meiboka_com/public_html/includes/cls_mysql.php on line 267
MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `meiboka`.`dyk_goods` AS g, `meiboka`.`dyk_order_info` AS o, `meiboka`.`dyk_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('20','106','242','417','545','98','224','243','485','486','404','339','225','341','410','222','280','115','482','385','23','494','22','629','687','660','427','558','664','551','626','394','324','363','429','449','491','372','586','572','268','170','305','670','519','384','588','16','407','505','467','683','616','665','684','549','557','544','538','307','471','126','656','97','609','21','526','347','378','207','473','177','492','101','233','334','102','345','100','514','38','205','631','497','209','382','437','249','118','525','250','496','632','457','472','474','202','121','559','620','513','599','443','357','436','165','542','466','520','635','515','329','465','531','346','408','570','110','481','516','398','618','274','193','553','517','511','413','236','132','194','331','259','359','260','477','571','668','284','279','592','455','93','645','573','574','362','114','99','643','634','591','646','594','637','661','671','28','598','338','18','527','685','58','70','62','59','49','552','438','108','204','169','566','290','57','112','406','173','596','297','676','675','415','163','60','468','521','238','336','416','431','319','278','321','433','370','134','184','469','311','374','500','691','659','27','198','65','52','212','55','88','72','277','199','113','395','397','180','365','256','662','166','663','264','237','269','423','464','539','300','639','35','502','434','441','24','51','48','228','214','453','556','554','215','218','252','227','595','176','425','447','483','510','422','387','226','445','219','258','130','522','234','216','181','322','546','358','73','293','323','490','304','360','503','611','619','638','32','621','42','330','69','368','487','85','95','29','548','17','63','71','600','81','560','133','94','328','263','426','231','335','96','221','353','107','174','235','655','672','39','501','68','208','633','267','164','678','536','667','636','435','272','568','589','131','577','509','308','543','309','518','366','424','276','367','211','313','314','230','523','315','614','585','541','642','604','364','689','673','19','248','603','608','36','613','25','439','565','476','652','654','161','84','686','33','44','569','641','78','86','172','421','251','247','47','597','528','179','506','504','454','396','507','508','352','409','403','420','83','381','229','167','448','265','379','376','162','197','373','79','550','266','253','369','191','289','400','183','232','461','452','333','484','602','312','257','402','302','606','612','30','587','240','624','564','628','220','103','399','273','111','610','688','12','579','627','576','499','679','195','623','282','593','255','459','669','40','640','186','160','327','418','187','89','244','53','601','200','456','470','371','188','270','380','343','532','583','451','584','105','189','254','168','535','412','135','460','644','581','37','45','159','46','495','50','66','90','625','428','91','92','190','318','87','196','479','348','287','354','389','350','271','537','432','288','524','563','391','647','666','630','648','26','67','175','206','109','361','241','562','440','245','555','529','530','104','617','567','547','239','246','320','533','375','192','310','405','475','575','344','356','605','286','657','658','651','653','34','615','414','61','54','64','342','444','442','171','463','478','213','117','325','430','377','332','337','283','349','316','294','275','411','534','480','351','298','306','301','622','540','493','285','682','680','690','681','580','31','261','124','43','76','77','75','446','262','450','143','136','138','145','140','607','141','156','462','155','677','158','149','281','146','151','150','152','147','142','153','326','154','355','144','590','649','650','674') OR g.goods_id IN ('83','84','85','86','89','90','91','92','93','94','95','96','97','98','101','102','103','104','105','106','107','108','109','110','111','112','113','114','115','116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131','132','133','134','135','136','137','138','139','140','141','142','143','144','145','146','147','148','149','150','151','152','153','154','155','156','157','158','159','160','161','162','163','164','165','166','174','175','176','177','178','179','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','205','208','209','210','211','212','213','214','215','216','217','218','219','220','221','222','223','224','225','226','227','229','230','231','235','236','237','239','241','242','243','244','245','248','249','250','251','252','253','254','255','256','257','258','260','261','266','267','270','271','272','273','274','275','276','277','278','279','280','281','282','283','284','285','286','287','288','289','290','291','292','293','294','296','297','298','299','300','301','302','303','304','308','309','310','311','312','313','314','315','316','317','318','319','320','321','322','323','324','325','326','327','337','338','339','340','341','342','346','347','348','355','356','357','358','359','360','361','362','363','364','365','366','367','368','369','370','371','372','373','374','375','376','377','378','379','380','381','382','383','384','385','386','388','389','390','391','392','393','394','395','396','401','402','403','404','405','406','407','408','409','410','411','412','413','414','415','416','417','418','419','420','421','422','423','424','425','426','428','430','431','432','433','434','435','436','437','438','439','440','441','442','443','444','445','446','447','463','464','465','466','467','468','469','470','471','472','473','474','475','476','477','478','479','480','481','482','483','484','485','486','487','488','489','490','491','492','493','494','495','496','497','498','499','500','501','502','503','504','505','506','507','508','518','519','520','521','522','523','524','525','526','527','528','529','530','531','532','533','534','535','536','537','538','539','540','541','542','543','544','545','546','547','548','549','550','551','552','553','554','555','556','557','558','559','560','561','562','563','564','565','566','567','568','569','570','571','572','573','574','575','576','577','578','579','580','581','582','583','584','585','586','587','588','592','593','599','600','601','602','603','604','605','606','607','608','609','610','611','612','613','614','615','616','617','619','620','622','623','624','625','626','627','628','629','630','631','632','633','634','635','636','637','638','639','640','641','642','643','644','657','658','659','660','661','662','663','664','665','666','667','668','669','670','671','674','675','676','677','678','679','680','681','682','683','684','685','686','687','688','689','690','691','692','693','694','695','696','697','698','699','700','701','702','704','705','706','709','715','716','717','718','719','720','721','737','738','747','748','749','750','751','752','757','758','759','765','771','772','773','774','775','776','777','783','784','785','786','787','788','789','790','791','794','795','796','797','798','799','800','801','802','804','806','821','822','823','824','825','826','827','828','829','830','831','832','833','834','835','836','837','838','839','840','841','842','843','844','845','846','847','848','849','850','851','852','853','854','855','856','857','861','865','871','876','877','878','879','880','881','882','883','884','885','886','891','892','893','894','895','896','897','898','899','901','902','903','904','905','906','907','908','909','910','911','912','913','914','915','916','917','918','919','920','921','922','934','935','936','937','938','939','940','941','945','947','950','954','955','956','957','959','960','961','962','963','964','965','966','967','968','969','970','971','972','973','977','978','979','980','981','982','983','984','987','988','989','990','991','992','993','1005','1006','1007','1008','1009','1010','1011','1012','1013','1014','1015','1016','1017','1018','1019','1020','1021','1022','1023','1024','1025','1026','1027','1028','1029','1030','1031','1032','1033','1034','1035','1036','1037','1038','1044','1045','1046','1047','1048','1049','1050','1051','1052','1053','1054','1055','1056','1057','1058','1059','1060','1061','1062','1063','1064','1065','1066','1067','1068') ) AND g.goods_number > 0 AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `meiboka`.`dyk_goods` AS g, `meiboka`.`dyk_order_info` AS o, `meiboka`.`dyk_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('20','106','242','417','545','98','224','243','485','486','404','339','225','341','410','222','280','115','482','385','23','494','22','629','687','660','427','558','664','551','626','394','324','363','429','449','491','372','586','572','268','170','305','670','519','384','588','16','407','505','467','683','616','665','684','549','557','544','538','307','471','126','656','97','609','21','526','347','378','207','473','177','492','101','233','334','102','345','100','514','38','205','631','497','209','382','437','249','118','525','250','496','632','457','472','474','202','121','559','620','513','599','443','357','436','165','542','466','520','635','515','329','465','531','346','408','570','110','481','516','398','618','274','193','553','517','511','413','236','132','194','331','259','359','260','477','571','668','284','279','592','455','93','645','573','574','362','114','99','643','634','591','646','594','637','661','671','28','598','338','18','527','685','58','70','62','59','49','552','438','108','204','169','566','290','57','112','406','173','596','297','676','675','415','163','60','468','521','238','336','416','431','319','278','321','433','370','134','184','469','311','374','500','691','659','27','198','65','52','212','55','88','72','277','199','113','395','397','180','365','256','662','166','663','264','237','269','423','464','539','300','639','35','502','434','441','24','51','48','228','214','453','556','554','215','218','252','227','595','176','425','447','483','510','422','387','226','445','219','258','130','522','234','216','181','322','546','358','73','293','323','490','304','360','503','611','619','638','32','621','42','330','69','368','487','85','95','29','548','17','63','71','600','81','560','133','94','328','263','426','231','335','96','221','353','107','174','235','655','672','39','501','68','208','633','267','164','678','536','667','636','435','272','568','589','131','577','509','308','543','309','518','366','424','276','367','211','313','314','230','523','315','614','585','541','642','604','364','689','673','19','248','603','608','36','613','25','439','565','476','652','654','161','84','686','33','44','569','641','78','86','172','421','251','247','47','597','528','179','506','504','454','396','507','508','352','409','403','420','83','381','229','167','448','265','379','376','162','197','373','79','550','266','253','369','191','289','400','183','232','461','452','333','484','602','312','257','402','302','606','612','30','587','240','624','564','628','220','103','399','273','111','610','688','12','579','627','576','499','679','195','623','282','593','255','459','669','40','640','186','160','327','418','187','89','244','53','601','200','456','470','371','188','270','380','343','532','583','451','584','105','189','254','168','535','412','135','460','644','581','37','45','159','46','495','50','66','90','625','428','91','92','190','318','87','196','479','348','287','354','389','350','271','537','432','288','524','563','391','647','666','630','648','26','67','175','206','109','361','241','562','440','245','555','529','530','104','617','567','547','239','246','320','533','375','192','310','405','475','575','344','356','605','286','657','658','651','653','34','615','414','61','54','64','342','444','442','171','463','478','213','117','325','430','377','332','337','283','349','316','294','275','411','534','480','351','298','306','301','622','540','493','285','682','680','690','681','580','31','261','124','43','76','77','75','446','262','450','143','136','138','145','140','607','141','156','462','155','677','158','149','281','146','151','150','152','147','142','153','326','154','355','144','590','649','650','674') OR g.goods_id IN ('83','84','85','86','89','90','91','92','93','94','95','96','97','98','101','102','103','104','105','106','107','108','109','110','111','112','113','114','115','116','117','118','119','120','121','122','123','124','125','126','127','128','129','130','131','132','133','134','135','136','137','138','139','140','141','142','143','144','145','146','147','148','149','150','151','152','153','154','155','156','157','158','159','160','161','162','163','164','165','166','174','175','176','177','178','179','181','182','183','184','185','186','187','188','189','190','191','192','193','194','195','196','197','198','199','200','201','202','203','205','208','209','210','211','212','213','214','215','216','217','218','219','220','221','222','223','224','225','226','227','229','230','231','235','236','237','239','241','242','243','244','245','248','249','250','251','252','253','254','255','256','257','258','260','261','266','267','270','271','272','273','274','275','276','277','278','279','280','281','282','283','284','285','286','287','288','289','290','291','292','293','294','296','297','298','299','300','301','302','303','304','308','309','310','311','312','313','314','315','316','317','318','319','320','321','322','323','324','325','326','327','337','338','339','340','341','342','346','347','348','355','356','357','358','359','360','361','362','363','364','365','366','367','368','369','370','371','372','373','374','375','376','377','378','379','380','381','382','383','384','385','386','388','389','390','391','392','393','394','395','396','401','402','403','404','405','406','407','408','409','410','411','412','413','414','415','416','417','418','419','420','421','422','423','424','425','426','428','430','431','432','433','434','435','436','437','438','439','440','441','442','443','444','445','446','447','463','464','465','466','467','468','469','470','471','472','473','474','475','476','477','478','479','480','481','482','483','484','485','486','487','488','489','490','491','492','493','494','495','496','497','498','499','500','501','502','503','504','505','506','507','508','518','519','520','521','522','523','524','525','526','527','528','529','530','531','532','533','534','535','536','537','538','539','540','541','542','543','544','545','546','547','548','549','550','551','552','553','554','555','556','557','558','559','560','561','562','563','564','565','566','567','568','569','570','571','572','573','574','575','576','577','578','579','580','581','582','583','584','585','586','587','588','592','593','599','600','601','602','603','604','605','606','607','608','609','610','611','612','613','614','615','616','617','619','620','622','623','624','625','626','627','628','629','630','631','632','633','634','635','636','637','638','639','640','641','642','643','644','657','658','659','660','661','662','663','664','665','666','667','668','669','670','671','674','675','676','677','678','679','680','681','682','683','684','685','686','687','688','689','690','691','692','693','694','695','696','697','698','699','700','701','702','704','705','706','709','715','716','717','718','719','720','721','737','738','747','748','749','750','751','752','757','758','759','765','771','772','773','774','775','776','777','783','784','785','786','787','788','789','790','791','794','795','796','797','798','799','800','801','802','804','806','821','822','823','824','825','826','827','828','829','830','831','832','833','834','835','836','837','838','839','840','841','842','843','844','845','846','847','848','849','850','851','852','853','854','855','856','857','861','865','871','876','877','878','879','880','881','882','883','884','885','886','891','892','893','894','895','896','897','898','899','901','902','903','904','905','906','907','908','909','910','911','912','913','914','915','916','917','918','919','920','921','922','934','935','936','937','938','939','940','941','945','947','950','954','955','956','957','959','960','961','962','963','964','965','966','967','968','969','970','971','972','973','977','978','979','980','981','982','983','984','987','988','989','990','991','992','993','1005','1006','1007','1008','1009','1010','1011','1012','1013','1014','1015','1016','1017','1018','1019','1020','1021','1022','1023','1024','1025','1026','1027','1028','1029','1030','1031','1032','1033','1034','1035','1036','1037','1038','1044','1045','1046','1047','1048','1049','1050','1051','1052','1053','1054','1055','1056','1057','1058','1059','1060','1061','1062','1063','1064','1065','1066','1067','1068') ) AND g.goods_number > 0 AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `meiboka`.`dyk_sessions` SET expiry = '1732170118', ip = '3.138.175.10', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:4:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;s:8:\"currency\";s:3:\"USD\";}' WHERE sesskey = '4153ec538c04be033361333393e8310b' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )