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

No thumbnails #13

Closed
llewy opened this issue Sep 25, 2012 · 8 comments
Closed

No thumbnails #13

llewy opened this issue Sep 25, 2012 · 8 comments
Labels

Comments

@llewy
Copy link

llewy commented Sep 25, 2012

In the list of books, none of the thumbnails is showing. When I click a book, the picture is there, am I missing something?

@rvolz
Copy link
Owner

rvolz commented Sep 26, 2012

If everything else works, there are two possible causes:

  1. The data directory might not be writeable for the web server. The app stores the generated thumbnails in this directory. To do this the web server must have write access. Try coping a file into the directory.
  2. Your PHP installation doesn't have image support (GD). The app generates smaller thumbnails from Calibres cover pictures. So GD support is necessary (GD is installed by default). You would have to install something like php5-gd.

@llewy
Copy link
Author

llewy commented Sep 26, 2012

Thanks for your very quick answer! But it didn't solve my problem, the data
directory is writeable and GD is enabled on my Synology.

2012/9/26 Rainer Volz notifications@github.com

If everything else works, there are two possible causes:

  1. The data directory might not be writeable for the web server. The
    app stores the generated thumbnails in this directory. To do this the web
    server must have write access. Try coping a file into the directory.

  2. Your PHP installation doesn't have image support (GD). The app
    generates smaller thumbnails from Calibres cover pictures. So GD support is
    necessary. You would have to install something like php5-gd.


    Reply to this email directly or view it on GitHubhttps://github.com/No thumbnails #13#issuecomment-8882649.

@rvolz
Copy link
Owner

rvolz commented Sep 26, 2012

Hm, and there are no thumb_X.png files at all in the data directory? (X = book id)

@llewy
Copy link
Author

llewy commented Sep 26, 2012

No, none at all.. Only data.db file

Op 26 sep. 2012 om 11:19 heeft Rainer Volz notifications@github.com het
volgende geschreven:

Hm, and there are no thumb_X.png files at all in the data directory? (X
= book id)


Reply to this email directly or view it on
GitHubhttps://github.com//issues/13#issuecomment-8883838.

@rvolz
Copy link
Owner

rvolz commented Sep 26, 2012

Another possible problem could be the GD version. BicBucStriim needs a version > 2. Synology's DSM 4+ provides that. What version do you have?

@llewy
Copy link
Author

llewy commented Sep 26, 2012

DSM 4.1 is installed, is there any possibility to check à log file?

Op 26 sep. 2012 om 11:40 heeft Rainer Volz notifications@github.com het
volgende geschreven:

Another possible problem could be the GD version. BicBucStriim needs a
version > 2. Synology's DSM 4+ provides that. What version do you have?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/13#issuecomment-8884304.

@llewy
Copy link
Author

llewy commented Sep 26, 2012

Solved! Restarting my Synology brought me the solution. Thanks a lot!

2012/9/26 Carl Van Oene carlvanoene@gmail.com

DSM 4.1 is installed, is there any possibility to check à log file?

Op 26 sep. 2012 om 11:40 heeft Rainer Volz notifications@github.com het
volgende geschreven:

Another possible problem could be the GD version. BicBucStriim needs a
version > 2. Synology's DSM 4+ provides that. What version do you have?


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-8884304.

@rvolz
Copy link
Owner

rvolz commented Sep 26, 2012

Oh, I'll add restarting NAS to the troubleshooting recipes. Thanks for the feedback, Rainer

@rvolz rvolz closed this as completed Sep 26, 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