caching doesn't work for the Windows Platform

A place for users and developers of the Xataface to discuss and receive support.

caching doesn't work for the Windows Platform

Postby kevinwen » Tue May 04, 2010 10:03 am

I found that caching mechanism doesn't work for the windows. Maybe there are something incompatible across platform. I'm not sure if the following causes the problem:

in Application.php, at line 525: $this->_conf['cache_dir'] = '/tmp';
in Cache.php, at line 39: $cachedir = '/tmp';
in DB.php, at line 315: $fp = fopen('/tmp/querylog.log', 'a');

Can somebody fix this problem by using the sys_get_temp_dir() function for these hard-coded directory, so we can take advantage of the built-in cache?
kevinwen
 
Posts: 109
Joined: Mon Dec 28, 2009 3:44 pm

Re: caching doesn't work for the Windows Platform

Postby shannah » Wed May 05, 2010 4:55 pm

Sorry... that query log was just for debugging purposes... it can be commented out.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved