Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in D:\www\ecshop\includes\lib_goods.php on line 1702 Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in D:\www\ecshop\includes\lib_goods.php on line 1706 MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT a.goods_id,a.goods_name,a.goods_sn, a.shop_price,a.is_promote,a.promote_price, a.promote_start_date,a.promote_end_date, a.goods_thumb,a.goods_slide_img,a.crm_mon_sale, substring(a.goods_name,1,instr(a.goods_name,' ')) as goods_left, substring(a.goods_name,instr(a.goods_name,' ')+1,length(a.goods_name)-instr(a.goods_name,' ')) as goods_right FROM `ecshop`.`pg_goods` as a LEFT JOIN `ecshop`.`pg_goods_cat` as b ON a.goods_id=b.goods_id WHERE a.is_delete=0 AND a.is_on_sale=1 AND a.crm_mon_sale>0 AND b.cat_id IN (SELECT cat_id FROM pg_category WHERE parent_id=475 and is_show=1) GROUP BY goods_id ORDER BY a.crm_mon_sale DESC LIMIT 12 ) [2] => Array ( [error] => Query execution was interrupted ) [3] => Array ( [errno] => 1317 ) ) Warning: mysql_query(): MySQL server has gone away in D:\www\ecshop\includes\cls_mysql.php on line 268 Warning: mysql_query(): Error reading result set's header in D:\www\ecshop\includes\cls_mysql.php on line 268 MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT a.goods_id,a.goods_name,a.goods_sn, a.shop_price,a.is_promote,a.promote_price, a.promote_start_date,a.promote_end_date, a.goods_thumb,a.goods_slide_img,a.crm_mon_sale, substring(a.goods_name,1,instr(a.goods_name,' ')) as goods_left, substring(a.goods_name,instr(a.goods_name,' ')+1,length(a.goods_name)-instr(a.goods_name,' ')) as goods_right FROM `ecshop`.`pg_goods` as a LEFT JOIN `ecshop`.`pg_goods_cat` as b ON a.goods_id=b.goods_id WHERE a.is_delete=0 AND a.is_on_sale=1 AND a.crm_mon_sale>0 AND b.cat_id IN (SELECT cat_id FROM pg_category WHERE parent_id=475 and is_show=1) GROUP BY goods_id ORDER BY a.crm_mon_sale DESC LIMIT 12 ) [2] => Array ( [error] => Query execution was interrupted ) [3] => Array ( [errno] => 1317 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `ecshop`.`pg_sessions` SET expiry = '1558624907', ip = '52.23.234.7', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:4:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;s:13:\"act_is_change\";b:1;}' WHERE sesskey = '31042ed26a20bc54fb63e9c581647f39' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )