PHP warning

Cannot modify header information - headers already sent by (output started at /home/brdepylaction/public_html/site/protected/config/producao.php:1)

/home/brdepylaction/public_html/site/protected/views/site/faca-parte-do-time.php(2)

01 <?php
02 header("Location: http://www.depylaction.com.br/trabalheconosco/"); /* Redirect browser */
03 
04 /* Make sure that code below does not get executed when we redirect. */
05 exit;
06 ?>
07 
08 <?php
09 $this->layout = "main";
10 $baseURL = Yii::app()->request->baseUrl;
11 $this->pageTitle='Faça Parte do Time - '.Yii::app()->name;
12 ?>
13 
14 

Stack Trace

#0
+
 /home/brdepylaction/public_html/site/protected/views/site/faca-parte-do-time.php(2): header("Location: http://www.depylaction.com.br/trabalheconosco/")
1 <?php
2 header("Location: http://www.depylaction.com.br/trabalheconosco/"); /* Redirect browser */
3 
4 /* Make sure that code below does not get executed when we redirect. */
5 exit;
6 ?>
7 
#5
+
 /home/brdepylaction/public_html/site/protected/controllers/SiteController.php(129): CController->render("faca-parte-do-time", array("model" => CurriculoForm))
124         }
125 
126 
127         $this->render('faca-parte-do-time', array(
128             'model' => $model
129         ));
130     }
131 
132 
133     public function file_extension($strFilename){
134         $str=explode("/",$strFilename);
#13
+
 /home/brdepylaction/public_html/site/index.php(37): CApplication->run()
32 
33 require_once($yii);
34 
35 $config=dirname(__FILE__).'/protected/config/' . SERVER_ENV . '.php';
36 
37 Yii::createWebApplication($config)->run();
38 
39 ?>
2018-06-23 16:58:27 Apache Yii Framework/1.1.13