Warning: include_once(/www/wwwroot/swy/news/config/../../data/news/news_type_b.php): failed to open stream: No such file or directory in /www/wwwroot/swy/news/config/var.inc.php on line 54

Warning: include_once(): Failed opening '/www/wwwroot/swy/news/config/../../data/news/news_type_b.php' for inclusion (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/swy/news/config/var.inc.php on line 54

Warning: include_once(/www/wwwroot/swy/news/config/../../data/news/news_type.php): failed to open stream: No such file or directory in /www/wwwroot/swy/news/config/var.inc.php on line 55

Warning: include_once(): Failed opening '/www/wwwroot/swy/news/config/../../data/news/news_type.php' for inclusion (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/swy/news/config/var.inc.php on line 55
SELECT id,type_id,title,submit_date,bedeck,summary from biweb_news where pass='1' ORDER BY topflag DESC,submit_date DESC LIMIT 0,20

Failed: SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected


Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' in /www/wwwroot/swy/config/global.inc.php(45) : eval()'d code:665 Stack trace: #0 /www/wwwroot/swy/config/global.inc.php(45) : eval()'d code(665): PDO->query('SELECT * FROM b...') #1 /www/wwwroot/swy/config/global.inc.php(45) : eval()'d code(999): ArthurXF->getTypeList() #2 /www/wwwroot/swy/_block.php(13): ArthurXF->makeTypeCache('news') #3 /www/wwwroot/swy/news/include/index.inc.php(74): include('/www/wwwroot/sw...') #4 /www/wwwroot/swy/news/index.php(2): require_once('/www/wwwroot/sw...') #5 {main} thrown in /www/wwwroot/swy/config/global.inc.php(45) : eval()'d code on line 665