seblucas / cops

Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...)
http://blog.slucas.fr/en/oss/calibre-opds-php-server
GNU General Public License v2.0
1.43k stars 229 forks source link

missing files in 1.1.0 #334

Closed jacekjaros closed 7 years ago

jacekjaros commented 7 years ago
#cat /etc/debian_version
9.0
#php -v
PHP 7.0.16-3 (cli) (built: Feb 22 2017 10:03:06) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.0.16-3, Copyright (c) 1999-2017, by Zend Technologies
#cd /srv/www/books/
#git status
HEAD detached at 1.1.0
nothing to commit, working tree clean
#php index.php
PHP Warning:  require_once(/srv/www/books/vendor/autoload.php): failed to open stream: No such file or directory in /srv/www/books/config.php on line 9
PHP Fatal error:  require_once(): Failed opening required '/srv/www/books/vendor/autoload.php' (include_path='.:/usr/share/php') in /srv/www/books/config.php on line 9
seblucas commented 7 years ago

Hi,

If you update from sources, then you have to use composer to get the external dependencies :

https://github.com/seblucas/cops#install-from-sources

Please close the issue after testing that it works fine ;)

jacekjaros commented 7 years ago

Hi @seblucas,

Everything work perfect now, thanks a lot :)