PHP warning

Cannot modify header information - headers already sent by (output started at /home/accurate/public_html/protected/config/webconfig.php:108)

/usr/local/share/yii/framework/web/CHttpRequest.php(1175)

1163     }
1164 
1165     /**
1166      * Sends a cookie.
1167      * @param CHttpCookie $cookie cookie to be sent
1168      */
1169     protected function addCookie($cookie)
1170     {
1171         $value=$cookie->value;
1172         if($this->_request->enableCookieValidation)
1173             $value=Yii::app()->getSecurityManager()->hashData(serialize($value));
1174         if(version_compare(PHP_VERSION,'5.2.0','>='))
1175             setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);
1176         else
1177             setcookie($cookie->name,$value,$cookie->expire,$cookie->path,$cookie->domain,$cookie->secure);
1178     }
1179 
1180     /**
1181      * Deletes a cookie.
1182      * @param CHttpCookie $cookie cookie to be deleted
1183      */
1184     protected function removeCookie($cookie)
1185     {
1186         if(version_compare(PHP_VERSION,'5.2.0','>='))
1187             setcookie($cookie->name,'',0,$cookie->path,$cookie->domain,$cookie->secure,$cookie->httpOnly);

Stack Trace

#7
+
 /home/accurate/public_html/themes/blue-business-amc/views/page/_enquiry_form.php(25): CBaseController->beginWidget("CActiveForm", array("id" => "enquiry-form", "enableClientValidation" => true, "enableAjaxValidation" => false, "clientOptions" => array("validateOnSubmit" => true, "validateOnChange" => true, "successCssClass" => "has-success", "errorCssClass" => "has-error", ...), ...))
20     ),
21     'htmlOptions'=>array(
22         'role'=>"form",    
23         'class'=>'contact-form',         
24     ),
25 ));?>
26 <?php echo $form->hiddenField($this->contactModel,'supplier_id',array('value'=>ACCESS_ID));?>
27 <?php if($this->action->id==PRODUCTS)
28         echo $form->hiddenField($this->contactModel,'product_id',array('value'=>$model->product_id));?>
29 <input type="hidden" name="city" id="selected_city_id" value="" />
30 <div class="row mr-bot-10">
#8
+
 /home/accurate/public_html/themes/blue-business-amc/views/page/enquiry.php(26): include_once("/home/accurate/public_html/themes/blue-business-amc/views/page/_...")
21 </div>
22 <section class="pad-tb-50">
23     <div class="container">
24         <div class="row">            
25             <div class="col-md-offset-1 col-md-6 col-sm-8">
26                 <?php include_once("_enquiry_form.php"); ?>            
27             </div>
28             <div class="col-md-3 col-sm-4">
29                 <?php include_once("_sidebar.php"); ?>
30             </div>
31         </div>
#13
+
 /home/accurate/public_html/protected/controllers/PageController.php(180): CController->render("enquiry")
175                     Yii::app()->user->setFlash('failed',true);
176             }        
177             $this->refresh();
178         }
179         $this->pageTitle="Enquiry - {$this->_getCompanyNameForKeywords()}";
180         $this->render('enquiry');
181     }
182     public function actionContact(){
183         $this->_tellRobotToNotFollow();                
184         $this->pageTitle="Contact - {$this->_getCompanyNameForKeywords()}";
185         $this->render('contact');
2017-11-22 07:33:48 Apache Yii Framework/1.1.13