Deprecated: Constant E_STRICT is deprecated in /home/cecnieto/public_html/encuestas.cecinasnieto.com/index.php on line 163
PHP warning

PHP warning

session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

/home/cecnieto/public_html/encuestas.cecinasnieto.com/framework/web/CHttpSession.php(245)

233      * The effect of this method only lasts for the duration of the script.
234      * Call this method before the session starts.
235      * @param array $value cookie parameters, valid keys include: lifetime, path,
236      * domain, secure, httponly. Note that httponly is all lowercase.
237      * @see http://us2.php.net/manual/en/function.session-set-cookie-params.php
238      */
239     public function setCookieParams($value)
240     {
241         $data=session_get_cookie_params();
242         extract($data);
243         extract($value);
244         if(isset($httponly))
245             session_set_cookie_params($lifetime,$path,$domain,$secure,$httponly);
246         else
247             session_set_cookie_params($lifetime,$path,$domain,$secure);
248     }
249 
250     /**
251      * @return string how to use cookie to store session ID. Defaults to 'Allow'.
252      */
253     public function getCookieMode()
254     {
255         if(ini_get('session.use_cookies')==='0')
256             return 'none';
257         elseif(ini_get('session.use_only_cookies')==='0')

Stack Trace

#5
+
 /home/cecnieto/public_html/encuestas.cecinasnieto.com/application/core/LSYii_Controller.php(35): CModule->__get("session")
30     public function __construct($id, $module = null)
31     {
32         parent::__construct($id, $module);
33         $this->_checkInstallation();
34 
35         Yii::app()->session->init();
36         $this->loadLibrary('LS.LS');
37         // This will setConfig from database
38         $this->loadHelper('globalsettings');
39         $this->loadHelper('common');
40         $this->loadHelper('expressions.em_manager');
#10
+
 /home/cecnieto/public_html/encuestas.cecinasnieto.com/index.php(211): CApplication->run()
206         die (sprintf('%s should be writable by the webserver (766 or 776).', $runtimePath));
207     }
208 }
209 
210 Yii::$enableIncludePath = false;
211 Yii::createApplication('LSYii_Application', $config)->run();
212 
213 /* End of file index.php */
214 /* Location: ./index.php */
2025-05-19 10:56:59 Apache Yii Framework/1.1.16