php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20003 MySQL error appears after search results return nothing
Submitted: 2002-10-20 21:42 UTC Modified: 2002-12-15 04:03 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: tim at zero-interactive dot com Assigned: imajes (profile)
Status: Closed Package: Website problem
PHP Version: 4.2.3 OS: NT 4 Server
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tim at zero-interactive dot com
New email:
PHP Version: OS:

 

 [2002-10-20 21:42 UTC] tim at zero-interactive dot com
I created a search on the following terms in the bug search page:

  "class variable referenc"

The results page says that no bugs were found, but there is a mysql error at the top of the page that says:

  "Warning: mysql_num_rows(): 4 is not a valid MySQL result resource in /local/Web/sites/php-bugs-web/search.php on line 115"

When I try this a second time, I actually got some results back, but on the second last page where you try and click "get next", I get the same error as before.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-20 23:23 UTC] sniper@php.net
Assigned to James who will fix this.. :)

 [2002-11-30 09:45 UTC] alindeman@php.net
I can't reproduce this -- it might be fixed.  Please see if it works for you now.
 [2002-11-30 09:45 UTC] alindeman@php.net
Status -> Feedback, BTW
 [2002-12-15 04:03 UTC] sniper@php.net
this was fixed some time ago..

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 14 20:00:01 2026 UTC