pydio / pydio-core

Pydio 8 official repository
https://pydio.com
GNU Affero General Public License v3.0
869 stars 289 forks source link

Email sending requires a composer call #1419

Open Signum opened 6 years ago

Signum commented 6 years ago

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.

autra commented 6 years ago

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

autra commented 6 years ago

referencing https://github.com/pydio/pydio-core/issues/1341