Cache not working ?

Hi,

I'have just install ZP on a dedicated server, on ubuntu.
After 1 or 2 errors, it's finally working.

But the cache seems to not working.

Pictures (thumbnail etc) are correctly created in the cache folder, but when i revisit a page (one minute after), with pictures that already cached, image are recreated..and save again in the cache folder...

I don't understand what's going wrong :(

Someone can help me ?

here is my config :
ZP version 1.1.6
no plugin/modules, default theme.

if you want my config, path album, let me know ;)

(sorry for my poor english)

Comments

  • Are you sure they are being recreated? The only reason for this would be if zenphoto did not find the image in the cache when it looked.
  • i have made some test...

    for information :
    i have install ZP in /var/www/photos
    my principal folder where are pictures : /home/partage/photos

    here is my zp-config.php :
    ...
    $conf['album_folder'] = '/albums/'; <-- i don't use this folder
    $conf['external_album_folder'] = '/home/partage/photos/'; // trailing slash, yes, otherwise it doesn't work..
    ...

    I have desactive the url rewriting.

    I have two album :

    in the first, 1 picture == 800Ko
    in the second, 1 picture == 3500Ko

    in the first, cached pictures are created, and it's work fine.
    the second, cached pictures are created, but recreated when you revisite the page..

    so..pictures are two big ? i don't know :/

    thanks for your help.
  • Maybe the picture is too big for the memory your server has allocated PHP. Can you try resizing it down?

    Are your photos in the same folder where zenphoto is installed? Seems like it from your description.
Sign In or Register to comment.