Member
Member
suxab   2008-12-09, 13:17
#1

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!

Administrator
Administrator
acrylian   2008-12-09, 13:35
#2

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

Member
Member
invarbrass   2008-12-11, 07:01
#3

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).

Member
Member
suxab   2008-12-11, 10:45
#4

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!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.