Member
Member
stg_elburg   2006-05-21, 15:18
#1

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?

Member
Member
Chilifrei64   2006-05-21, 15:31
#2

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

Member
Member
stg_elburg   2006-05-21, 16:35
#3

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

Member
Member
ayot   2006-05-22, 00:12
#4

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

Member
Member
ayot   2006-05-22, 00:26
#5

One more remark... It works fine except upload pics via admin panel. So, ftp rulez.
AJ

Developer
Developer
trisweb   2006-05-22, 18:54
#6

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.

Member
Member
stg_elburg   2006-05-22, 20:27
#7

@ AJ : the pictures are working now, but the tumbnails aren't working...

Developer
Developer
trisweb   2006-05-23, 00:39
#8

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.

Developer
Developer
trisweb   2006-05-23, 00:44
#9

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

Member
Member
stg_elburg   2006-05-23, 19:49
#10

The're alright now, but I still can't see the tumbnails...

Member
Member
stg_elburg   2006-05-24, 18:42
#11

anyone?

Developer
Developer
trisweb   2006-05-25, 04:35
#12

What, I'm not good enough?

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

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

  2. After you do that, I'm predicting (actually, I [i]know[/i]) 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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.