Warning: mysql_query(): MySQL server has gone away in /home/www/hediao/includes/cls_mysql.php on line 261 Warning: mysql_query(): Error reading result set's header in /home/www/hediao/includes/cls_mysql.php on line 261 MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT a.attr_id, MIN(a.goods_attr_id ) AS goods_id, a.attr_value AS attr_value FROM `hediao`.`ecs_goods_attr` AS a, `hediao`.`ecs_goods` AS g WHERE (g.cat_id IN ('11','1000','1139','999','1109','1140','1141') OR g.goods_id IN ('147','158','467','471','479','481','485','488','493','498','501','515','528','533','551','555','559','577','580','582','584','676','878','901','913','938','944','954','990','1019','1025','1030','1033','1061','1232','1256','1261','1282','1307','1309','1310','1317','1356','1371','1379','1385','1392','1438','1439','1442','1443','1444','1451','1453','1455','1460','1464','1465','1467','1471','1473','1479','1491','1492','1497','1499','1501','1508','1509','1510','1516','1517','1525','1527','1530','1533','1544','1546','1562','1569','1586','1601','1609','1612','1613','1614','1624','1630','1637','1654','1656','1668','1673','1674','1686','1700','1701','1703','1704','1710','1727','1738','1741','1743','1749','1756','1765','1769','1775','1791','1815','1816','1837','1838','1849','1852','1882','1885','1890','1894','1896','1901','1902','1907','1914','1916','1924','1925','1928','1934','1935','1940','1944','1945','1946','1964','1972','1982','1985','1986','2000','2006','2009','2033','2037','2050','2051','2066','2088','2094','2106','2107','2119','2120','2139','2155','2180','2202','2206','2214','2215','2217','2221','2241','2249','2254','2257','2261','2271','2289','2313','2315','2322','2328','2330','2362','2363','2376','2380','2381','2382','2392','2395','2406','2414','2449','2466','2470','2485','2500','2504','2527','2531','2535','2545','2551','2556','2557','2558','2573','2576','2577','2580','2583','2597','2603','2615','2619','2636','2644','2666','2668','2679','2681','2687','2696','2716','2723','2724','2731','2732','2752','2774','2781','2785','2786','2796','2820','2821','2833','2840','2855','2864','2877','2882','2883','2893','2896','2897','2901','2902','2911','2912','2914','2922','2947','2951','2958','2959','2963','2967','2973','2974','2979','2983','2988','3003','3019','3020','3023','3024','3039','3040','3044','3047','3058','3068','3070','3093','3094','3096','3101','3108','3114','3144','3145','3158','3163','3182','3185','3197','3207','3217','3224','3229','3232','3234','3241','3249','3266','3280','3302','3308','3317','3321','3332','3336','3337','3370','3372','3378','3383','3388','3400','3403','3406','3407','3418','3428','3435','3437','3441','3456','3457','3466','3467','3473','3474','3483','3491','3500','3510','3511','3513','3528','3529','3532','3547','3549','3556','3557','3571','3594','3595','3602','3603','3613','3624','3640','3655','3668','3674','3677','3689','3699','3706','3707','3708','3717','3721','3730','3742','3746','3754','3767','3772','3776','3779','3792','3800','3805','3806','3839','3842','3867','3874','3875','3881','3903','3908','3921','3939','3944','3945','3957','3958','3964','3969','3974','3978','3984','3996','4001','4005','4016','4022','4047','4058','4065','4068','4072','4077','4085','4108','4113','4121','4122','4130','4133','4146','4150','4151','4164','4178','4179','4198','4210','4213','4215','4229','4231','4232','4235','4237','4238','4240','4244','4248','4250','4259','4263','4269','4279','4280','4290','4297','4302','4320','4322','4328','4335','4342','4344','4354','4356','4359','4362','4368','4373','4378') ) AND g.goods_id = a.goods_id AND g.is_delete = 0 AND g.is_display=1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND a.attr_id='16' GROUP BY a.attr_value ) [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 a.attr_id, MIN(a.goods_attr_id ) AS goods_id, a.attr_value AS attr_value FROM `hediao`.`ecs_goods_attr` AS a, `hediao`.`ecs_goods` AS g WHERE (g.cat_id IN ('11','1000','1139','999','1109','1140','1141') OR g.goods_id IN ('147','158','467','471','479','481','485','488','493','498','501','515','528','533','551','555','559','577','580','582','584','676','878','901','913','938','944','954','990','1019','1025','1030','1033','1061','1232','1256','1261','1282','1307','1309','1310','1317','1356','1371','1379','1385','1392','1438','1439','1442','1443','1444','1451','1453','1455','1460','1464','1465','1467','1471','1473','1479','1491','1492','1497','1499','1501','1508','1509','1510','1516','1517','1525','1527','1530','1533','1544','1546','1562','1569','1586','1601','1609','1612','1613','1614','1624','1630','1637','1654','1656','1668','1673','1674','1686','1700','1701','1703','1704','1710','1727','1738','1741','1743','1749','1756','1765','1769','1775','1791','1815','1816','1837','1838','1849','1852','1882','1885','1890','1894','1896','1901','1902','1907','1914','1916','1924','1925','1928','1934','1935','1940','1944','1945','1946','1964','1972','1982','1985','1986','2000','2006','2009','2033','2037','2050','2051','2066','2088','2094','2106','2107','2119','2120','2139','2155','2180','2202','2206','2214','2215','2217','2221','2241','2249','2254','2257','2261','2271','2289','2313','2315','2322','2328','2330','2362','2363','2376','2380','2381','2382','2392','2395','2406','2414','2449','2466','2470','2485','2500','2504','2527','2531','2535','2545','2551','2556','2557','2558','2573','2576','2577','2580','2583','2597','2603','2615','2619','2636','2644','2666','2668','2679','2681','2687','2696','2716','2723','2724','2731','2732','2752','2774','2781','2785','2786','2796','2820','2821','2833','2840','2855','2864','2877','2882','2883','2893','2896','2897','2901','2902','2911','2912','2914','2922','2947','2951','2958','2959','2963','2967','2973','2974','2979','2983','2988','3003','3019','3020','3023','3024','3039','3040','3044','3047','3058','3068','3070','3093','3094','3096','3101','3108','3114','3144','3145','3158','3163','3182','3185','3197','3207','3217','3224','3229','3232','3234','3241','3249','3266','3280','3302','3308','3317','3321','3332','3336','3337','3370','3372','3378','3383','3388','3400','3403','3406','3407','3418','3428','3435','3437','3441','3456','3457','3466','3467','3473','3474','3483','3491','3500','3510','3511','3513','3528','3529','3532','3547','3549','3556','3557','3571','3594','3595','3602','3603','3613','3624','3640','3655','3668','3674','3677','3689','3699','3706','3707','3708','3717','3721','3730','3742','3746','3754','3767','3772','3776','3779','3792','3800','3805','3806','3839','3842','3867','3874','3875','3881','3903','3908','3921','3939','3944','3945','3957','3958','3964','3969','3974','3978','3984','3996','4001','4005','4016','4022','4047','4058','4065','4068','4072','4077','4085','4108','4113','4121','4122','4130','4133','4146','4150','4151','4164','4178','4179','4198','4210','4213','4215','4229','4231','4232','4235','4237','4238','4240','4244','4248','4250','4259','4263','4269','4279','4280','4290','4297','4302','4320','4322','4328','4335','4342','4344','4354','4356','4359','4362','4368','4373','4378') ) AND g.goods_id = a.goods_id AND g.is_delete = 0 AND g.is_display=1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND a.attr_id='16' GROUP BY a.attr_value ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `hediao`.`ecs_sessions` SET expiry = '1731329315', ip = '18.219.70.7', 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 = '079918ffba3807c1a61291c20ca33c48' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )