Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/www/public_html/e-books/_includes/class.Db.php on line 13
Database Connection Error:

Fatal error: Call to undefined function printr() in /home/www/public_html/e-books/config.php on line 34