/    Sign up×
Community /Pin to ProfileBookmark

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!

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@LearningCoderMar 07.2013 — PM me.

Regards,

LC.
Copy linkTweet thisAlerts:
@PikStealthauthorMar 07.2013 — 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:

<?php

# FileName="Connection_php_mysql.htm"


# Type="MYSQL"


# HTTP="true"


$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?)
×

Success!

Help @PikStealth spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...