A12 Posted September 14, 2007 Share Posted September 14, 2007 Can some body help me to fix this up Warning: main(includes/db_connect.php): failed to open stream: No such file or directory in /home/www/global-hooligan.freehostia.com/index.php on line 3 Warning: main(): Failed opening 'includes/db_connect.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/global-hooligan.freehostia.com/index.php on line 3 Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/global-hooligan.freehostia.com/index.php on line 22 Warning: mysql_query(): A link to the server could not be established in /home/www/global-hooligan.freehostia.com/index.php on line 22 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/global-hooligan.freehostia.com/index.php on line 25 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/www/global-hooligan.freehostia.com/index.php on line 26 Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/global-hooligan.freehostia.com/index.php on line 116 Warning: mysql_query(): A link to the server could not be established in /home/www/global-hooligan.freehostia.com/index.php on line 116 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/global-hooligan.freehostia.com/index.php on line 11 Quote Link to comment Share on other sites More sharing options...
c0rkscrew Posted September 14, 2007 Share Posted September 14, 2007 Re: Help with databass You have it linked to the wrong location for your database file. You need to make sure that the link to your database connection file is correct. Quote Link to comment Share on other sites More sharing options...
dementor Posted September 14, 2007 Share Posted September 14, 2007 Re: Help with databass find it in mysquel.php first but most probaly localhost rest u should be able to figure out Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.