Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home4/ukdofgrb/public_html/protected/modules/yupe/components/ConfigManager.php on line 255
PHP warning

PHP warning

session_set_cookie_params(): Cannot change session cookie parameters when headers already sent

/home4/ukdofgrb/public_html/vendor/yiisoft/yii/framework/web/CHttpSession.php(244)

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

Stack Trace

#8
+
 /home4/ukdofgrb/public_html/protected/modules/yupe/components/urlManager/LanguageBehavior.php(207): CModule->__get("user")
202      * @return void
203      */
204     protected function setLanguage($language)
205     {
206         // Устанавливаем состояние языка:
207         Yii::app()->user->setState(Yii::app()->urlManager->langParam, $language);
208 
209         try {
210             if (Yii::app()->getModule('yupe')->cache) {
211                 Yii::app()->getRequest()->cookies->add(
212                     Yii::app()->urlManager->langParam,
#9
+
 /home4/ukdofgrb/public_html/protected/modules/yupe/components/urlManager/LanguageBehavior.php(164): yupe\components\urlManager\LanguageBehavior->setLanguage("ru")
159                 1
160             ) == '/'
161         );
162 
163         $this->setLanguage(
164             $this->getLang()
165         );
166 
167         // Если не передан язык не нативный:
168         if ($langIsset === false && $lm->getAppLang() !== $this->getLang()) {
169             Yii::app()->getRequest()->redirect(
#13
+
 /home4/ukdofgrb/public_html/index.php(35): CApplication->run()
30 $confManager = new yupe\components\ConfigManager();
31 $confManager->sentEnv(\yupe\components\ConfigManager::ENV_WEB);
32 
33 require dirname(__FILE__) . '/vendor/autoload.php';
34 
35 Yii::createWebApplication($confManager->merge($base))->run();
2024-05-21 12:36:24 Apache Yii Framework/1.1.15