![]() |
|
Image caching and cache folder rights - 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: Image caching and cache folder rights (/thread-8948.html) |
Image caching and cache folder rights - mobydick426 - 2011-08-07 Hi all, I'm using the latest version (1.4.1.2), recently updated. I've migrated my album from Debian Squeeze x64 to CentOS 6 x64. The cache, albums, cache_html, uploaded and zp-data folders are chmod 777 with user / group of apache. suExec is disabled. When I try to regenerate the cache folder, I've got the images which always says : "Error: Cache directory not writable". Have you some idea of things to check or are you using CentOS 6 with ZenPhoto ? Thanks a lot. Regards, Image caching and cache folder rights - acrylian - 2011-08-08 We have a lenghtly articles about the permissions on our troubleshooting. 777 is of course not very secure but should actually work. Sorry, I have no specific knowledge about CentOS. Image caching and cache folder rights - mobydick426 - 2011-08-08 Thanks for your reply. I've readed the troubleshooting, and that's why I'm currently testing with 777 mode. I want to increase security when ZenPhoto be able to generate cache image. I've never got this problem on Debian Squeeze. Thanks Image caching and cache folder rights - sbillard - 2011-08-08 It that error message exactly quoted? I did a search and did not find it. The closest I found is in i.php. Quote:The cache directory is not writable! Attempts to chmod didn't work. Maybe that can help you track down the problem. Image caching and cache folder rights - mobydick426 - 2011-08-09 The message on the image is : "Error: Cache directory not writable. Make sure /cache permissions are correct." Image caching and cache folder rights - mobydick426 - 2011-08-09 Today, I can see this on the apache error log : [Tue Aug 09 12:36:32 2011] [error] [client xxx.xxx.xxx.xxx] PHP Warning: fopen(/opt/gallery.mydomain.com/zenphoto/zp-data/security_log.txt): failed to open stream: Permission denied in /opt/gallery.mydomain.com/zenphoto/zp-core/zp-extensions/security-logger.php on line 134, referer: https://gallery.mydomain.com/ The zp-data is chmoded 777 too. Thanks for your help Image caching and cache folder rights - acrylian - 2011-08-09 I guess you need to contact your server admin/host. Or you did not setup your (sub)domain for https. On my host http and https are two totally different things. Image caching and cache folder rights - seroxatmad - 2011-08-11 Hi I have video thumbnails (options/image) set to a file in plugins/watermarks and it works fine. This seems to over ride the options for the individual images. Cheers John Image caching and cache folder rights - acrylian - 2011-08-12 There are already replacement default images if no video thumb images have been added. Look at Image caching and cache folder rights - seroxatmad - 2011-08-12 Hi So I have 2 images I created for video watermarks at present within gallery/plugins/watermarks. I can select any of these within the individual image area but only the one I select in the options/images area works. So even thou you can select these images they have no effect over what is selected in options/images? What is the difference to /gallery/zp-core/watermarks over /gallery/plugins/watermarks. Cheers John http://www.thestottfamily.co.uk/gallery/joe-s/general-images/ Image caching and cache folder rights - acrylian - 2011-08-12 If you don't clear the image cache after changing watermarks you will naturally not see any change. Functionwise there is no difference. You should always store custom watermarks as well as custom plugins and other stuff in the /plugins folder as you then don't overwrite them accidentally on updates. Image caching and cache folder rights - mobydick426 - 2011-08-13 Hi, Acrylian wrote : "I guess you need to contact your server admin/host. Or you did not setup your (sub)domain for https. On my host http and https are two totally different things." I've totally deactivated SSL support for the moment. But the error still persists. Thanks Image caching and cache folder rights - acrylian - 2011-08-13 Then the permissions are probably still not set correctly. if it is still the https error appearing: Are you sure you have not accidentally set that option on the backend? Also note that Safari in private browsing mode tends to call the https site even if there is none... Image caching and cache folder rights - mobydick426 - 2011-08-13 I've found the solution : Returned to Ubuntu 11.04. All the gallery is working now ! It seems that ZenPhoto won't work with CentOS 6, or some specific parameters are needed (I'm not a CentOS specialist :-)). Thanks for your help |