Я пытаюсь реализовать небольшое приложение по умолчанию, которое поставляется с фреймворком yii на phpfog. Я установил его в соответствии с инструкциями, используя GIT. Теперь, когда я пытаюсь запустить его, я получаю эту ошибку (ниже). Я проверил, чтобы каталог был доступен для записи и что вызываемый каталог существует. Я застрял, что мне делать дальше?phpfog Неверный путь выполнения приложения
Application runtime path /var/fog/apps/app35423/austintxous.phpfogapp.com/demos/emp/protected/runtime" is not valid.
Please make sure it is a directory writable by the Web server process.
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 }
+1 для вашего профиля :) – Aliostad
отладить еще немного, если разделить (($ runtimePath = Realpath ($ путь)) === false ||! is_dir ($ runtimePath) || ! is_writable ($ runtimePath)) в два оператора if, чтобы увидеть, какая часть сбой: this $ runtimePath = realpath ($ path)) === false или это! is_dir ($ runtimePath) – sdjuan
директория может быть записана пользователем? Попробуйте изменить разрешения на 777 (только для отладки) и еще раз проверьте. Если это работает, это значит, что права на запись не для правильного пользователя. –