CException

Ścieżka uruchomieniowa aplikacji "/home/pcmagic/domains/monitoring.pcmagic.pl/public_html/run/protected/runtime" jest nieprawidłowa. Upewnij się, że ten katalog jest dostępny do zapisu dla procesu serwera.

/home/pcmagic/domains/monitoring.pcmagic.pl/public_html/yii/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
+
 /home/pcmagic/domains/monitoring.pcmagic.pl/public_html/run/index.php(12): YiiBase::createWebApplication()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 error_reporting(E_ERROR | E_WARNING | E_PARSE);
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-28 11:21:55 Apache Yii Framework/1.1.10