Ok, I got you.

The extra whitespace was before the opening <?php tag, not at the
end.  Thats why I couldnt find out.

AD7six, I didnt realize that the number after the file was the line
number.  Thanks for pointing that out.

Everything is working now.  Thank you everybody.

On Feb 3, 11:03 am, AD7six <andydawso...@gmail.com> wrote:
> On Feb 3, 5:46 pm, gkc <gerardkco...@gmail.com> wrote:
>
>
>
> > Ok, I removed the php close tag from all the models and controllers
> > but that didnt work.
>
> > Here is the full error message I am getting:
>
> > =====================================================
> > Warning (2): Cannot modify header information - headers already sent
> > by (output started at /home/user/public_html/sub/index.php:2) [CORE/
> > cake/libs/controller/controller.php, line 615]
>
> > Code | Context
>
> > header - [internal], line ??
> > Controller::header() - CORE/cake/libs/controller/controller.php, line
> > 615
> > Controller::redirect() - CORE/cake/libs/controller/controller.php,
> > line 596
> > AppController::checkAdminSession() - APP/app_controller.php, line 40
> > SalesController::beforeFilter() - APP/controllers/
> > sales_controller.php, line 17
> > Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
> > Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 211
> > [main] - CORE/public_html/sub/index.php, line 92
> > =====================================================
>
> > Any ideas?
>
> read the message instead of blindly guessing?
>
> output started at /home/user/public_html/sub/index.php:2
>
> there is only 1 reason for the error message that file on that line is
> sending output. Remove the echo/remove the whitespace, etc.
>
> AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to