PDA

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 ??

;)

shn
07-16-2004, 10:45 PM
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&#39;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&#39;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&#39;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&#39;t

shn
07-17-2004, 12:49 AM
Originally posted by S.O.X@16 July 2004 - 18:37
sorry but it isn&#39;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&#39;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: &#39;rap4life@localhost&#39; (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

shn
07-17-2004, 07:25 PM
Originally posted by S.O.X@17 July 2004 - 09:25
the file
/home/rap4life/public_html/sources/Drivers/mySQL.php
is empty

i&#39;ll ask the other admin about this prob.

thanx4the help
You probably don&#39;t have read access to the file. Ask the admin to chmod it correctly. Or if it&#39;s your host tell em to fix dat shit&#33; :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

DanB
07-23-2004, 09:12 AM
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&#39;t view the php code in your browser, it&#39;ll only generate the html.
when you get it, it should look something like this:



&#60;?php
&#036;location = &#34;my.dbhost.net&#34;;
&#036;username = &#34;username&#34;;
&#036;password = &#34;password&#34;;
&#036;database = &#34;databasename&#34;;

&#036;conn = mysql_connect&#40;&#34;&#036;location&#34;,&#34;&#036;username&#34;,&#34;&#036;password&#34;&#41;;
if &#40;&#33;&#036;conn&#41; die &#40;&#34;Could not connect MySQL&#34;&#41;;
mysql_select_db&#40;&#036;database,&#036;conn&#41; or die &#40;&#34;Could not open database&#34;&#41;;

?&#62;

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&#39;s hard to say.
I think you&#39;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