![]() |
|
fclose and fopen error with Static Cache? - 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: fclose and fopen error with Static Cache? (/thread-6280.html) |
fclose and fopen error with Static Cache? - Ipstenu - 2009-12-14 After the upgrade to 1.2.7 I've had the following errors filling up my error_log ` [Mon Dec 14 14:40:10 2009] [error] [client xxx.xx.xx.xxx] PHP Warning: fopen(cache_html/) [function.fopen]: failed to open stream: Is a directory in /home/public_html/gallery/zp-core/zp-extensions/static_html_cache.php on line 167 [Mon Dec 14 14:40:08 2009] [error] [client xxx.xx.xx.xxx] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/public_html/gallery/zp-core/zp-extensions/static_html_cache.php on line 169 [Mon Dec 14 14:40:08 2009] [error] [client xxx.xx.xx.xxx] PHP Warning: fopen(cache_html/) [function.fopen]: failed to open stream: Is a directory in /home/public_html/gallery/zp-core/zp-extensions/static_html_cache.php on line 167 The referrer in those lines is either an image page or an album folder. Makes no diff there. fclose and fopen error with Static Cache? - sbillard - 2009-12-14 You probably have a permissions issue with the static cache folder. You should turn off the static cache plugin and look at the permissions of that folder. fclose and fopen error with Static Cache? - Ipstenu - 2009-12-14 Permissions are 777 and it's owned by me. fclose and fopen error with Static Cache? - sbillard - 2009-12-14 Ok, there seems a problem in the plugin. There will be a fix in tonight's build. fclose and fopen error with Static Cache? - Ipstenu - 2009-12-14 Yay (Yet another reason why I suggest ZenPhoto to my friends - Stellar support) fclose and fopen error with Static Cache? - Ipstenu - 2009-12-15 Updated this morning an hour ago, no errors since. Looks good! fclose and fopen error with Static Cache? - reneesanguinetti - 2010-09-02 Hello, I am using ZenPhoto version 1.3 with ZpFocus 1.3. Also I have enabled the static_html cache. I understand that my pages, albums, images, etc are there after they are viewed, but am I suppose to clear these folders for updates to be "live" on the web. What is the purpose of this plugin? Thank-you - Renee fclose and fopen error with Static Cache? - Ipstenu - 2010-09-02 It makes your site faster and can put less strain on your server. And the cache is cleaned every 24 hours, so it catches up. If you need to add new images and have them available ASAFP, you can force-dump the cache, but that can be expensive to re-build. fclose and fopen error with Static Cache? - acrylian - 2010-09-02 As you surely know Zenphoto generates the display dynamically via PHP using MySQl and file system. This can add up a lot of server power if you have a lot of visitors as it is done for each of them, even if they view exactly the same. So this plugin caches static html pages of those dynamically generated stuff so it is generated once. It even caches different language versions in case you use the multilingual feature. Yes, if you update something you have either to clear the cache manually or wait until the cache time as expired when it updates automatically (see the plugin's options). Btw, the current version is 1.3.1.1. fclose and fopen error with Static Cache? - acrylian - 2010-09-02 @Ipstenu: You were faster and shorter..;-) fclose and fopen error with Static Cache? - Ipstenu - 2010-09-02 There's a 'that's what she said' joke in there. Seriously, though, my site would DIE were it not for static cache! 39471 Images, 624 Albums, and when I add new albums, it's usually 60-100 photos, all of which get hit for traffic within an hour of posting. The static saves my bacon! fclose and fopen error with Static Cache? - acrylian - 2010-09-03 As always glad to hear that what we make up works...;-) |