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