Warning: include(/var/www/WebSpace/wds.w-endless.com/public_html/admin_system/Lib/sqll1_a.php): failed to open stream: Too many open files in system in /var/www/WebSpace/wds.w-endless.com/public_html/incomenavi/recommend_det.php on line 10

Warning: include(): Failed opening '/var/www/WebSpace/wds.w-endless.com/public_html/admin_system/Lib/sqll1_a.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/WebSpace/wds.w-endless.com/public_html/incomenavi/recommend_det.php on line 10

Notice: Undefined variable: a_thm_id in /var/www/WebSpace/wds.w-endless.com/public_html/incomenavi/recommend_det.php on line 23
エラーYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY tran.rankdt_rank ASC' at line 12/ SELECT mit.item_id AS check_item_id ,mit.item_partnum AS check_item_partnum ,mmk.maker_name AS check_maker_name ,mmk.maker_slug AS check_maker_slug ,tran.rankdt_rank AS check_rankdt_rank ,mit.item_waste_flg AS check_item_waste_flg FROM t_rankingdata tran INNER JOIN m_items mit ON tran.rankdt_item_id = mit.item_id AND mit.item_del_flg = 0 AND mit.item_type = 0 AND mit.item_waste_flg = 0 INNER JOIN m_maker mmk ON mit.item_maker_id = mmk.maker_id WHERE tran.rankdt_rank_id = 0 AND tran.rankdt_maker_id = 0 AND tran.rankdt_brand_id = 0 AND tran.rankdt_thm_id = ORDER BY tran.rankdt_rank ASC