Steps to reproduce:
- MediaWiki 1.27 installed on Ubuntu 14.04
- Download extension from: https://github.com/wikimedia/mediawiki-extensions-Mailgun (Version linked to on Mediawiki is missing main Mailgun.php file)
- Add Mailgun extension to LocalSettings.php
- Add settings below (but with my own information)
$wgMailgunAPIKey = "key-asdfasdfasdf"; $wgMailgunDomain = "example.in";
- Go to Special:EmailUser and send email
- Get 500 server error in client
- Run `tail /var/log/apache2/error.log
PHP Fatal error: Class 'Http\\Adapter\\Guzzle6\\Client' not found in /var/www/html/extensions/Mailgun/MailgunHooks.php on line 44, referer: https://www.example.org/index.php/Special:ConfirmEmail
Actual results
Get 500 server error and fatal error above
Expected results
For it to redirect to proper page (not sure what that is yet, cause don't have it working) and send the email
Things I've tried
- Install composer and run composer update both from within main mediawiki directory and Mailgun extension directory
- Add require autoload.php
- rebuildLocalizationCache.php
Any help? I'm a ruby guy so a bit lost at this point. Tried everything that I find to be obvious.