Don't see the pictures I've uploaded

http://www.leviosa.nl/fotoalbum/

This is my photoalbum, but I don't see any pictures... only a cross.
Does anybody know what's wrong?

Comments

  • you have to change your mod-rewrite base in your htaccess file in the zproot to reflect your zenphoto installation directory which yours should be /fotoalbum
  • this is what i got:
    # !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
    RewriteBase /fotoalbum/albums

    and this doesn't work either:
    # !!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!
    RewriteBase /fotoalbum
  • ayot Member
    Try this:
    step 1 - delete '.htaccess' file
    step 2 - edit 'config.php' with the following changes:
    $conf['mod_rewrite'] = false;
    define('WEBPATH', '/zenphoto');

    It works for me.
    AJ
  • ayot Member
    One more remark... It works fine except upload pics via admin panel. So, ftp rulez. ;)
    AJ
  • trisweb Administrator
    Nope, on the OP (sgt_elburg), it's a permissions problem for the cache directory.

    `chmod 777 cache` should do the trick, or use your FTP program to change the permissions to that.
  • @ AJ : the pictures are working now, but the tumbnails aren't working...
  • trisweb Administrator
    This is the error I get when I try to visit the thumbnail:

    `Warning: touch(): Unable to create file /[path removed]/public_html/fotoalbum/cache/dsfsdf_anne en miii.JPG_thumb.jpg because Permission denied in /[path removed]/public_html/fotoalbum/zen/i.php on line 90`

    As I said, you need to set the permissions on the cache directory to 777. That really should work...

    The only reason some of your main images are showing up is because they're small enough that they don't need to be resized, so ZP just redirects straight to the original.
  • trisweb Administrator
    You actually have another error with a PHP memory limitation on some of your other images:

    `Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9216 bytes) in /[path removed]/public_html/fotoalbum/zen/functions.php on line 44`

    See this post for more info on this problem, which you'll likely run into after fixing your permissions...

    http://www.zenphoto.org/support/topic.php?id=8#post-663
  • The're alright now, but I still can't see the tumbnails...
  • anyone?
  • trisweb Administrator
    What, I'm not good enough?

    I already said this, but I'll say it again: this is how you fix your thumbnails:

    1. You need to change the permissions on the cache directory to 777

    2. After you do that, I'm predicting (actually, I know) that you need to increase the memory available to PHP. To do that, look at the link in my post above.

    Please listen to me, I'm the lead developer. ;-) The fact that the pictures are working is irrelevant, because they're not processed if they're already small, which yours are. Here's what I'm getting when I visit a thumbnail, so you can see the error: Thumbnail error message.
Sign In or Register to comment.