Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2018 12:38:03 -0400
From:      Dan Langille <dan@langille.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   databases/mantis - require_once(/usr/local/www/mantis/vendor/autoload.php): failed to open stream
Message-ID:  <C3BA1CCE-EBC7-48A7-9E71-200AEE7A6276@langille.org>

next in thread | raw e-mail | index | archive | help
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=3D'/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-fa=
iled-to-open-stream#41209642

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

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

What are other mantis users doing?

--=20
Dan Langille - BSDCan / PGCon
dan@langille.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C3BA1CCE-EBC7-48A7-9E71-200AEE7A6276>