Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP Error When Installing Script
Old 02-23-2008, 11:28 AM PHP Error When Installing Script
Skilled Talker

Posts: 90
Name: Dominic
Location: Columbus, Ohio
Trades: 0
Hello, i'm trying to install a script and this is the error I get.

Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
If you may know what the problem is please post how I could possibl fix this.

Thank you,

Dominic
__________________
Hi Mom
Hi Dad
dominic95 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-23-2008, 11:55 AM Re: PHP Error When Installing Script
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
A query to a database failed, and the script tried to parse it's result.
As it failed, there are no results, thus this error.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 02-23-2008, 11:56 AM Re: PHP Error When Installing Script
Skilled Talker

Posts: 90
Name: Dominic
Location: Columbus, Ohio
Trades: 0
So does that mean the script is no good anymore or I have to fix the error?
__________________
Hi Mom
Hi Dad
dominic95 is offline
Reply With Quote
View Public Profile
 
Old 02-23-2008, 01:05 PM Re: PHP Error When Installing Script
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
The script can be ok, or not...
It can be that the database is not, or the link to the database was not ok.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 02-23-2008, 02:41 PM Re: PHP Error When Installing Script
Skilled Talker

Posts: 90
Name: Dominic
Location: Columbus, Ohio
Trades: 0
I fixed the error. But now I got a new error

Quote:
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /home/user/public_html/blank/blank/blank.php on line 62
__________________
Hi Mom
Hi Dad
dominic95 is offline
Reply With Quote
View Public Profile
 
Old 02-23-2008, 02:45 PM Re: PHP Error When Installing Script
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
That comes from the script, it tries to find the host name of your computer from an IP address, but the IP address fetch to the script is malformed (probably null).

No ideas where it could come from though...
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to PHP Error When Installing Script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26409 seconds with 12 queries