dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Web-site not dispaying

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    4

    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!

  2. #2
    Join Date
    Mar 2011
    Location
    The Pleiades
    Posts
    31
    PM me.

    Regards,

    LC.

  3. #3
    Join Date
    Mar 2013
    Posts
    4
    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?)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles