Web-site not dispaying
Hi, I was the IT Manager for an auditing co. in Pretoria, South Africa up until 2009 when I was suspended permanently from working due to medical reasons (brain surgery). I can no longer walk, talk or drive. I want to start my own business for which I have created a web-site (in Dreamweaver), but before I can register the business my web-site has to be live. My hosting server is returning an error. Is there anyone who can help me to resolve this, PLEASE!
If there is anyone willing to help, PLEASE reply to this. I am new to web-design and my hosting company says the error is coding related. (I can't argue with them because I don't know if everything is correct.) I need to get in touch with an experienced web developer. If someone will help I can send the error message and perhaps one of my pages for you to make sure everything is fine, PLEASE!
Morning, all my files are now referencing the correct directory after I have corrected the case.
I have now encountered a different error:
[07-Mar-2013 07:56:35 UTC] PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/www/users/gauintrquj/connections/gauInfoConn.php on line 9
[07-Mar-2013 07:56:35 UTC] PHP Fatal error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/www/users/gauintrquj/connections/gauInfoConn.php on line 9
I have copied connections folder including gauInfoConn.php to the directory gauintrquj to ensure the path is correct.
My site is still not displaying. Here is the code for my gauInfoConn.php file:
$hostname_gauInfoConn = "localhost";
$database_gauInfoConn = "gau_infodb1";
$username_gauInfoConn = "pikstealth";
$password_gauInfoConn = "legolasp";
$gauInfoConn = mysql_pconnect($hostname_gauInfoConn, $username_gauInfoConn, $password_gauInfoConn) or trigger_error(mysql_error(),E_USER_ERROR);
The only thing I can think of is that the $hostname_gauInfoConn = "localhost"; has to change specifying the new host. (Not sure how to do it though, IP Address or server name perhaps?)