Server side optimization

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!

Comments

  • acrylian Administrator, Developer
    You should try to contact the developer of that hack. Maybe he is even still around and reads this.
  • 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).
  • 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!
Sign In or Register to comment.