PHP warning

Cannot modify header information - headers already sent by (output started at /home/bps9404/public_html/protected/models/ArcbrsView.php:1)

/home/bps9404/public_html/Mb4kYuu/framework/web/CHttpRequest.php(1110)

1098     }
1099 
1100     /**
1101      * Sends a cookie.
1102      * @param CHttpCookie $cookie cookie to be sent
1103      */
1104     protected function addCookie($cookie)
1105     {
1106         $value=$cookie->value;
1107         if($this->_request->enableCookieValidation)
1108             $value=Yii::app()->getSecurityManager()->hashData(serialize($value));
1109         if(version_compare(PHP_VERSION,'5.2.0','>='))
1110             setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);
1111         else
1112             setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure);
1113     }
1114 
1115     /**
1116      * Deletes a cookie.
1117      * @param CHttpCookie $cookie cookie to be deleted
1118      */
1119     protected function removeCookie($cookie)
1120     {
1121         if(version_compare(PHP_VERSION,'5.2.0','>='))
1122             setcookie($cookie->name,'',0,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);

Stack Trace

#5
+
 /home/bps9404/public_html/protected/components/widgets/views/languageSelector.php(1): CHtml::form()
1 <?php echo CHtml::form(); ?>
2     <label class="white" style="margin-top:5px;">
3         <?php 
4         if(sizeof($languages) < 4) {
5             $lastElement = end($languages);
6             foreach($languages as $key=>$lang) {
#9
+
 /home/bps9404/public_html/protected/components/widgets/LanguageSelector.php(8): CWidget->render("languageSelector", array("currentLang" => "id", "languages" => array("id" => "Indonesia", "en" => "English")))
03 {
04     public function run()
05     {
06         $currentLang = Yii::app()->language;
07         $languages = Yii::app()->params->languages;
08         $this->render('languageSelector', array('currentLang' => $currentLang, 'languages'=>$languages));
09     }
10 }
11 ?>
12                             
13                             
#11
+
 /home/bps9404/public_html/protected/views/layouts/mobile/main.php(241): CBaseController->widget("application.components.widgets.LanguageSelector")
236                 <!-- bagian panel menu atas yang terdiri atas pencarian situs, link ke peta situs, dan menu bahasa -->
237                     <div id="panelmenuatas" style="font: 8pt Arial;float:right; padding-right: 20px; position:relative;">
238 
239                         <span  class="language">
240                                 <?php 
241                                    $this->widget('application.components.widgets.LanguageSelector');
242                                 ?>
243                         </span>
244                                 <?php echo CHtml::form(Yii::app()->createUrl('pencarian'),'get',$htmlOptions=array ("style"=>"clear:right;margin-bottom:5px;" )) ?>
245                                     <?php echo CHtml::textField('keywordforsearching') ?>
246                                     <?php echo CHtml::submitButton(Yii::t('penerjemah','Cari')); ?>
2017-05-22 13:22:56 Apache Yii Framework/1.1.12