Bug #4335 [NEW]: Package search printing a warning message
| From: | georgefarley at gmail dot com | Date: | Thu, 12 May 2005 15:55:03 +0000 |
| Subject: | Bug #4335 [NEW]: Package search printing a warning message | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-4079@lists.php.net to get a copy of this message | ||
From: georgefarley at gmail dot com
Operating system: Irrelevant
PHP version: Irrelevant
Package: Web Site
Bug Type: Bug
Bug description: Package search printing a warning message
Description:
------------
While I was searching for 'MDB' on this site using the package search
feature, I noticed a warning being printed at the top of the search page:
Warning: sprintf(): Too few arguments in
/usr/local/www/pearweb/public_html/package-search.php on line 216
It appears to happen only when search results are found. While it is only
a minor issue in Firefox, it completely breaks in IE6 (and possibly older
versions as well).
---Start of IE6 output---
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and
then click the Refresh button, or try again later.
------------------------------------------------------------
Only one top level element is allowed in an XML document. Error processing
resource 'http://pear.php.net/package-search.php...
<b>Warning</b>: sprintf(): Too few arguments in
<b>/usr/local/www/pearweb/public_html/package-search.php&...
---End of IE6 output---
Reproduce code:
---------------
Do a search for a valid package, like "MDB", in the "Packages" category.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=4335&edit=1
--