Looks like a file in your vendor files is echoing something to screen before the main output starts - this is an HTML error.
Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Feb 2011, at 17:48, RLR wrote: > Sorry for the broken post. I prematurely hit return. > > > I am struggling with a strange bug regarding cakephp´s App::import > function. > > cakephp version 1.3.6 > php 5.3 > > I have a working cake app. Auth login and redirecting to home page > works fine. > As soon as I put the following line in app_controller the Auth > component and redirecting breaks with the following errors: > > App::import('Vendor', 'DateCalc', array('file' => 'date_calc.php')); > > Error in browser: > Cannot modify header information - headers already sent by (output > started at path-to-my-app/app/vendors/date_calc.php:1 > > I have tested this with a simple file only containing something like: > <?php > $str = "hello world"; > ?> > > > Can someone confirm this on php 5.3 ? > > Thanks! > > Ronald > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > 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 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. 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