View Full Version : Help !
S.O.X
07-16-2004, 09:35 PM
why the site www.ncf.com not work?
chinook_apache
07-16-2004, 09:39 PM
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? ;)
S.O.X
07-16-2004, 10:18 PM
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? ;)
I'm the administrator of this domain & forum
How can I fix this ??
;)
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? ;)
I'm the administrator of this domain & forum
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.
chinook_apache
07-16-2004, 10:57 PM
you need to go into the phpmy admin of your website and check the db for errors, if there any repair them.
S.O.X
07-16-2004, 11:09 PM
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.
i'll do it
thanx my man :lol:
chinook_apache
07-16-2004, 11:12 PM
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 :)
S.O.X
07-16-2004, 11:34 PM
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:
chinook_apache
07-16-2004, 11:39 PM
for the error seen it mentions the db is called
rap4life_rap4life
S.O.X
07-17-2004, 12:29 AM
sorry but it isn't
Originally posted by S.O.X@16 July 2004 - 18:37
sorry but it isn't
What kind of access do you have to the database?
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.
sparsely
07-17-2004, 01:33 AM
and you may want to disable warnings if you have access to php.ini
and yeah, what shn said.
Access denied for user: 'rap4life@localhost' (Using password: edited out)
S.O.X
07-17-2004, 03:17 PM
the file
/home/nef/public_html/sources/Drivers/mySQL.php
is empty
i'll ask the other admin about this prob.
thanx4the help
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
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:
S.O.X
07-23-2004, 08:15 AM
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:
S.O.X
07-23-2004, 09:20 AM
anyone ??
sparsely
07-23-2004, 02:14 PM
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:
<?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");
?>
just enter the correct information for the top four variables. (location, username, password, database). and upload again.
S.O.X
07-23-2004, 10:10 PM
i did this
what is the next problem?
http://nef.com/index.php
???
sparsely
07-23-2004, 10:14 PM
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.
S.O.X
07-23-2004, 10:18 PM
i think that the info is correct
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.