Forum Moderators: coopster & phranque

Message Too Old, No Replies

Phpdig

Errors on search.php3

         

CaptainKarl

11:31 pm on Oct 1, 2001 (gmt 0)



HELP !! [atbuffalo.com...]
I tryed working this script for days

[phpdig.toiletoine.net...]

Air

1:06 am on Oct 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld CaptainK

Well at a cursory glance it looks like the password to the MySQL database is incorrect or not specified. The documentation refers to two files config.php3 and connect.php3 one of those should have a place for the database username and password, unless the problem is deeper than what I see that should do it.

CaptainKarl

1:40 am on Oct 2, 2001 (gmt 0)



Ok cool seem to fix that error Thank you Air

CaptainKarl

1:41 am on Oct 2, 2001 (gmt 0)



new error now..
<!-Searching-->
Warning: Supplied argument is not a valid MySQL result resource in /home/atbuf/public_html/phpdig/search.php3 on line 83

Warning: Supplied argument is not a valid MySQL result resource in /home/atbuf/public_html/phpdig/search.php3 on line 120

<!-Admin-->
Warning: Supplied argument is not a valid MySQL result resource in /home/atbuf/public_html/phpdig/spider.php3 on line 28

Spidering in progress...

Warning: Supplied argument is not a valid MySQL result resource in /home/atbuf/public_html/phpdig/spider.php3 on line 92
level 0 : more new links

Warning: Supplied argument is not a valid MySQL result resource in /home/atbuf/public_html/phpdig/spider.php3 on line 165

--------------------------------------------------------------------------------

links found :

Warning: Supplied argument is not a valid MySQL result resource in /home/atbuf/public_html/phpdig/spider.php3 on line 169

sugarkane

8:13 am on Oct 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> Warning: Supplied argument is not a valid MySQL result resource

This is usually as result of a connection failure - the script is trying to pull results from Mysql when it doesn't have a connection.

Again, it looks like either the user name, password, or database name is wrong in the script.

Do you have telnet access to the server?

CaptainKarl

11:34 am on Oct 2, 2001 (gmt 0)



Haven't tryed would you like to see anything on server ?

sugarkane

11:53 am on Oct 2, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you do have telnet access, type

mysql -p -u username databasename

at the prompt. It should ask you for a password. If it lets you into mysql that way, check that the values in connect.php3 match the ones you typed.

If that doesn't work, stickymail me the connect.php3 file (don't post it here!) and I'll take a look...