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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 29 07:01:31 2024 UTC