Zend_Controller_Response_Exception

Cannot send headers; headers already sent in /www/janmiklin.cz/www/www_application/default/controllers/ClankyController.php, line 1

Source file

File: /www/janmiklin.cz/www/www_library/Zend/Controller/Response/Abstract.php   Line: 281

Line 276:        public function canSendHeaders($throw = false)
Line 277:        {
Line 278:            $ok = headers_sent($file, $line);
Line 279:            if ($ok && $throw && $this->headersSentThrowsException) {
Line 280:                require_once 'Zend/Controller/Response/Exception.php';
Line 281:                throw new Zend_Controller_Response_Exception('Cannot send headers; headers already sent ...
Line 282:            }
Line 283:    
Line 284:            return !$ok;
Line 285:        }

Call stack

  1. Response/Abstract.php (147) source   Zend_Controller_Response_Abstract-> canSendHeaders (arguments )

  2. Helper/Redirector.php (200) source   Zend_Controller_Response_Abstract-> setRedirect (arguments )

  3. Helper/Redirector.php (371) source   Zend_Controller_Action_Helper_Redirector-> _redirect (arguments )

  4. Helper/Redirector.php (453) source   Zend_Controller_Action_Helper_Redirector-> setGotoUrl (arguments )

  5. Controller/Action.php (675) source   Zend_Controller_Action_Helper_Redirector-> gotoUrl (arguments )

  6. controllers/ClankyController.php (29) source   Zend_Controller_Action-> _redirect (arguments )

  7. Controller/Action.php (502) source   ClankyController-> detailAction ()

  8. Dispatcher/Standard.php (293) source   Zend_Controller_Action-> dispatch (arguments )

  9. Controller/Front.php (914) source   Zend_Controller_Dispatcher_Standard-> dispatch (arguments )

  10. www/index.php (78) source   Zend_Controller_Front-> dispatch ()

Exception

HTTP request

HTTP response