PDA

View Full Version : EE Setup Problems


Next2net
18th of May 2002 (Sat), 20:53
I 'm having problems setting up EE on my Affinity Hosting account. I think the PHP version is 4.06. I believe I have the connect.php correct, as follows:

$dbcnx = @mysql_connect("sql.ahnet.net", "next2n", "my password");

(! @mysql_select_db("next2n") )

Here is the error message I get when trying to coneect to http://www.next2net.com/gallery/setup.php:

Warning: Failed opening 'add/connect.php' for inclusion (include_path='.:') in /nfs/cust/5/4/2/next2n/gallery/setup.php/ on line 4

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /nfs/cust/5/4/2/next2n/gallery/setup.php/ on line 13

Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /nfs/cust/5/4/2/next2n/gallery/setup.php/ on line 13

Warning: MySQL: A link to the server could not be established in /nfs/cust/5/4/2/next2n/gallery/setup.php/ on line 13

Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

IN QUERY
DROP TABLE IF EXISTS `ee_camera`

If you can, please help me.

Thank you,
Robb

Pekka
19th of May 2002 (Sun), 05:22
Your server include path seems to be correct (.:) but still you PHP can't somehow use it. Try this:

Insert lines...




...into the beginning of setup.php and to very end of fetchsettings.php

If this does not work, contact your server support and ask them if there is some virtual account configuration problem causing this.

To me it seems also that in your server the php is installed WITHOUT mysql support (i.e. mysql is installed but PHP is not set to use it). Might want to check that, too.

Next2net
19th of May 2002 (Sun), 12:55
I inserted these lines and did not seem to help. I have opened a trouble tkt. with the Affinity Technical helpdesk. I will keep you posted on the out come. Thank you for your quick response.

If you think of anything else that I might try, just let me know.

Thank you,
Robb

gjohnson
28th of May 2002 (Tue), 15:08
fyi - I was having a similar problem on install with my hosting account. I added the code indicated above and it worked like a charm.

Thanks for the tip, Pekka!