Bug #4335 [Opn]: Package search printing a warning message

From: Date: Thu, 12 May 2005 17:22:00 +0000
Subject: Bug #4335 [Opn]: Package search printing a warning message
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-4080@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=4335&edit=1 ID: 4335 Updated by: helgi@trance.is Reported By: georgefarley at gmail dot com Status: Open Type: Bug Package: Web Site Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: dufuz New Comment: Can't reproduce this on my test server but I'll look into this Previous Comments: ------------------------------------------------------------------------ [2005-05-12 11:55:03] georgefarley at gmail dot com 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 this bug report at http://pear.php.net/bugs/bug.php?id=4335&edit=1

« previous php.pear.webmaster (#4080) next »