Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/thenichesite/db.php on line 2

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/thenichesite/db.php on line 3

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /var/www/html/thenichesite/db.php on line 3

Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/thenichesite/site.config.php on line 12

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/html/thenichesite/site.config.php on line 12

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/www/html/thenichesite/site.config.php on line 14

Warning: include(/var/www/html/thenichesite/templates/.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/thenichesite/base.config.php on line 4

Warning: include() [function.include]: Failed opening '/var/www/html/thenichesite/templates/.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/thenichesite/base.config.php on line 4