When I transfered my application to the server this morning I get this error.
But I think everything is set up correctly
CException
Description
Le chemin d'accès « /home/www/ed3a58441fae69684a5a8204d2f03575/web/centre10/protected/runtime » du dossier d'exécution est invalide. Vérifiez que le proccessus du serveur web peut y accéder en écriture.
Fichier Source
/home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/base/CApplication.php(236)
00224: $this->setRuntimePath($this->getBasePath().DIRECTORY_SEPARATOR.'runtime');
00225: return $this->_runtimePath;
00226: }
00227: }
00228:
00229: /**
00230: * @param string the directory that stores runtime files.
00231: * @throws CException if the directory does not exist or is not writable
00232: */
00233: public function setRuntimePath($path)
00234: {
00235: if(($runtimePath=realpath($path))===false || !is_dir($runtimePath) || !is_writable($runtimePath))
00236: 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.',
00237: array('{path}'=>$path)));
00238: $this->_runtimePath=$runtimePath;
00239: }
00240:
00241: /**
00242: * Returns the root directory that holds all third-party extensions.
00243: * @return string the directory that contains all extensions. Defaults to the 'extensions' directory under 'protected'.
00244: */
00245: public function getExtensionPath()
00246: {
00247: return Yii::getPathOfAlias('ext');
00248: }
Pile d'exécution
#0 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/base/CApplication.php(224): CApplication->setRuntimePath('/home/www/ed3a5...')
#1 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/logging/CFileLogRoute.php(55): CApplication->getRuntimePath()
#2 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/logging/CLogRouter.php(65): CFileLogRoute->init()
#3 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/base/CModule.php(363): CLogRouter->init()
#4 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/base/CModule.php(459): CModule->getComponent('log')
#5 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/base/CApplication.php(119): CModule->preloadComponents()
#6 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/YiiBase.php(112): CApplication->__construct('/home/www/ed3a5...')
#7 /home/www/ed3a58441fae69684a5a8204d2f03575/web/yii/framework/YiiBase.php(85): YiiBase::createApplication('CWebApplication', '/home/www/ed3a5...')
#8 /home/www/ed3a58441fae69684a5a8204d2f03575/web/centre10/index.php(13): YiiBase::createWebApplication('/home/www/ed3a5...')
#9 {main}