pydio-core
pydio-core copied to clipboard
Email sending requires a composer call
I am using version 8.0.2 of the community edition. When users share a directory and send a link they keep getting "require_once(): Failed opening required 'vendor/autoload.php'" as a popup.
The web server log reads:
PHP Fatal error: require_once(): Failed opening required 'vendor/autoload.php' (include_path='…') in /srv/www/pydio.example.org/plugins/mailer.phpmailer-lite/PhpMailLite.php on line 53, referer: https://pydio.example.org/ws-my-files/
The solution for me was:
cd …/plugins/mailer.phpmailer-lite
composer install
That lead to:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing phpmailer/phpmailer (v5.2.22): Downloading (100%)
phpmailer/phpmailer suggests installing league/oauth2-google (Needed for Google XOAUTH2 authentication)
Writing lock file
Generating autoload files
Problem fixed. So it seems that the distributed archive is missing something.
Also see https://webcache.googleusercontent.com/search?q=cache:UP39SYPXsF4J:https://pydio.com/forum/f/topic/phpmaillite-failed-to-open-stream/+&cd=1&hl=fr&ct=clnk&gl=fr&client=ubuntu (reproduced on v7).
I personnally reproduce on v6.2
referencing https://github.com/pydio/pydio-core/issues/1341