MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT COUNT(*) FROM `xianhua_houtai`.`ecs_goods` AS g WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('4493','4494','4495','4496','4497','4498','4500','4501','4502') ) AND g.goods_id IN ('188','287','299','302','307','530','605','645','506','452','70','115','701','577','585','9','123','146','134','200','1130','190','219','342','348','350','393','152','331','334','336','426','431','24','757','1121','16','692','439','492','1496','1929','1934','2520','2527','2583','767','2719','2747','2754','2763','2769','2779','2788','2858','2869','3104','3118','29','3259','3279','3305','3309','3583','3606','3669','3696','3703','2749','3714','3717','3779','3820','3837','3866','3873','3877','3909','582','4081','4084','4099','4155','27','26','4268','3704','4305','4306','4330','11','2873') AND g.goods_id IN ('6','259','264','268','272','277','280','282','283','284','286','288','290','292','294','296','298','300','303','304','305','308','309','720','440','605','168','265','2541','2544','2580','2582','2594','2736','2737','2794','2854','3127','3128','3609','3631','3632','3708','3709','3710','3712','3713','3714','3715','3717','3718','3723','3734','3747','3748','3749','3750','3751','3825','3826','3827','3831','3833','3834','3835','3836','3839','3841','3842','3873','3872','3881','3883','3885','480','3969','3979','4060','4063','4074','4075','4098','4100','4104','4106','4184','4317','4332','4490','4492','4502') AND g.goods_id IN ('58','60','61','64','73','36','102','103','105','106','108','109','110','111','113','114','115','79','82','87','90','92','94','107','688','691','692','693','694','695','696','697','699','196','698','701','702','703','704','705','706','707','708','709','711','712','713','714','715','674','675','677','681','682','684','685','673','205','555','567','568','572','575','578','580','582','585','117','122','118','123','128','133','141','146','126','132','134','137','138','140','142','144','200','203','206','208','209','210','211','214','215','216','212','185','186','288','720','777','786','1130','1466','1468','513','774','717','187','190','191','192','193','194','195','197','218','219','220','345','223','224','225','226','227','280','282','283','18','453','284','286','290','300','303','304','305','308','391','392','394','395','396','397','399','400','401','402','404','294','259','264','268','272','292','296','152','154','156','408','409','411','412','413','416','417','418','419','420','421','422','423','424','425','426','427','428','429','430','431','432','414','298','277','751','760','1135','1120','775','782','748','749','479','562','1118','1117','1119','721','722','745','407','771','718','723','724','727','725','726','728','729','730','731','732','733','734','735','779','776','433','155','136','65','769','767','1470','343','768','8','1469','86','9','3','347','97','199','700','772','710','297','744','254','24','512','746','76','354','349','348','332','353','129','740','686','687','10','27','130','780','783','135','393','390','406','403','405','716','309','72','747','570','25','17','207','31','198','131','21','586','1139','222','752','1293','127','22','719','679','15','19','565','736','1131','77','441','1','69','7','1479','99','756','75','584','495','13','737','554','252','457','750','757','739','762','30','100','78','33','81','70','12','1125','1138','253','68','62','1296','1128','509','502','497','507','490','498','435','436','437','438','439','440','442','443','444','447','450','452','454','455','456','458','460','461','462','463','464','465','468','469','470','471','473','474','475','476','477','478','480','481','483','511','504','486','496','487','492','506','503','508','491','501','500','484','510','324','322','319','315','328','313','285','287','289','291','293','301','302','306','307','316','318','320','321','323','325','327','326','295','299','605','606','607','608','610','611','613','615','617','618','619','620','621','622','623','625','626','627','638','521','525','628','520','646','647','642','648','630','643','1132','516','526','530','645','534','536','548','636','518','519','523','528','531','633','634','635','650','515','517','522','524','527','529','651','640','629','546','547','549','532','535','538','539','540','541','542','543','545','1133','1055','1056','1497','1500','1461','1929','1934','1935','870','278','168','164','184','176','179','281','269','169','260','162','258','266','270','275','363','367','370','159','172','181','261','265','267','364','365','368','371','372','256','257','262','263','271','273','274','276','279','358','359','360','361','362','366','369','373','595','603','591','598','594','589','592','597','593','600','599','601','602','587','588','590','2286','2287','2288','2289','2290','2291','2292','1331','1332','1333','1278','1277','1279','1280','1285','1287','1288','1290','1291','1299','1305','1307','1310','1311','1312','1318','1319','1350','1351','1352','1356','1358','1359','1361','1362','1365','1366','1369','1370','1375','1376','1378','1380','1406','1407','1408','1412','1415','1444','1445','1447','1448','1455','1456','1457','1459','1463','1464','1465','1494','1495','2517','2518','2519','2520','2521','2522','2523','2524','2525','2526','2527','2528','2529','2530','2531','1137','2533','2534','2535','2537','2539','2540','2541','2542','2543','2544','2545','2546','2547','2548','2549','2550','2551','2552','2554','2555','2556','2558','2559','2561','2563','2564','2565','2566','2567','2569','2570','2571','2572','2573','2574','2575','2576','2577','2578','2580','2581','2582','2583','2584','2585','2586','2587','2588','2589','2590','2591','2594','2595','2596','2597','2598','2599','2600','1122','2719','2720','2721','2722','2723','2724','2725','2726','2727','2728','2729','2730','2732','2733','2734','2735','2736','2737','2739','2740','2741','2742','2743','2744','2745','2746','2747','2749','2750','2751','2752','2754','2755','2756','2758','2759','2760','2762','2763','2764','2765','2766','2767','2768','2769','2770','2771','2772','2773','2774','2775','2776','2777','2778','2779','2780','2781','2782','2783','2784','2785','2786','2787','2788','2789','2790','2791','2793','2794','2795','2796','2797','2798','2799','2800','2801','2802','2803','2825','2826','2848','2849','2850','2851','2854','2856','2861','2862','2867','2869','2872','2873','2874','2875','3063','3064','3065','3066','3067','3068','3069','3070','3071','3072','3073','3074','3075','3076','3077','3102','3104','3105','3106','3107','3108','3109','3110','3111','3112','3113','3114','3115','3116','3117','3118','3119','3120','3121','3122','3124','3125','3126','3127','3128','3130','3232','3234','3237','3239','29','3240','3241','3248','3249','3250','3251','3252','3253','3254','3256','3257','3271','3274','3275','3277','3279','3302','3303','3304','3305','3306','3307','3308','3309','3310','742','1129','3577','3587','3589','3590','3580','3581','3596','3597','3598','3599','3604','3605','3606','3609','3614','3632','3634','3636','3638','3639','3640','3668','3669','3670','3671','3672','3673','3674','3675','3676','3677','3678','3679','3682','3683','3684','3691','3692','3693','3695','3697','3699','3700','3701','3702','3703','766','3704','3705','3706','3707','3708','3709','3710','3711','3712','3713','3714','3715','3716','3717','3718','3719','3720','3721','3722','3723','3724','3725','3726','3727','3728','3729','3730','3731','3732','3733','3734','3747','3748','3749','3750','3751','3752','3753','3754','3755','3756','3757','3758','3761','3762','3763','3778','3779','3780','3781','3782','3786','3787','3788','3789','3790','3791','3792','3793','3794','3795','3797','3798','3799','3800','3801','3819','3821','3822','3823','3825','3826','3827','3828','3830','3831','3832','3833','3834','3835','3836','3839','3841','3842','3843','3844','3846','3847','3848','3849','3851','3853','3854','3856','3857','3858','3860','3861','3862','3863','3866','3869','3872','3877','3881','3882','3884','3886','3888','3889','3890','3891','3892','3893','3894','3895','3896','3897','3898','3899','3900','3901','3902','3903','3923','3925','499','3942','3944','3952','3953','3957','3958','3959','3960','3961','3962','3964','3965','3966','3967','3969','3970','3971','3972','3973','3974','3976','3977','3978','3979','3982','3983','4015','4016','4019','4063','4064','4065','4068','4078','4080','4086','4087','4088','4089','4090','4091','4092','4096','4097','505','4171','4172','4173','4176','4177','4185','4224','4225','4226','4227','4228','4229','4230','4232','4234','4235','4236','4237','4238','4239','4240','4241','4242','4243','604','4247','4251','4252','4253','4260','4261','4262','4266','4267','4268','4305','4306','4307','4308','4309','4310','4311','4312','4313','4314','4315','4316','4317','4318','4319','4321','4322','4323','4324','4325','4326','4327','4328','4329','4330','4332','4333','4334','4336','4337','4343','4344','4346','4348','4349','4350','4351','4352','4355','4356','4357','4358','4359','4360','4361','4362','4363','4364','4365','4366','781','4489','4490','4491','4493','4494','4495','4497','4498','4499','4501','4502') AND g.goods_id IN ('787','57','58','60','61','62','64','66','67','68','69','70','73','74','75','36','99','101','102','103','104','105','106','108','109','110','111','113','114','115','78','82','87','92','94','79','688','689','691','692','693','694','695','696','697','699','700','196','698','701','702','703','704','705','706','708','709','713','714','671','672','674','675','676','677','678','679','681','680','683','684','685','686','687','673','652','205','213','553','554','555','556','557','558','560','561','563','566','567','568','569','572','573','574','575','577','578','579','580','581','582','584','585','586','117','121','122','118','123','128','129','133','135','141','146','126','127','131','132','134','138','139','140','142','143','145','147','148','144','198','199','200','202','203','204','206','207','208','209','210','211','214','215','216','212','201','185','186','288','720','777','780','783','785','786','1467','1130','1466','1468','332','774','570','1245','187','190','191','192','193','194','195','197','219','220','341','342','344','345','347','348','349','350','351','352','353','354','355','356','357','223','224','225','226','227','228','280','282','283','1160','1158','1156','1157','1155','1152','1153','252','253','18','482','489','514','768','1126','1127','453','1139','1124','1125','1138','1247','1248','1249','1250','1154','284','286','290','300','303','305','308','309','259','264','268','272','333','334','277','736','747','737','758','751','760','459','759','1135','761','1120','775','782','753','743','748','749','752','754','479','562','1118','1117','1119','721','722','745','407','1295','1294','771','718','24','1471','298','779','155','136','65','1470','8','1469','9','3','97','772','297','744','254','715','512','746','331','76','740','11','10','27','26','130','156','72','25','17','31','21','32','1293','22','719','15','19','565','564','1131','77','441','1','7','1479','756','495','13','457','750','14','757','30','739','762','100','255','33','81','449','12','1296','1128','494','509','497','434','445','507','446','447','448','450','451','454','455','456','458','460','473','475','483','506','508','488','510','319','328','285','289','316','329','607','608','609','610','611','612','613','614','615','616','617','618','620','622','624','623','626','627','638','521','525','628','646','647','644','648','643','1132','516','530','544','548','636','519','523','528','634','635','650','515','522','524','527','529','1783','651','640','629','547','549','535','538','540','542','543','1055','1056','1823','1499','1498','1495','1494','1492','1490','1462','1460','1928','1929','1930','1931','1932','1933','1934','1935','595','603','591','598','594','589','592','597','593','600','599','601','602','587','588','590','1321','654','784','658','659','660','661','663','1327','1328','1329','1331','1332','1333','1334','1335','1336','1337','1338','1341','1342','1344','1347','1348','1212','1213','1215','1230','1231','1233','1234','1258','1278','1277','1279','1280','1285','1287','1288','1290','1291','1299','1305','1307','1310','1311','1312','1318','1319','1350','1351','1352','1356','1358','1359','1361','1362','1365','1366','1369','1370','1375','1376','1378','1380','1406','1407','1408','1412','1415','1444','1445','1447','1448','1455','1456','1457','1458','1459','1463','1464','1465','2517','2518','2519','2520','2521','2522','2523','2524','2525','2526','2527','2528','2529','2530','2531','2532','1137','2533','2534','2535','2536','2537','2538','2539','2540','2541','2542','2543','2544','2545','2546','2547','2548','2549','2550','2551','2552','2553','2554','2555','2556','2557','2558','2559','2560','2561','2562','2563','2564','2565','2566','2567','2568','2569','2570','2571','2572','2573','2574','2575','2576','2577','2578','2579','2580','2581','2582','2583','2584','2585','2586','2587','2588','2589','2590','2591','2592','2593','2594','2595','2596','2597','2598','2599','2600','1122','2719','2720','2721','2722','2723','2724','2725','2726','2727','2728','2729','2730','2731','2732','2733','2734','2735','2736','2737','2738','2739','2740','2741','2742','2743','2744','2745','2746','2747','2748','2749','2750','2751','2752','2753','2754','2755','2756','2757','2758','2759','2760','2761','2762','2763','2764','2765','2766','2767','2768','2769','2770','2771','2772','2773','2774','2775','2776','2777','2778','2779','2780','2781','2782','2783','2784','2785','2786','2787','2788','2789','2790','2791','2792','2793','2796','2797','2798','2799','2800','2801','2802','2803','2826','2848','2849','2850','2852','2853','2855','2856','2857','2858','2859','2860','2861','2862','2863','2864','2865','2868','2870','2871','2872','2873','2874','2875','3094','3095','3096','3097','3098','3099','3100','3101','3102','3103','3104','3105','3106','3107','3108','3109','3110','3111','3112','3113','3114','3115','3116','3117','3118','3119','3120','3121','3122','3123','3124','3125','3126','3127','3128','3129','29','3248','3249','3250','3257','3258','3276','3277','3278','3306','3307','3310','1123','742','1129','3579','3582','3583','3584','3578','3580','3581','3586','3590','3595','3596','3597','3598','3607','3609','3614','3626','3631','3633','3634','3635','3637','3638','3639','3640','3668','3669','3670','3671','3672','3673','3674','773','3676','3677','3678','3692','3693','3694','3695','3696','3697','3699','3702','3713','3714','3715','3753','3754','3755','3761','3762','3763','3778','3779','3780','3781','3782','3783','3786','3787','3788','3789','3790','3791','3792','3793','3794','3795','3796','3797','3798','3799','3801','3819','3820','3821','3822','3829','3837','649','3843','533','3844','3845','3847','3848','3849','3850','3851','3852','3853','3854','3855','3858','3860','3861','3862','464','3864','3865','3867','472','3870','3871','3874','3875','3876','3878','3879','3880','3883','3887','532','3894','3895','3897','3898','3904','3903','3907','3908','3909','3910','3911','3918','3919','3920','3921','3922','3923','3924','3925','504','3926','3927','3928','3929','3930','539','3931','3932','3933','3934','3938','3940','499','3945','3946','3943','3947','3948','3949','3950','3951','3966','3967','3968','3969','3970','3971','3972','3973','3974','3975','3976','3977','741','3978','2867','3980','3981','3983','3984','3985','4013','4014','4015','4016','4017','4018','4019','4020','4021','4045','4049','4050','4051','4052','4053','4054','4055','4056','4058','4060','4066','4067','4069','4070','4071','4072','4073','1134','4074','4075','4076','4077','4079','4081','4082','4083','4084','4085','4086','4087','4088','4089','4090','4091','4092','4093','4094','4095','4096','4097','4098','4099','4100','4101','4102','4103','4104','4105','4106','4107','4109','4110','4112','4113','4114','4115','4116','4118','4123','4181','4182','4183','4184','4185','4224','4225','4226','4229','4230','4231','4232','4234','4235','4236','4237','4238','4239','4240','4241','4242','4243','4247','4251','4252','4253','4260','4261','4262','4266','4267','4268','23','4306','4307','4308','4309','4310','4311','4312','4313','4314','4315','4317','4318','4319','4321','4322','4323','4324','4325','4326','4327','4328','4329','4330','4332','4333','4334','4336','4337','4343','4344','4346','4348','4349','4350','4351','4352','4355','4356','4357','4358','4359','4360','4361','4362','4363','4364','4365','4366','781','4489','4491','4492','4496','4494','4501') AND g.goods_id IN ('2865','2875','3893','487') ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) )