ZenphotoCMS Forum
zen only displays small pictures - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: zen only displays small pictures (/thread-982.html)



zen only displays small pictures - sra - 2006-12-20

Hi all

I have some problems with zenphoto on my server (http://nik.demda.ch/photos/). It doesn't display any thumbnails at all and in the single image view it displays only the images that haven't been resized (example: http://nik.demda.ch/photos/index.php?album=test2&image=mozilla.gif).

When I manually request zen/i.php?a=test2&i=A.gif&s=thumb, what i get is "Zenphoto error: Please specify both an album and an image." instead of the picture.

I allready disabled mod_rewrite to make sure its not due to some htaccess mistakes.

please help me




zen only displays small pictures - trisweb - 2006-12-21

Small images are redirected to their original source... your problem is that no new images can be created since your host has enabled PHP_SAFE_MODE.

Here's the error:
`Warning: touch() [function.touch]: SAFE MODE Restriction in effect. The script whose uid is 1063 is not allowed to access /home/www/web183/html/flo/nik3/photos/cache/test2/mosaiclogo.gif_595.jpg owned by uid 30 in /home/www/web183/html/flo/nik3/photos/zen/i.php on line 226

Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 1063 is not allowed to access /home/www/web183/html/flo/nik3/photos/cache/test2/mosaiclogo.gif_595.jpg owned by uid 30 in /home/www/web183/html/flo/nik3/photos/zen/i.php on line 228

Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /home/www/web183/html/flo/nik3/photos/zen/i.php on line 228

Warning: chmod() [function.chmod]: SAFE MODE Restriction in effect. The script whose uid is 1063 is not allowed to access /home/www/web183/html/flo/nik3/photos/cache/test2/mosaiclogo.gif_595.jpg owned by uid 30 in /home/www/web183/html/flo/nik3/photos/zen/i.php on line 229`

In a word, safe mode [i]sucks[/i]. Contact your host and tell them to disable it or you will leave (they don't deserve your money if they have it on).

If you really want to stick with them, you can try 1.0.3 ( http://www.zenphoto.org/files ), which created all cache files in the same folder. Future versions will have a SAFE_MODE fall-back to this previous way... what a pain though. Ditch your host, that's what I'd recommend.