Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

No thumbnails and downloadlink #11

Closed
ebk71 opened this issue Sep 21, 2012 · 2 comments
Closed

No thumbnails and downloadlink #11

ebk71 opened this issue Sep 21, 2012 · 2 comments
Labels

Comments

@ebk71
Copy link

ebk71 commented Sep 21, 2012

Maybe I have something setup wrong, but thumbnails are not showing up and there is also no downloadlink available. Titles are shown etc.
I have tried 3 scenario's:
calibre db in root of folder where books are stored; /share/HDA_DATA/Data/EbookBibliotheek
db in separate folder; /share/HDA_DATA/Data/CalibreLibrary
db inside folder which is part of bookfolder; /share/HDA_DATA/Data/EbookBibliotheek/CalibreLibrary,

Can it have to do with rights of a process?

@rvolz
Copy link
Owner

rvolz commented Sep 21, 2012

Yes it could (1-2), but (3):

  1. The bbs/data folder needs to be writeable by the web application, because all generated thumbnails are stored there. If you change a setting in the admin section and successfully save that, this should be ok.

  2. The folder of your Calibre library must be readable for the web application. For some NAS (e.g. Synology) this means that you have to allow access to the Calibre library folder for PHP applications (PHP open_basedir in Control Panel).

  3. The structure of the Calibre library supplied to the app must be like the original! metadata.db on top, Author/Book folders beneath. Otherwise the app can't find the ebook files or cover images. The paths to these files are stored in metadata.db so we can't use a different structure.

@ebk71
Copy link
Author

ebk71 commented Sep 22, 2012

I'm sorry but I was the bug........ I don't use calibre very often, and it's only about 2 weeks that I transferred all my data from my synology nas to my qnap including the complete calibre library and db. Since I could find the files from calibre I did not notice the formats were missing. I rebuilded the db and now bbs works fine.

Cheers!

@ebk71 ebk71 closed this as completed Sep 22, 2012
jampot5000 pushed a commit to jampot5000/BicBucStriim that referenced this issue Jul 17, 2014
"error loading page" if searching for strings with ' in it:
exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 near "brian": syntax error' in C:\Apache24\htdocs\bbs122\lib\BicBucStriim\calibre.php:292
Stack trace:
#0 ..\lib\BicBucStriim\calibre.php(292): PDO->query('select count(*)...')
#1 ..\lib\BicBucStriim\calibre.php(275): Calibre->count('select count(*)...')
#2 ..\lib\BicBucStriim\calibre.php(556): Calibre->findSliceFiltered('Book', 0, 30, Object(CalibreFilter), 'o'brian')
rvolz#3 ..\index.php(911): Calibre->titlesSlice('de', 0, 30, Object(CalibreFilter), 'o'brian')
rvolz#4 [internal function]: globalSearch()
rvolz#5 ..\vendor\slim\slim\Slim\Route.php(436): call_user_func_array('globalSearch', Array)
rvolz#6 ..\vendor\slim\slim\Slim\Slim.php(1307): Slim\Route->dispatch()
rvolz#7 ..\vendor\slim\slim\Slim\Middleware\Flash.php(85): Slim\Slim->call()
rvolz#8 ..\vendor\slim\slim\Slim\Middleware\MethodOverride.php(92): Slim\Middleware\Flash->call()
rvolz#9 ..\lib\BicBucStriim\calibre_config_middleware.php(50): Slim\Middleware\MethodOverride->call()
rvolz#10 ..\lib\BicBucStriim\login_middleware.php(33): CalibreConfigMiddleware->call()
rvolz#11 ..\lib\BicBucStriim\own_config_middleware.php(33): LoginMiddleware->call()
rvolz#12 ..\lib\BicBucStriim\caching_middleware.php(41): OwnConfigMiddleware->call()
rvolz#13 ..\vendor\slim\slim\Slim\Middleware\PrettyExceptions.php(67): CachingMiddleware->call()
rvolz#14 ..\vendor\slim\slim\Slim\Slim.php(1254): Slim\Middleware\PrettyExceptions->call()
rvolz#15 ..\index.php(196): Slim\Slim->run()
rvolz#16 {main}
@Binog Binog mentioned this issue Oct 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants