Last modified: 2010-01-06 03:48:51 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 T22302, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20302 - OggHandler fails with fatal error if no PEAR installation in include_path
OggHandler fails with fatal error if no PEAR installation in include_path
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OggHandler (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-18 22:14 UTC by Brion Vibber
Modified: 2010-01-06 03:48 UTC (History)
0 users

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


Attachments

Description Brion Vibber 2009-08-18 22:14:39 UTC
OggHandler includes a copy of the PEAR File_Ogg module to read metadata out of ogg files; however it does not include a copy of the base PEAR.php or PEAR/Extension.php which this module requires.

On systems with no default PEAR installation (for instance, Mac OS X 10.5 with Apple's default PHP install), this leads to a PHP fatal error as soon as the system touches an Ogg file and loads up the Ogg module:


Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /Library/WebServer/Documents/trunk/extensions/OggHandler/PEAR/File_Ogg/File/Ogg.php on line 114

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='/Library/WebServer/Documents/trunk/extensions/OggHandler/PEAR/File_Ogg:/Library/WebServer/Documents/trunk:/Library/WebServer/Documents/trunk/includes:/Library/WebServer/Documents/trunk/languages:.:/opt/pear/PEAR') in /Library/WebServer/Documents/trunk/extensions/OggHandler/PEAR/File_Ogg/File/Ogg.php on line 114


Either we should ship a copy with, or we should make the requirements clear.
Comment 1 Tim Starling 2010-01-06 03:48:51 UTC
Fixed in r60708.

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


Navigation
Links