PHP warning

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

/home/bps1673/public_html/yii/framework/web/CHttpRequest.php(1380)

1368     }
1369 
1370     /**
1371      * Sends a cookie.
1372      * @param CHttpCookie $cookie cookie to be sent
1373      */
1374     protected function addCookie($cookie)
1375     {
1376         $value=$cookie->value;
1377         if($this->_request->enableCookieValidation)
1378             $value=Yii::app()->getSecurityManager()->hashData(serialize($value));
1379         if(version_compare(PHP_VERSION,'5.2.0','>='))
1380             setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);
1381         else
1382             setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure);
1383     }
1384 
1385     /**
1386      * Deletes a cookie.
1387      * @param CHttpCookie $cookie cookie to be deleted
1388      */
1389     protected function removeCookie($cookie)
1390     {
1391         if(version_compare(PHP_VERSION,'5.2.0','>='))
1392             setcookie($cookie->name,'',0,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);

Stack Trace

#5
+
 /home/bps1673/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/bps1673/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/bps1673/public_html/protected/views/layouts/mobile/main.php(238): CBaseController->widget("application.components.widgets.LanguageSelector")
233                 <!-- bagian panel menu atas yang terdiri atas pencarian situs, link ke peta situs, dan menu bahasa -->
234                     <div id="panelmenuatas" style="font: 8pt Arial;float:right; padding-right: 20px; position:relative;">
235 
236                         <span  class="language">
237                                 <?php 
238                                    $this->widget('application.components.widgets.LanguageSelector');
239                                 ?>
240                         </span>
241                                 <?php echo CHtml::form(Yii::app()->createUrl('pencarian'),'get',$htmlOptions=array ("style"=>"clear:right;margin-bottom:5px;" )) ?>
242                                     <?php echo CHtml::textField('keywordforsearching') ?>
243                                     <?php echo CHtml::submitButton(Yii::t('penerjemah','Cari')); ?>
2017-10-20 08:21:58 Apache Yii Framework/1.1.14