Hi All,
upgraded to piwigo 2.4 from 2.3.5 and thumbnails are no longer being displayed.
if i copy the image link I get
http://site/i.php?/upload/2012/05/26/20120526144800-569c7da3-th.jpg
However when i ssh into my server this file does not exist?
in fact the directory 26 does not even exist?
Do I have to regenerate files?
Help please
thanks
Brian
Hi bsc,
1) does directory upload/2012/05/26 exist?
2) does directory _data/i/upload/2012/05/26 exist?
What is your graphical library? (it is written on the administrion home page)
Offline
Hi
the directory upload/2012/05/26 does exist
the directory _data/i/upload/2012/05/26 does exist
and my graphical library is
Graphics Library: External ImageMagick 6.2.8
forgot to add, while the directories do exist, there is no files ending in *-th.jpg in the directory. There is however a thumbnail folder?
If you open directly in your browser http://site/i.php?/upload/2012/05/26/20120526144800-569c7da3-th.jpg is there any error message?
Offline
Also when I upload a new image from the admin panel, in addition to the thumbnail, the image itself does not display.
Brian
that file does not exist on my server.
the errors when i go directly to that link are
Warning: fopen(./_data/i/upload/2012/05/26/20120526144800-569c7da3-th.jpg) [function.fopen]: failed to open stream: No such file or directory in /home/chinntec/public_html/gallery/i.php on line 343
Warning: fstat(): supplied argument is not a valid stream resource in /home/chinntec/public_html/gallery/i.php on line 345
Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 346
Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 349
Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 351
Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 352
Warning: Cannot modify header information - headers already sent by (output started at /home/chinntec/public_html/gallery/i.php:343) in /home/chinntec/public_html/gallery/i.php on line 361
Warning: fpassthru(): supplied argument is not a valid stream resource in /home/chinntec/public_html/gallery/i.php on line 363
Warning: fclose(): supplied argument is not a valid stream resource in /home/chinntec/public_html/gallery/i.php on line 364
I got excactly the same problem.
Grafikbibliothek: External ImageMagick 6.0.7
Ref to thumbnail:
<img src="i.php?/upload/2012/01/29/20120129134223-5ca456fc-th.jpg">
Folder /upload/2012/01/29 does exist
Folder _data/i/upload/2012/01/29 does exist
Kind Regards
Offline
wernfried, does that file *-th.jpg exist on your server?
Have you tried uploading a new image? I would be curious if it fails to display at all (this is what happens on my installation)
Brian
Please send me (both of you) your URLs in private
Offline
bsc wrote:
wernfried, does that file *-th.jpg exist on your server?
Have you tried uploading a new image? I would be curious if it fails to display at all (this is what happens on my installation)
No, the *-th.jpg does not exist. But as you I have a folder "thumbnail" containing all the images.
I also get the same error messages when I enter the URL directly.
Upload a new foto I will try this evening at home.
Regards
Wernfried
Offline
PLG,
Logged in now. I have emailed you my gallery address
Brian
Offline
We still have the directory upload/year/month/day/thumbnail but it is not used anymore. We haven't coded the removal to make the upgrade faster.
bsc wrote:
Also when I upload a new image from the admin panel, in addition to the thumbnail, the image itself does not display.
If the thumbnail is not generated, the medium size won't be generated. There seems to be a problem to generate multiple sizes.
Offline
Please could you
A. add to you local config (in the file local/config/config.inc.php):
<?php $conf[enable_i_log'] = true; ?>
B. browse the gallery on some page where thumbnails do not display
C. look in _data/tmp/i.log file for a line with "ERROR" ... there is one ?
Eventually send a link to your gallery ...
Offline
Thank you rvelices.
I will try these things when I get home this evening. For now I have emailed my gallery url to plg as well as a user account.
Brian
Offline