databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream

Dan Langille dan at langille.org
Sun Aug 19 16:38:12 UTC 2018


I'm using databases/mantis on FreeBSD 11.2 with PHP 5.6.37

The error I see is:

[Sun Aug 19 16:21:51.240380 2018] [:error] [pid 13018] [client 50.243.42.139:50002] PHP Warning:  require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream: No such file or directory in /usr/local/www/mantis/core.php on line 71
[Sun Aug 19 16:21:51.240434 2018] [:error] [pid 13018] [client 50.243.42.139:50002] PHP Fatal error:  require_once(): Failed opening required '/usr/local/www/mantis/vendor/autoload.php' (include_path='/usr/local/share/pear') in /usr/local/www/mantis/core.php on line 71

Searching online, it seems I must run: composer install

  https://stackoverflow.com/questions/41209349/requirevendor-autoload-php-failed-to-open-stream#41209642

I see nothing mentioned in the docs: https://mantisbt.org/docs/master/en-US/Admin_Guide/html/admin.install.config.html ... etc

There is no vendor directory in the pkg-plist for this port.

What are other mantis users doing?

-- 
Dan Langille - BSDCan / PGCon
dan at langille.org




More information about the freebsd-ports mailing list