ZenphotoCMS Forum
Server side optimization - 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: Server side optimization (/thread-4217.html)



Server side optimization - suxab - 2008-12-09

Hi Developers!

I´m using server side optimization (developed by sagasw) from this page:
http://www.zenphoto.org/2008/06/performance-hacks/#serverside
It´s very cool becouse radically decrease my server load. On the frontend is everything ok, but in admin page I got some error messages:
Warning: error_log() [function.error-log]: Unable to access cache_html/7f1900cd47e7a1393d93db95206f2d6e in /...www_root/zp-core/functions-db.php on line 139.
Is there any chance to make this hack compatible with the current version, or even better to implement it like a plugin?

thanks!




Server side optimization - acrylian - 2008-12-09

You should try to contact the developer of that hack. Maybe he is even still around and reads this.




Server side optimization - invarbrass - 2008-12-11

Perhaps your zen-photo installation doesn't have proper permission to write in the cache folder?
Have you checked whether cache_html directory exists or not?
Please publish the line 139 here (since you have most likely edited that script).




Server side optimization - suxab - 2008-12-11

Hi invarbrass,
permissions on cache_html folder are ok, on the frontend working everything fine. Just on admin backend are problems. My version of zenphoto is 1.2.2 [3008].

line 139:
error_log (serialize($result_cache), 3, $cache_file);

Thank You!