Last modified: 2014-07-13 01:38:59 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 T69929, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67929 - Vagrant+TimedMediaHandler: missing PEAR.php causes ogg file upload to fail
Vagrant+TimedMediaHandler: missing PEAR.php causes ogg file upload to fail
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-12 17:26 UTC by Brion Vibber
Modified: 2014-07-13 01:38 UTC (History)
2 users (show)

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


Attachments

Description Brion Vibber 2014-07-12 17:26:43 UTC
I'm not 100% sure if this is a problem with our provisioning in MediaWiki-Vagrant or if it's a bug in TimedMediaHandler...

Uploading an .ogg file after enabling the timedmediahandler role fails with a blank screen; digging into /var/log/hhvm/error.log I see:

  Fatal error: File not found: PEAR.php in /vagrant/mediawiki/extensions/TimedMediaHandler/handlers/OggHandler/PEAR/File_Ogg/File/Ogg.php on line 123

On my 'bare-metal' install on my Mac I was able to fix this problem by manually running "sudo pear install pear" to make sure the base PEAR libraries were present, but I shouldn't have to manually set up dependencies inside Vagrant-land I think...


TimedMediaHandler was added to the MediaWiki-vagrant config with:

  vagrant enable-role timedmediahandler
  vagrant provision
Comment 1 Brion Vibber 2014-07-12 17:56:16 UTC
Note I can work around this for now by enabling the 'zend' role to switch back from HHVM to Zend PHP, but it'd be nice for this to work under HHVM default setup.
Comment 2 Gerrit Notification Bot 2014-07-12 20:25:45 UTC
Change 145787 had a related patch set uploaded by Ori.livneh:
Add /usr/share/php to HHVM's Server.IncludeSearchPaths

https://gerrit.wikimedia.org/r/145787
Comment 3 Gerrit Notification Bot 2014-07-12 21:00:39 UTC
Change 145787 merged by jenkins-bot:
Add /usr/share/php to HHVM's Server.IncludeSearchPaths

https://gerrit.wikimedia.org/r/145787
Comment 4 Brion Vibber 2014-07-13 01:38:59 UTC
Confirmed this fixes Ogg file upload under hhvm. Yay!

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


Navigation
Links