Re: Cache config in core.php

2010-10-21 Thread mark_story
The trailing ? has been omitted from all the all PHP files in Cake
for 1.3, too many headaches with headers already sent errors.

-Mark

On Oct 20, 7:29 am, PaulW paul.wil...@me.com wrote:
 Okay cheers for that, I was looking for Configure::Cache.check so a
 text search of the file didn't show it, now I see it is actually
 Configure::write('Cache.check' that I should have looked for.

 Re the closing tag, I downloaded a fresh copy of 1.3.4 and checked,
 there isn't one but as you say it's probably better that way

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Cache config in core.php

2010-10-19 Thread Paul Willis
I'm looking into turning on caching for my 1.3.4 site.

In the cookbook http://book.cakephp.org/view/1379/Cache-Helper-Configuration 
it says first uncomment and set Configure::Cache.check to true in core.php 
but that doesn't appear in my core.php

Also while looking at core.php I noticed it's missing the closing ? php tag is 
this an error I should report or is this file closed somewhere else in the code?

Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Cache config in core.php

2010-10-19 Thread cricket
On Tue, Oct 19, 2010 at 1:04 PM, Paul Willis paul.wil...@me.com wrote:
 I'm looking into turning on caching for my 1.3.4 site.

 In the cookbook 
 http://book.cakephp.org/view/1379/Cache-Helper-Configuration it says first 
 uncomment and set Configure::Cache.check to true in core.php but that 
 doesn't appear in my core.php

Perhaps you deleted it. In any case, Configure::write('Cache.check',
true) is what you want. That, and Configure::write('Cache.disable',
false)

 Also while looking at core.php I noticed it's missing the closing ? php tag 
 is this an error I should report or is this file closed somewhere else in the 
 code?

The stock file does include the closing tag, so, again, perhaps you
(or someone else) deleted it. But its absence is of no consequence. I
generally do not include it because any whitespace after it will often
cause the dreaded headers already sent error.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en