ECSHOP info: Can't Connect MySQL Server(localhost:3306)!

MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) [256] => Array ( [message] => MySQL Query Error ) [257] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('25') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [258] => Array ( [error] => ) [259] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) [256] => Array ( [message] => MySQL Query Error ) [257] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('25') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [258] => Array ( [error] => ) [259] => Array ( [errno] => ) [260] => Array ( [message] => MySQL Query Error ) [261] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('26') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [262] => Array ( [error] => ) [263] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) [256] => Array ( [message] => MySQL Query Error ) [257] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('25') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [258] => Array ( [error] => ) [259] => Array ( [errno] => ) [260] => Array ( [message] => MySQL Query Error ) [261] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('26') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [262] => Array ( [error] => ) [263] => Array ( [errno] => ) [264] => Array ( [message] => MySQL Query Error ) [265] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('3') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [266] => Array ( [error] => ) [267] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) [256] => Array ( [message] => MySQL Query Error ) [257] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('25') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [258] => Array ( [error] => ) [259] => Array ( [errno] => ) [260] => Array ( [message] => MySQL Query Error ) [261] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('26') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [262] => Array ( [error] => ) [263] => Array ( [errno] => ) [264] => Array ( [message] => MySQL Query Error ) [265] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('3') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [266] => Array ( [error] => ) [267] => Array ( [errno] => ) [268] => Array ( [message] => MySQL Query Error ) [269] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('1') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [270] => Array ( [error] => ) [271] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) [256] => Array ( [message] => MySQL Query Error ) [257] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('25') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [258] => Array ( [error] => ) [259] => Array ( [errno] => ) [260] => Array ( [message] => MySQL Query Error ) [261] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('26') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [262] => Array ( [error] => ) [263] => Array ( [errno] => ) [264] => Array ( [message] => MySQL Query Error ) [265] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('3') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [266] => Array ( [error] => ) [267] => Array ( [errno] => ) [268] => Array ( [message] => MySQL Query Error ) [269] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('1') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [270] => Array ( [error] => ) [271] => Array ( [errno] => ) [272] => Array ( [message] => MySQL Query Error ) [273] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('56') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [274] => Array ( [error] => ) [275] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('123') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [234] => Array ( [error] => ) [235] => Array ( [errno] => ) [236] => Array ( [message] => MySQL Query Error ) [237] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [238] => Array ( [error] => ) [239] => Array ( [errno] => ) [240] => Array ( [message] => MySQL Query Error ) [241] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('23') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [242] => Array ( [error] => ) [243] => Array ( [errno] => ) [244] => Array ( [message] => MySQL Query Error ) [245] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('23') ) [246] => Array ( [error] => ) [247] => Array ( [errno] => ) [248] => Array ( [message] => MySQL Query Error ) [249] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('23') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [250] => Array ( [error] => ) [251] => Array ( [errno] => ) [252] => Array ( [message] => MySQL Query Error ) [253] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('0') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [254] => Array ( [error] => ) [255] => Array ( [errno] => ) [256] => Array ( [message] => MySQL Query Error ) [257] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('25') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [258] => Array ( [error] => ) [259] => Array ( [errno] => ) [260] => Array ( [message] => MySQL Query Error ) [261] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('26') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [262] => Array ( [error] => ) [263] => Array ( [errno] => ) [264] => Array ( [message] => MySQL Query Error ) [265] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('3') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [266] => Array ( [error] => ) [267] => Array ( [errno] => ) [268] => Array ( [message] => MySQL Query Error ) [269] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('1') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [270] => Array ( [error] => ) [271] => Array ( [errno] => ) [272] => Array ( [message] => MySQL Query Error ) [273] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('56') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [274] => Array ( [error] => ) [275] => Array ( [errno] => ) [276] => Array ( [message] => MySQL Query Error ) [277] => Array ( [sql] => SELECT DISTINCT a.id_value,g.goods_id,g.goods_thumb,g.goods_name,g.shop_price FROM `jyt`.`ecs_comment` AS a,`jyt`.`ecs_goods`AS g WHERE a.status = 1 AND a.parent_id = 0 and a.comment_type=0 and g.cat_id IN ('23') and a.id_value=g.goods_id ORDER by g.comments_number DESC LIMIT 15 ) [278] => Array ( [error] => ) [279] => Array ( [errno] => ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT code, value FROM `jyt`.`ecs_shop_config` WHERE parent_id > 0 ) [2] => Array ( [error] => ) [3] => Array ( [errno] => ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => INSERT INTO `jyt`.`ecs_sessions` (sesskey, expiry, ip, data) VALUES ('27f5de2cc6fda9063e336b9abaaee4cd', '1590626399', '3.231.226.13', 'a:0:{}') ) [6] => Array ( [error] => ) [7] => Array ( [errno] => ) [8] => Array ( [message] => MySQL Query Error ) [9] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [10] => Array ( [error] => ) [11] => Array ( [errno] => ) [12] => Array ( [message] => MySQL Query Error ) [13] => Array ( [sql] => INSERT INTO `jyt`.`ecs_stats` ( ip_address, visit_times, browser, system, language, area, referer_domain, referer_path, access_url, access_time) VALUES ('3.231.226.13', '1', 'Unknow browser', 'Unknown', 'en-US,en', '美国', '', '', '/index.php', '1590597599') ) [14] => Array ( [error] => ) [15] => Array ( [errno] => ) [16] => Array ( [message] => MySQL Query Error ) [17] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.measure_unit, c.parent_id, c.is_show, c.show_in_nav, c.grade, c.sort_order, COUNT(s.cat_id) AS has_children FROM `jyt`.`ecs_category` AS c LEFT JOIN `jyt`.`ecs_category` AS s ON s.parent_id=c.cat_id GROUP BY c.cat_id ORDER BY c.parent_id, c.sort_order ASC ) [18] => Array ( [error] => ) [19] => Array ( [errno] => ) [20] => Array ( [message] => MySQL Query Error ) [21] => Array ( [sql] => SELECT cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods` WHERE is_delete = 0 AND is_on_sale = 1 GROUP BY cat_id ) [22] => Array ( [error] => ) [23] => Array ( [errno] => ) [24] => Array ( [message] => MySQL Query Error ) [25] => Array ( [sql] => SELECT gc.cat_id, COUNT(*) AS goods_num FROM `jyt`.`ecs_goods_cat` AS gc , `jyt`.`ecs_goods` AS g WHERE g.goods_id = gc.goods_id AND g.is_delete = 0 AND g.is_on_sale = 1 GROUP BY gc.cat_id ) [26] => Array ( [error] => ) [27] => Array ( [errno] => ) [28] => Array ( [message] => MySQL Query Error ) [29] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_nav` WHERE ifshow = '1' ORDER BY type, vieworder ) [30] => Array ( [error] => ) [31] => Array ( [errno] => ) [32] => Array ( [message] => MySQL Query Error ) [33] => Array ( [sql] => SELECT count(*) FROM `jyt`.`ecs_category` WHERE parent_id = '0' AND is_show = 1 ) [34] => Array ( [error] => ) [35] => Array ( [errno] => ) [36] => Array ( [message] => MySQL Query Error ) [37] => Array ( [sql] => SELECT cat_id,cat_name,cat_pic,cat_link,parent_id,is_show FROM `jyt`.`ecs_category`WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, cat_id ASC ) [38] => Array ( [error] => ) [39] => Array ( [errno] => ) [40] => Array ( [message] => MySQL Query Error ) [41] => Array ( [sql] => SELECT c.cat_id, c.cat_name, c.sort_order, a.article_id, a.title, a.file_url, a.open_type FROM `jyt`.`ecs_article` AS a LEFT JOIN `jyt`.`ecs_article_cat` AS c ON a.cat_id = c.cat_id WHERE c.cat_type = 5 AND a.is_open = 1 ORDER BY c.sort_order ASC, a.article_id ) [42] => Array ( [error] => ) [43] => Array ( [errno] => ) [44] => Array ( [message] => MySQL Query Error ) [45] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('') ) [46] => Array ( [error] => ) [47] => Array ( [errno] => ) [48] => Array ( [message] => MySQL Query Error ) [49] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.shop_price, g.goods_thumb, SUM(og.goods_number) as goods_number FROM `jyt`.`ecs_goods` AS g, `jyt`.`ecs_order_info` AS o, `jyt`.`ecs_order_goods` AS og WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('') OR g.goods_id IN ('') ) AND og.order_id = o.order_id AND og.goods_id = g.goods_id AND (o.order_status = '1' OR o.order_status = '5') AND (o.pay_status = '2' OR o.pay_status = '1') AND (o.shipping_status = '1' OR o.shipping_status = '2') GROUP BY g.goods_id ORDER BY goods_number DESC, g.goods_id DESC LIMIT 10 ) [50] => Array ( [error] => ) [51] => Array ( [errno] => ) [52] => Array ( [message] => MySQL Query Error ) [53] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [54] => Array ( [error] => ) [55] => Array ( [errno] => ) [56] => Array ( [message] => MySQL Query Error ) [57] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [58] => Array ( [error] => ) [59] => Array ( [errno] => ) [60] => Array ( [message] => MySQL Query Error ) [61] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [62] => Array ( [error] => ) [63] => Array ( [errno] => ) [64] => Array ( [message] => MySQL Query Error ) [65] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [66] => Array ( [error] => ) [67] => Array ( [errno] => ) [68] => Array ( [message] => MySQL Query Error ) [69] => Array ( [sql] => SELECT g.goods_id, g.is_best, g.is_new, g.is_hot, g.is_promote, b.brand_name,g.sort_order FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id WHERE g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.is_best = 1 OR g.is_new =1 OR g.is_hot = 1) ORDER BY g.sort_order, g.last_update DESC ) [70] => Array ( [error] => ) [71] => Array ( [errno] => ) [72] => Array ( [message] => MySQL Query Error ) [73] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, g.goods_img, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.goods_id IN ('') ORDER BY g.sort_order, g.last_update DESC ) [74] => Array ( [error] => ) [75] => Array ( [errno] => ) [76] => Array ( [message] => MySQL Query Error ) [77] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price,g.sales_count, g.shop_price AS org_price,g.pro_pic1, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name, g.is_best, g.is_new, g.is_hot, g.is_promote, RAND() AS rnd FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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_diy3>0 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND g.is_promote = 1 AND promote_start_date <= '1590597599' AND promote_end_date >= '1590597599' ORDER BY g.is_diy3 ASC LIMIT 4 ) [78] => Array ( [error] => ) [79] => Array ( [errno] => ) [80] => Array ( [message] => MySQL Query Error ) [81] => Array ( [sql] => SELECT library, number FROM `jyt`.`ecs_template` WHERE theme = '' AND filename = 'index' AND remarks='' ) [82] => Array ( [error] => ) [83] => Array ( [errno] => ) [84] => Array ( [message] => MySQL Query Error ) [85] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `jyt`.`ecs_brand`AS b, `jyt`.`ecs_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id ORDER BY tag DESC, b.sort_order ASC LIMIT 3 ) [86] => Array ( [error] => ) [87] => Array ( [errno] => ) [88] => Array ( [message] => MySQL Query Error ) [89] => Array ( [sql] => SELECT act_id, act_name, act_type, start_time, end_time FROM `jyt`.`ecs_goods_activity` WHERE is_finished=0 AND start_time <= '1590597599' AND end_time >= '1590597599' ) [90] => Array ( [error] => ) [91] => Array ( [errno] => ) [92] => Array ( [message] => MySQL Query Error ) [93] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_favourable_activity` WHERE start_time <= '1590597599' AND end_time >= '1590597599' ) [94] => Array ( [error] => ) [95] => Array ( [errno] => ) [96] => Array ( [message] => MySQL Query Error ) [97] => Array ( [sql] => SELECT o.order_sn, o.invoice_no, s.shipping_code FROM `jyt`.`ecs_order_info` AS o LEFT JOIN `jyt`.`ecs_shipping` AS s ON s.shipping_id = o.shipping_id WHERE invoice_no > '' AND shipping_status = 1 ORDER BY shipping_time DESC LIMIT 10 ) [98] => Array ( [error] => ) [99] => Array ( [errno] => ) [100] => Array ( [message] => MySQL Query Error ) [101] => Array ( [sql] => SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name FROM `jyt`.`ecs_article` AS a, `jyt`.`ecs_article_cat` AS ac WHERE a.is_open = 1 AND a.cat_id = ac.cat_id AND ac.cat_type = 1 ORDER BY a.article_type DESC, a.add_time DESC LIMIT 5 ) [102] => Array ( [error] => ) [103] => Array ( [errno] => ) [104] => Array ( [message] => MySQL Query Error ) [105] => Array ( [sql] => SELECT gb.act_id AS group_buy_id, gb.goods_id, gb.ext_info, gb.goods_name, g.goods_thumb, g.goods_img FROM `jyt`.`ecs_goods_activity` AS gb, `jyt`.`ecs_goods` AS g WHERE gb.act_type = '1' AND g.goods_id = gb.goods_id AND gb.start_time <= '1590597599' AND gb.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY gb.act_id DESC LIMIT 3 ) [106] => Array ( [error] => ) [107] => Array ( [errno] => ) [108] => Array ( [message] => MySQL Query Error ) [109] => Array ( [sql] => SELECT a.act_id, a.goods_id, a.goods_name, a.ext_info, g.goods_thumb FROM `jyt`.`ecs_goods_activity` AS a,`jyt`.`ecs_goods` AS g WHERE a.goods_id = g.goods_id AND a.act_type = '2' AND a.is_finished = 0 AND a.start_time <= '1590597599' AND a.end_time >= '1590597599' AND g.is_delete = 0 ORDER BY a.start_time DESC LIMIT 3 ) [110] => Array ( [error] => ) [111] => Array ( [errno] => ) [112] => Array ( [message] => MySQL Query Error ) [113] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [114] => Array ( [error] => ) [115] => Array ( [errno] => ) [116] => Array ( [message] => MySQL Query Error ) [117] => Array ( [sql] => SELECT * FROM `jyt`.`ecs_order_info` WHERE pay_status=2 and mobile<>"" order by pay_time desc limit 8 ) [118] => Array ( [error] => ) [119] => Array ( [errno] => ) [120] => Array ( [message] => MySQL Query Error ) [121] => Array ( [sql] => SELECT link_logo, link_name, link_url FROM `jyt`.`ecs_friend_link` where cat_id=0 ORDER BY show_order ) [122] => Array ( [error] => ) [123] => Array ( [errno] => ) [124] => Array ( [message] => MySQL Query Error ) [125] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [126] => Array ( [error] => ) [127] => Array ( [errno] => ) [128] => Array ( [message] => MySQL Query Error ) [129] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('3') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [130] => Array ( [error] => ) [131] => Array ( [errno] => ) [132] => Array ( [message] => MySQL Query Error ) [133] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('3') ) [134] => Array ( [error] => ) [135] => Array ( [errno] => ) [136] => Array ( [message] => MySQL Query Error ) [137] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('3') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [138] => Array ( [error] => ) [139] => Array ( [errno] => ) [140] => Array ( [message] => MySQL Query Error ) [141] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [142] => Array ( [error] => ) [143] => Array ( [errno] => ) [144] => Array ( [message] => MySQL Query Error ) [145] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('1') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [146] => Array ( [error] => ) [147] => Array ( [errno] => ) [148] => Array ( [message] => MySQL Query Error ) [149] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('1') ) [150] => Array ( [error] => ) [151] => Array ( [errno] => ) [152] => Array ( [message] => MySQL Query Error ) [153] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('1') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [154] => Array ( [error] => ) [155] => Array ( [errno] => ) [156] => Array ( [message] => MySQL Query Error ) [157] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [158] => Array ( [error] => ) [159] => Array ( [errno] => ) [160] => Array ( [message] => MySQL Query Error ) [161] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('56') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [162] => Array ( [error] => ) [163] => Array ( [errno] => ) [164] => Array ( [message] => MySQL Query Error ) [165] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('56') ) [166] => Array ( [error] => ) [167] => Array ( [errno] => ) [168] => Array ( [message] => MySQL Query Error ) [169] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('56') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [170] => Array ( [error] => ) [171] => Array ( [errno] => ) [172] => Array ( [message] => MySQL Query Error ) [173] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [174] => Array ( [error] => ) [175] => Array ( [errno] => ) [176] => Array ( [message] => MySQL Query Error ) [177] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('16') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [178] => Array ( [error] => ) [179] => Array ( [errno] => ) [180] => Array ( [message] => MySQL Query Error ) [181] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('16') ) [182] => Array ( [error] => ) [183] => Array ( [errno] => ) [184] => Array ( [message] => MySQL Query Error ) [185] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('16') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [186] => Array ( [error] => ) [187] => Array ( [errno] => ) [188] => Array ( [message] => MySQL Query Error ) [189] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [190] => Array ( [error] => ) [191] => Array ( [errno] => ) [192] => Array ( [message] => MySQL Query Error ) [193] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('26') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [194] => Array ( [error] => ) [195] => Array ( [errno] => ) [196] => Array ( [message] => MySQL Query Error ) [197] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('26') ) [198] => Array ( [error] => ) [199] => Array ( [errno] => ) [200] => Array ( [message] => MySQL Query Error ) [201] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('26') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [202] => Array ( [error] => ) [203] => Array ( [errno] => ) [204] => Array ( [message] => MySQL Query Error ) [205] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [206] => Array ( [error] => ) [207] => Array ( [errno] => ) [208] => Array ( [message] => MySQL Query Error ) [209] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('25') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [210] => Array ( [error] => ) [211] => Array ( [errno] => ) [212] => Array ( [message] => MySQL Query Error ) [213] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('25') ) [214] => Array ( [error] => ) [215] => Array ( [errno] => ) [216] => Array ( [message] => MySQL Query Error ) [217] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`ecs_member_price` AS mp ON mp.goods_id = g.goods_id AND mp.user_rank = '0' WHERE g.is_diy1>0 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('25') OR g.goods_id IN ('') ) ORDER BY g.is_diy1 ASC, g.last_update DESC LIMIT 6 ) [218] => Array ( [error] => ) [219] => Array ( [errno] => ) [220] => Array ( [message] => MySQL Query Error ) [221] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [222] => Array ( [error] => ) [223] => Array ( [errno] => ) [224] => Array ( [message] => MySQL Query Error ) [225] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sales_count,g.shop_price AS org_price, g.promote_price, IFNULL(mp.user_price, g.shop_price * '1') AS shop_price, promote_start_date, promote_end_date, g.goods_brief, g.goods_thumb, goods_img, b.brand_name FROM `jyt`.`ecs_goods` AS g LEFT JOIN `jyt`.`ecs_brand` AS b ON b.brand_id = g.brand_id LEFT JOIN `jyt`.`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 ('123') OR g.goods_id IN ('') ) ORDER BY g.sort_order, g.last_update DESC LIMIT 5 ) [226] => Array ( [error] => ) [227] => Array ( [errno] => ) [228] => Array ( [message] => MySQL Query Error ) [229] => Array ( [sql] => SELECT goods_id FROM `jyt`.`ecs_goods_cat` AS g WHERE g.cat_id IN ('123') ) [230] => Array ( [error] => ) [231] => Array ( [errno] => ) [232] => Array ( [message] => MySQL Query Error ) [233] => Array ( [sql] => SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.sale