PHP Fatal error: .../vendor/autoload.php: No such file

by jernst, Thursday, June 01, 2017, 20:56 (2492 days ago)

Getting a Fatal error with Version 2.17:

PHP Fatal error: require(): Failed opening required '.../selfoss/vendor/autoload.php' (include_path='.:') in .../selfoss/common.php on line 7

The require statement in common.php is unconditional:

require __DIR__ . '/vendor/autoload.php';

However, nowhere in the codebase do I find a file named autoload.php or a directory named vendor. Also, I cannot find a reference to either in installation instructions.

What am I missing?

PHP Fatal error: .../vendor/autoload.php: No such file

by jtojnar, Friday, June 02, 2017, 21:46 (2491 days ago) @ jernst

If you downloaded the raw source code, you will need to run `composer install` in the directory to install the third party directories. Alternately, you can use the recommended method and download release archive, which already includes the vendor directory.

RSS Feed of thread
powered by my little forum