![]() |
#1516 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Strange.
So http://<your-lan-ip>/cops/checkconfig.php does not work? Any errors? With the downloaded zip file you mean the zip file from my link and not the zip from the cops codepage on github? There is a difference. Can you try the steps under "install from source" out of the readme file? |
![]() |
![]() |
![]() |
#1517 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#1518 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
I installed the cops-master zip. The result is better. http://<your-lan-ip>/cops/checkconfig.php (or /index.php) gives me the following answer:
Warning: require_once(/Applications/Abyss Web Server/htdocs/cops/vendor/autoload.php): failed to open stream: No such file or directory in /Applications/Abyss Web Server/htdocs/cops/config.php on line 9 Fatal error: require_once(): Failed opening required '/Applications/Abyss Web Server/htdocs/cops/vendor/autoload.php' (include_path='.:/Applications/PHP5/lib/php') in /Applications/Abyss Web Server/htdocs/cops/config.php on line 9 I looked at config.php, but I don't know how to correct that error. Thank you |
![]() |
![]() |
![]() |
#1519 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
In your new cops installation does the file ./cops/vendor/autoload.php exist or not?
Edit: I was able to verify your error by deliberately downloading the zip with (only) source code and not doing (in a terminal, in your case directed to /Applications/Abyss Web Server/htdocs/cops) : Code:
wget https://getcomposer.org/composer.phar php composer.phar global require "fxp/composer-asset-plugin:~1.1" php composer.phar install --no-dev --optimize-autoloader ![]() You can also download this zip https://github.com/seblucas/cops/rel...cops-1.1.1.zip and then unzip it into a ./cops directory. This should work. If not let me know and I will try to help you. ![]() Last edited by mariosipad; 05-11-2017 at 06:32 PM. |
![]() |
![]() |
![]() |
#1520 | |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
Quote:
The terminal method didn't work. I was getting this in the terminal : Peters-Mac-mini:~ peter$ wget https://getcomposer.org/composer.phar -bash: wget: command not found Peters-Mac-mini:~ peter$ php composer.phar global require "fxp/composer-asset-plugin:~1.1" Could not open input file: composer.phar Peters-Mac-mini:~ peter$ php composer.phar install --no-dev --optimize-autoloader Could not open input file: composer.phar Peters-Mac-mini:~ peter$ |
|
![]() |
![]() |
Advert | |
|
![]() |
#1521 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
![]() ![]() For OSX users: Code:
curl -O https://getcomposer.org/composer.phar
php composer.phar global require "fxp/composer-asset-plugin:~1.1"
php composer.phar install --no-dev --optimize-autoloader
|
![]() |
![]() |
![]() |
#1522 |
Zealot
![]() Posts: 130
Karma: 40
Join Date: May 2012
Location: Paris, France
Device: Kobo Aura 6", Kobo Forma 32G
|
|
![]() |
![]() |
![]() |
#1523 |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Well, here I am again...
![]() QNAP TS-251 NAS, x64, 8GB Ram Previously I was running ok with the qpkg version of COPS 1.0.0RC3. This was installed in my ./Web folder. I wanted to try the latest COPS 1.1.1, so downloaded the zip. Saved my current working /share/Web/COPS working folder to a backup location, then deleted everything in the COPS folder. Note uppercase COPS is how it installed using the qpkg. On my main PC, I unzipped the new version and did a SSH connection and copied it into the original COPS folder on the NAS. Then I copied over the working config_local.php file. But cannot get anything to run. If I put in http://192.168.x.xxx/COPS/checkconfig.php, I get the old "Internal Server Error Port 80" I can't get past this. Any ideas? Thanks! Monty |
![]() |
![]() |
![]() |
#1524 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
SSH into your QNAP and go to ./web
Then (and print the outcome here): ls -l COPS cd COPS ls -l checkconfig.php In other words check the permissions of the copied cops files. |
![]() |
![]() |
![]() |
#1525 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Code:
[/share/Web] # ls -l COPS lrwxrwxrwx 1 admin administ 37 May 18 06:46 COPS -> /share/CACHEDEV1_DATA/.qpkg/COPS/COPS/ [/share/Web] # cd COPS [/share/Web/COPS] # ls -l checkconfig.php -rw-r--r-- 1 admin administ 8670 Dec 7 2014 checkconfig.php [/share/Web/COPS] # |
|
![]() |
![]() |
![]() |
#1526 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
I assume http://192.168.x.xxx from a browser still works?
Then COPS should as well. (As far as I can see from a distance and without a QNAP to try myself.) If you delete (or temporarily move) the new installation of COPS and put back the old one, does COPS still work? |
![]() |
![]() |
![]() |
#1527 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
If I put in that IP address, with no port or anything, it simply pulls up the login page of the QNAP Nas and reverts to: Code:
http://192.168.x.xxx:8080/cgi-bin/ Code:
http://192.168.x.xxx/COPS/ If I use: Code:
http://192.168.5.129:88 I hate apache... ![]() I tried QApache before, but that is no better as far as basic setup, other than port 88 is setup by default and did work. |
|
![]() |
![]() |
![]() |
#1528 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Why do you want to use port 88 instead of the "standard/regular" port 80?
To use port 88 you should indead look at the virtual hosts config. It's my impression that it is not Apache but it is the QNAP (like the Synology) implementation that makes it all needlessly complicated. But cops works, that is the main thing! |
![]() |
![]() |
![]() |
#1529 | |
Addict
![]() Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
I remember using the Calibre server, and with multiple libraries I had to use multiple servers, each on a different port, like 8162, 8163, etc. I do have Ubooquity on port 2202, going through Pagekite, of course, so assumed I had to set COPS up on its own port. No? |
|
![]() |
![]() |
![]() |
#1530 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Any website on every webserver (like apache or nginx) is usually "set-up" on the standard port 80.
It is possibe, through Virtual hosts, to setup different websites (like cops) on different ports. But it is certainly not needed. |
![]() |
![]() |
![]() |
Tags |
calibre opds, dns, kobo aura, synology |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |