MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style,g.goods_sn, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, (select AVG(r.comment_rank) from `ltyonlinecn`.`ecs_comment` as r where r.id_value = g.goods_id AND r.comment_type = 0 AND r.parent_id = 0 AND r.status = 1) AS comment_rank, (select IFNULL(sum(og.goods_number), 0) from `ltyonlinecn`.`ecs_order_goods` as og where og.goods_id = g.goods_id) AS sell_number, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb,g.goods_thumb2, goods_img, b.brand_name, b.brand_id, g.is_best, g.is_new, g.is_hot, g.is_promote FROM `ltyonlinecn`.`ecs_goods` AS g LEFT JOIN `ltyonlinecn`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `ltyonlinecn`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND is_best = 1 AND (g.cat_id IN ('710','659','700','698','705','701','702','703','699','704','711','725','722','723','724','660','696','693','697','694','695','754','748') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 8
)
[2] => Array
(
[error] => Lost connection to MySQL server during query
)
[3] => Array
(
[errno] => 2013
)
)
MySQL server error report:Array
(
[0] => Array
(
[message] => MySQL Query Error
)
[1] => Array
(
[sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style,g.goods_sn, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, (select AVG(r.comment_rank) from `ltyonlinecn`.`ecs_comment` as r where r.id_value = g.goods_id AND r.comment_type = 0 AND r.parent_id = 0 AND r.status = 1) AS comment_rank, (select IFNULL(sum(og.goods_number), 0) from `ltyonlinecn`.`ecs_order_goods` as og where og.goods_id = g.goods_id) AS sell_number, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb,g.goods_thumb2, goods_img, b.brand_name, b.brand_id, g.is_best, g.is_new, g.is_hot, g.is_promote FROM `ltyonlinecn`.`ecs_goods` AS g LEFT JOIN `ltyonlinecn`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `ltyonlinecn`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND is_best = 1 AND (g.cat_id IN ('710','659','700','698','705','701','702','703','699','704','711','725','722','723','724','660','696','693','697','694','695','754','748') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 8
)
[2] => Array
(
[error] => Lost connection to MySQL server during query
)
[3] => Array
(
[errno] => 2013
)
[4] => Array
(
[message] => MySQL Query Error
)
[5] => Array
(
[sql] => UPDATE `ltyonlinecn`.`ecs_sessions` SET expiry = '1716529449', ip = '18.220.244.154', 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 = '6e5e7e987cad7993a486bbc0a4f13a99' LIMIT 1
)
[6] => Array
(
[error] => MySQL server has gone away
)
[7] => Array
(
[errno] => 2006
)
)