CException

Рабочий путь приложения "/var/www/byzon.com/public_html/protected/runtime" задан неверно. Удостоверьтесь, что директория доступна для записи пользователю, под которым запущен веб-сервер.

/var/www/byzon.com/framework/yii-1.1.10.r3566/framework/base/CApplication.php(271)

259             return $this->_runtimePath;
260         }
261     }
262 
263     /**
264      * Sets the directory that stores runtime files.
265      * @param string $path the directory that stores runtime files.
266      * @throws CException if the directory does not exist or is not writable
267      */
268     public function setRuntimePath($path)
269     {
270         if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))
271             throw new CException(Yii::t('yii','Application runtime path "{path}" is not valid. Please make sure it is a directory writable by the Web server process.',
272                 array('{path}'=>$path)));
273         $this->_runtimePath=$runtimePath;
274     }
275 
276     /**
277      * Returns the root directory that holds all third-party extensions.
278      * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
279      */
280     public function getExtensionPath()
281     {
282         return Yii::getPathOfAlias('ext');
283     }

Stack Trace

#8
+
 /var/www/byzon.com/public_html/indexEJEPocyCT.php(18): YiiBase::createWebApplication("/var/www/byzon.com/public_html/protected/config/main.php")
13 
14 defined ('YII_DEBUG') or define ('YII_DEBUG', true);
15 defined ('YII_TRACE_LEVEL') or define ('YII_TRACE_LEVEL', 3);
16 
17 require_once (dirname (dirname (__FILE__)) . '/framework/yii-1.1.10.r3566/framework/yii.php');
18 $app = Yii::createWebApplication (dirname(__FILE__).'/protected/config/main.php');
19 
20 // Error handlers.
21 $app->attachEventHandler ('onError', ['ErrorHandler','handleError']);
22 $app->attachEventHandler ('onException', ['ErrorHandler','handleException']);
23 register_shutdown_function (['ErrorHandler', 'handleFatalError']);
2024-12-24 10:36:02 Apache/2.5.1-dev (Unix) OpenSSL/1.0.1t Yii Framework/1.1.10