登录时出现这样的问题 , 有时又没有, 有与UC整合

2016-07-07 15:23 来源:www.chinab4c.com 作者:ecshop专家

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT u.user_money, u.pay_points, u.user_rank, u.rank_points, IFNULL(b.type_money, 0) AS user_bonus, u.last_login, u.last_ip FROM `zhengxing`.`ecs_users` AS u LEFT JOIN `zhengxing`.`ecs_user_bonus` AS ub ON ub.user_id = u.user_id AND ub.used_time = 0 LEFT JOIN `zhengxing`.`ecs_bonus_type` AS b ON b.type_id = ub.bonus_type_id AND b.use_start_date <= '2010-09-28' AND b.use_end_date >= '2010-09-28' WHERE u.user_id = '1' ) [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 u.user_money, u.pay_points, u.user_rank, u.rank_points, IFNULL(b.type_money, 0) AS user_bonus, u.last_login, u.last_ip FROM `zhengxing`.`ecs_users` AS u LEFT JOIN `zhengxing`.`ecs_user_bonus` AS ub ON ub.user_id = u.user_id AND ub.used_time = 0 LEFT JOIN `zhengxing`.`ecs_bonus_type` AS b ON b.type_id = ub.bonus_type_id AND b.use_start_date <= '2010-09-28' AND b.use_end_date >= '2010-09-28' WHERE u.user_id = '1' ) [2] => Array ( [error] => MySQL server has gone away ) [3] => Array ( [errno] => 2006 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `zhengxing`.`ecs_sessi**` SET expiry = '1285667579', ip = '121.32.1.164', userid = '1', adminid = '0', user_name='zhengxing', user_rank='0', discount='1', email='28657164@qq.com', data = 'a:1:{s:10:\"login_fail\";i:0;}' WHERE sesskey = '5368012a82f38c98bed16615e2d50d21' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )