Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/jobadmin/Sites/jobec.ru/include/functions.inc.php on line 7

Fatal error: Smarty error: unable to write to $compile_dir '/home/jobadmin/Sites/jobec.ru/templates_c'. Be sure $compile_dir is writable by the web server user. in /home/jobadmin/Sites/jobec.ru/libs/Smarty.class.php on line 1092