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 SUM(goods_number) AS number, SUM(goods_price * goods_number) AS amount FROM `hediao`.`ecs_cart` WHERE session_id = '221ccbf99143a4a88ef0f09b180afec4' AND rec_type = '0' ) [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 SUM(goods_number) AS number, SUM(goods_price * goods_number) AS amount FROM `hediao`.`ecs_cart` WHERE session_id = '221ccbf99143a4a88ef0f09b180afec4' AND rec_type = '0' ) [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 = '1731355138', ip = '18.191.71.190', 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 = '221ccbf99143a4a88ef0f09b180afec4' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )