caching problem, need help to debug my code.

2007-04-08 Thread feelexit

here's my code.

If I comment out
  var $cacheAction = array('view/' => 86400);
and using
  var $cacheAction = "1 hour";
it works fine,   but if I am using
  var $cacheAction = array('view/' => 86400);
then, it stops working, nothing cached, and I checked cache folder, no
file generated there.  I copy & paste directly from manual, I must
make some stupid bugs, just couldn't debug my own code.

 86400);  > use
this one, not working
  //var $cacheAction = "1 hour";  - use this one, it works

  function view(){
$this->set('CSS', 'style');
  }
}

?>


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



caching problem, need help to debug my code.

2007-04-08 Thread feelexit

here's my code.

If I comment out
var $cacheAction = array('view/' => 86400);
and using var $cacheAction = "1 hour";

 86400);
  //var $cacheAction = "1 hour";

  function view(){
$this->set('CSS', 'style');
  }
}

?>


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---