One of my friends had problems with his former host and ask me if I could help with his site PHP/MYSQL. I give it everything he could retrieve the ftp root but could not retrieve the database
So I start by copying everything, but I get this error message
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/27/d285131543/htdocs/THESITE/www/Connections/dbconnect.php on line 9
Fatal error: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/27/d285131543/htdocs/THESITE/www/Connections/dbconnect.php on line 9
So I create an empty mysql database and change the dbconnect.php
But what I get this error message
Fatal error: Cannot redeclare __autoload() (previously declared in /homepages/27/d285131543/htdocs/THESITE/www/includes/tng/tNG.inc.php:87) in /homepages/27/d285131543/htdocs/THESITE/www/includes/tng/tNG.inc.php on line 303
Can someone please help me? Is this problem of PHP or MySQL?
Bookmarks