PHP warning

Cannot modify header information - headers already sent by (output started at /mnt/stor9-wc2-dfw1/463596/463684/www.galaxyweblinks.com/web/content/protected/components/CensoConfig.php:24)

/mnt/stor9-wc2-dfw1/463596/463684/www.galaxyweblinks.com/web/content/framework/web/CHttpRequest.php(716)

704     /**
705      * Redirects the browser to the specified URL.
706      * @param string $url URL to be redirected to. If the URL is a relative one, the base URL of
707      * the application will be inserted at the beginning.
708      * @param boolean $terminate whether to terminate the current application
709      * @param integer $statusCode the HTTP status code. Defaults to 302. See {@link http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html}
710      * for details about HTTP status code.
711      */
712     public function redirect($url,$terminate=true,$statusCode=302)
713     {
714         if(strpos($url,'/')===0)
715             $url=$this->getHostInfo().$url;
716         header('Location: '.$url, true, $statusCode);
717         if($terminate)
718             Yii::app()->end();
719     }
720 
721     /**
722      * Returns the user preferred language.
723      * The returned language ID will be canonicalized using {@link CLocale::getCanonicalID}.
724      * This method returns false if the user does not have language preference.
725      * @return string the user preferred language.
726      */
727     public function getPreferredLanguage()
728     {

Stack Trace

#2
+
 /mnt/stor9-wc2-dfw1/463596/463684/www.galaxyweblinks.com/web/content/protected/controllers/PortfolioController.php(1305): CController->redirect("/portfolio/all/")
1300             Yii::app()->clientScript->registerMetaTag($model->tags, 'description');
1301         }
1302         else
1303         {
1304             $base = Yii::app()->request->baseUrl.'/portfolio/all/';
1305             $this->redirect($base);    
1306         }
1307         
1308         switch($result[0]['portcategory_id'])
1309         {
1310             case '1':
#15
+
 /mnt/stor9-wc2-dfw1/463596/463684/www.galaxyweblinks.com/web/content/index.php(37): CApplication->run()
32 defined('YII_DEBUG') or define('YII_DEBUG',true);
33 // specify how many levels of call stack should be shown in each log message
34 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
35 
36 require_once($yii);
37 Yii::createWebApplication($config)->run();
38 
39 
40 
41 
2016-12-03 15:48:18 Apache/2.4 Yii Framework/1.1.10