Bug #4335 [Asn->Csd]: Package search printing a warning message

From: Date: Thu, 12 May 2005 17:35:19 +0000
Subject: Bug #4335 [Asn->Csd]: Package search printing a warning message
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-4081@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: Assigned +Status: Closed Type: Bug Package: Web Site Operating System: Irrelevant PHP Version: Irrelevant Assigned To: dufuz New Comment: This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better. I could reproduce it after all, sprintf requires one to add extra % after 100%, that is if it's html. The CVS server will be synced to production very soon. Previous Comments: ------------------------------------------------------------------------ [2005-05-12 13:22:00] helgi at trance dot is Can't reproduce this on my test server but I'll look into this ------------------------------------------------------------------------ [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 (#4081) next »