Last modified: 2010-12-11 06:50:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28228, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26228 - CSSMin produces a fileinfo warning on PHP 5.2, fileinfo 1.0.4 from PECL
CSSMin produces a fileinfo warning on PHP 5.2, fileinfo 1.0.4 from PECL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-04 07:02 UTC by Thomas Bleher
Modified: 2010-12-11 06:50 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Thomas Bleher 2010-12-04 07:02:18 UTC
CSSMin produces lots of warnings in /var/log/syslog, all of the form

Dec  4 07:50:21 j-crew apache2: PHP Warning:  finfo_open() expects parameter 1 to be long, string given in /srv/www/mediawiki/code/includes/libs/CSSMin.php on line 106
Dec  4 07:50:21 j-crew apache2: PHP Warning:  finfo_file(): supplied argument is not a valid file_info resource in /srv/www/mediawiki/code/includes/libs/CSSMin.php on line 106

This is PHP 5.2.6.dfsg.1-1+lenny9 on Debian Lenny, fileinfo 1.0.4 installed via PECL (see http://pecl.php.net/package/Fileinfo/1.0.4). Running on MediaWiki trunk, updated two days ago.
Comment 1 Roan Kattouw 2010-12-05 13:39:28 UTC
This should be fixed with r77798, please confirm.
Comment 2 Thomas Bleher 2010-12-11 06:50:03 UTC
Thank you for the fast bugfix! The issue is indeed fixed in SVN trunk.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links