Deprecated: Assigning the return value of new by reference is deprecated in /home/content/n/i/a/nianbai/html/lvwo/blog/class/database/pdb/drivers/pdbdriverbase.class.php on line 235

Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/content/n/i/a/nianbai/html/lvwo/blog/class/database/pdb/drivers/pdbmysqldriver.class.php on line 103

Warning: mysql_error() expects parameter 1 to be resource, boolean given in /home/content/n/i/a/nianbai/html/lvwo/blog/class/database/pdb/drivers/pdbmysqldriver.class.php on line 133

Fatal error: Uncaught exception 'Exception' with message 'Fatal error: could not connect to the database! Error: ' in /home/content/n/i/a/nianbai/html/lvwo/blog/class/database/db.class.php:76 Stack trace: #0 /home/content/n/i/a/nianbai/html/lvwo/blog/class/config/configdbstorage.class.php(83): Db->getDb() #1 /home/content/n/i/a/nianbai/html/lvwo/blog/class/config/configdbstorage.class.php(63): ConfigDbStorage->_initializeDatabase() #2 /home/content/n/i/a/nianbai/html/lvwo/blog/class/config/configdbstorage.class.php(56): ConfigDbStorage->_loadAllValuesFromDatabase() #3 /home/content/n/i/a/nianbai/html/lvwo/blog/class/config/config.class.php(103): ConfigDbStorage->ConfigDbStorage(NULL) #4 /home/content/n/i/a/nianbai/html/lvwo/blog/plugins/badbehavior/index.inc.php(97): Config::getConfig() #5 /home/content/n/i/a/nianbai/html/lvwo/blog/plugins/badbehavior/index.inc.php(126): bb2_read_settings() #6 /home/content/n/i/a/nianbai/html/lvwo/blog/plugins/badbehavior/index.inc.php(153): bb2_install() #7 /home/content/n/i/a/nianbai/ht in /home/content/n/i/a/nianbai/html/lvwo/blog/class/database/db.class.php on line 76