On Mon, Jun 23, 2008 at 7:56 AM, killerboy <[EMAIL PROTECTED]> wrote: > > > > Thanks a lot grigri! > > > > It was a trailing whitespace in the Action model after the closing php > > tag... > > > > On Jun 23, 4:48 pm, grigri <[EMAIL PROTECTED]> wrote: > >> Sounds like you've got leading or trailing whitespace in one of your > >> php files. > > This can be one of the most annoying things about php I think sometimes. > > Sam D >
A recommended solution to that is to leave off the trailing ?> tag for include or require files. PHP doesn't require it, and it can cause these exact types of 'headers already sent' errors. For the purists who feel that all open tags should be closed, the alternative solution is to recursively (and periodically) so a regex grep for closing tags with nothing but whitespace following. :) ++ Beatport DIGITAL DOWNLOAD NETWORK™ Ian Zepp - Software Engineer, RHCE, ZCE, CMDEV www.beatport.com - Access the world of club music™ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
