Warning: Use of undefined constant DB_NAME_PC - assumed 'DB_NAME_PC' (this will throw an Error in a future version of PHP) in /home/users/1/elnet/web/2ch/rank.php on line 7
string(112) "SQLSTATE[HY000] [1044] Access denied for user '_elnet_2ch'@'172.19.100.0/255.255.252.0' to database 'DB_NAME_PC'"
Warning: Use of undefined constant DB_NAME_COUNT - assumed 'DB_NAME_COUNT' (this will throw an Error in a future version of PHP) in /home/users/1/elnet/web/2ch/rank.php on line 15
string(115) "SQLSTATE[HY000] [1044] Access denied for user '_elnet_2ch'@'172.19.100.0/255.255.252.0' to database 'DB_NAME_COUNT'"
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/users/1/elnet/web/2ch/inc/db.php:57 Stack trace: #0 /home/users/1/elnet/web/2ch/rank.php(28): common->sqlarray('select cid,sum(...') #1 {main} thrown in /home/users/1/elnet/web/2ch/inc/db.php on line 57