why the site www.ncf.com not work?
Printable View
why the site www.ncf.com not work?
from the looks of it, there is a problem with the database connections ie. the database. The administrators of the site will have to fix to it, eg check the db for errors.
shouldnt this be internetworld? ;)
I'm the administrator of this domain & forumQuote:
Originally posted by chinook_apache@16 July 2004 - 21:47
from the looks of it, there is a problem with the database connections ie. the database. The administrators of the site will have to fix to it, eg check the db for errors.
shouldnt this be internetworld? ;)
How can I fix this ??
;)
I'm the administrator of this domain & forumQuote:
Originally posted by S.O.X+16 July 2004 - 16:26--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (S.O.X @ 16 July 2004 - 16:26)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-chinook_apache@16 July 2004 - 21:47
from the looks of it, there is a problem with the database connections ie. the database. The administrators of the site will have to fix to it, eg check the db for errors.
shouldnt this be internetworld? ;)
How can I fix this ??
;) [/b][/quote]
Your trying to connect to the database from localhost using a password. By default mysql does not have a password set so you would connect without one or use mysql admin to set a password. Or your trying to connect from outside localhost and it may not allow connections from the internet.
you need to go into the phpmy admin of your website and check the db for errors, if there any repair them.
i'll do itQuote:
Originally posted by chinook_apache@16 July 2004 - 23:05
you need to go into the phpmy admin of your website and check the db for errors, if there any repair them.
thanx my man :lol:
yeah no probs and welcome to the forum. i can now understand why you managed to post in the wrong forum...because you are new here :)
yes
I new
I am very happy for the "welcome" msg :)
but I have more question
How I can get info about my username, password and the name of the database. huh?
answer fast please
I'm waiting :music1:
for the error seen it mentions the db is calledCode:rap4life_rap4life
sorry but it isn't
What kind of access do you have to the database?Quote:
Originally posted by S.O.X@16 July 2004 - 18:37
sorry but it isn't
Open up MYSQL.php in an editor and check the lines that it says the errors are causing.
/home/rap4life/public_html/sources/Drivers/mySQL.php on line 65
/home/rap4life/public_html/sources/Drivers/mySQL.php on line 68
/home/rap4life/public_html/sources/Drivers/mySQL.php on line 101
I still say it's an issue with you trying to connect to localhost from the internet.
and you may want to disable warnings if you have access to php.ini
and yeah, what shn said.
Quote:
Access denied for user: 'rap4life@localhost' (Using password: edited out)
the file
/home/nef/public_html/sources/Drivers/mySQL.php
is empty
i'll ask the other admin about this prob.
thanx4the help
You probably don't have read access to the file. Ask the admin to chmod it correctly. Or if it's your host tell em to fix dat shit! :lol:Quote:
Originally posted by S.O.X@17 July 2004 - 09:25
the file
/home/rap4life/public_html/sources/Drivers/mySQL.php
is empty
i'll ask the other admin about this prob.
thanx4the help
how can I edit the file:
http://www.nef.com/sources/Drivers/mySQL.php
????
cuz i want to see the username and the password
Its still not fixed btw :01:
anyone ??
download the file through ftp, open it with notepad....you can't view the php code in your browser, it'll only generate the html.
when you get it, it should look something like this:
just enter the correct information for the top four variables. (location, username, password, database). and upload again.Code:<?php
$location = "my.dbhost.net";
$username = "username";
$password = "password";
$database = "databasename";
$conn = mysql_connect("$location","$username","$password");
if (!$conn) die ("Could not connect MySQL");
mysql_select_db($database,$conn) or die ("Could not open database");
?>
i did this
what is the next problem?
http://nef.com/index.php
???
without actually being able to see the php files & knowing your information, it's hard to say.
I think you've just got the wrong info for one of those variables.
i think that the info is correct