Hi,

In my app I got a lot of PHP warnings that the headers were already
sent when settin a cookie or before redirecting.
And always it is in the cake/libs/file.php folder on line 146 or 279
This is the file handling lib of cake. So deletig or opening a file.

I investigated it more and I use FIle caching. So when writing or
deleting cache data it opens and delete files.
When the file doesn't exits when deleting it returns false but also
throws a warning.

My question is how can I suppress that  cake way? I know the PHP way
to modify the cake/libs/file.php and add a '@' sign before the calls
(@unlink()) but that is not what I want to do, because I'm changing
the cake libs.

Anyone suggestions so I don't get these errors anymore when debug is
off? (On production server)

Cheers!
- primeminister
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to