williamleonard / obblm

Automatically exported from code.google.com/p/obblm
1 stars 0 forks source link

0 matches in tour invalid pages and error #289

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Page: 1, 0 
Matches: 0 

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL
result resource in /lib/class_match_htmlout.php on line 97 

Original issue reported on code.google.com by funnyfin...@hotmail.com on 10 Nov 2009 at 2:25

GoogleCodeExporter commented 9 years ago
Also manually changing the page number in the url to something invalid like a 
word
will throw the warning.

Original comment by funnyfin...@hotmail.com on 11 Nov 2009 at 3:14

GoogleCodeExporter commented 9 years ago
Is that not OK?
It will too with other URLs like team pages etc.
It really makes no sense checking these. It has nothing to do with user 
experience
nor does it really matter - nothing is written to the DB, it's purely a 
displayment
error.

Original comment by Nimda...@gmail.com on 11 Nov 2009 at 10:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ah you are right.  Same thing happens when you use too high of a number for a 
player:

http://test.*.com/index.php?section=objhandler&type=1&obj=1&obj_id=&obj_id=10000

*edited* Didn't want a search engine picking up the test page as it is not 
permanent.

Original comment by funnyfin...@hotmail.com on 11 Nov 2009 at 2:01

GoogleCodeExporter commented 9 years ago
r391

Original comment by Nimda...@gmail.com on 12 Nov 2009 at 7:08