PHP Error

Description

Cannot modify header information - headers already sent by (output started at /home/sublimeporte/semiticroots.net/protected/vendors/semlangs.php:239)

Source File

/home/sublimeporte/yii/framework/web/CHttpRequest.php(509)

00497:     /**
00498:      * Redirects the browser to the specified URL.
00499:      * @param string URL to be redirected to. If the URL is a relative one, the base URL of
00500:      * the application will be inserted at the beginning.
00501:      * @param boolean whether to terminate the current application
00502:      * @param integer the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html}
00503:      * for details about HTTP status code. This parameter has been available since version 1.0.4.
00504:      */
00505:     public function redirect($url,$terminate=true,$statusCode=302)
00506:     {
00507:         if(strpos($url,'/')===0)
00508:             $url=$this->getHostInfo().$url;
00509: header('Location: '.$url, true, $statusCode);
00510: if($terminate) 00511: Yii::app()->end(); 00512: } 00513: 00514: /** 00515: * @return string the user preferred language. 00516: * The returned language ID will be canonicalized using {@link CLocale::getCanonicalID}. 00517: * This method returns false if the user does not have language preference. 00518: */ 00519: public function getPreferredLanguage() 00520: { 00521: if($this->_preferredLanguage===null)

Stack Trace

#0 /home/sublimeporte/yii/framework/web/CHttpRequest.php(509): header()
#1 /home/sublimeporte/yii/framework/web/auth/CWebUser.php(304): CHttpRequest->redirect()
#2 /home/sublimeporte/yii/framework/web/auth/CAccessControlFilter.php(151): CWebUser->loginRequired()
#3 /home/sublimeporte/yii/framework/web/auth/CAccessControlFilter.php(115): CAccessControlFilter->accessDenied()
#4 /home/sublimeporte/yii/framework/web/filters/CFilter.php(39): CAccessControlFilter->preFilter()
#5 /home/sublimeporte/yii/framework/web/CController.php(993): CAccessControlFilter->filter()
#6 /home/sublimeporte/yii/framework/web/filters/CInlineFilter.php(59): WordController->filterAccessControl()
#7 /home/sublimeporte/yii/framework/web/filters/CFilterChain.php(126): CInlineFilter->filter()
#8 /home/sublimeporte/yii/framework/web/CController.php(283): CFilterChain->run()
#9 /home/sublimeporte/yii/framework/web/CController.php(257): WordController->runActionWithFilters()
#10 /home/sublimeporte/yii/framework/web/CWebApplication.php(320): WordController->run()
#11 /home/sublimeporte/yii/framework/web/CWebApplication.php(120): CWebApplication->runController()
#12 /home/sublimeporte/yii/framework/base/CApplication.php(135): CWebApplication->processRequest()
#13 /home/sublimeporte/semiticroots.net/index.php(12): CWebApplication->run()
2017-06-28 20:35:42 Apache Yii Framework/1.1.1