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

Clean installation fails #447

Closed BorisAnthony closed 5 years ago

BorisAnthony commented 5 years ago

Bonjour!

I followed the installation instructions—both variations—which are simple enough, but both produce this error: Fatal error: Cannot declare class ComposerAutoloaderInitc9425bf936bb49b322e72c9b2a811540, because the name is already in use

Download, edit config, point browser at it: error. Composer, edit config, point browser at it: error.

PHP 7.3.6, locally on Mac

How to proceed?

seblucas commented 5 years ago

Will try it later tonight.

I have to admin I do not test enough with latest PHP version, that will be the goal of next major version of COPS : remove support for PHP 5.X and only support PHP 7.2 or later

horus68 commented 5 years ago

I had no problem using v1.1.3 with PHP 7.3.6 (only basic testes: navigation, reading, download)

System: localhost / Windows 10 / Wamp / PHP 7.3.6 Installation from the v1.1.3 zip release: only change was the config for the Calibre ebooks directory

Including an image with PHP settings (note: those are my defaults, do not consider as a requirement for COPS): cops_736-

seblucas commented 5 years ago

I also tested with linux / PHP 7.3.6 and everything is working fine. Closing this issue, please open another one if you can provide more information