求助Yii问题
CException
描述
应用程序执行时的路径 "C:\xampp\htdocs\protected\admin/runtime" 是无效的. 请确定它是一个可被 Web server process 写入资料的目录.
源文件
C:\xampp\yii-trunk\framework\base\CModule.php(449)
00437: }
00438: }
00439:
00440: /**
00441: * Configures the module with the specified configuration.
00442: * @param array the configuration array
00443: */
00444: public function configure($config)
00445: {
00446: if(is_array($config))
00447: {
00448: foreach($config as $key=>$value)
00449: $this->$key=$value;
00450: }
00451: }
00452:
00453: /**
00454: * Loads static application components.
00455: */
00456: protected function preloadComponents()
00457: {
00458: foreach($this->preload as $id)
00459: $this->getComponent($id);
00460: }
00461:
堆栈追踪
#0 C:\xampp\yii-trunk\framework\base\CComponent.php(152): CApplication->setRuntimePath('C:\xampp\htdocs...')
#1 C:\xampp\yii-trunk\framework\base\CModule.php(449): CComponent->__set('runtimePath', 'C:\xampp\htdocs...')
#2 C:\xampp\yii-trunk\framework\base\CApplication.php(117): CModule->configure(Array)
#3 C:\xampp\yii-trunk\framework\YiiBase.php(112): CApplication->__construct('C:\xampp\htdocs...')
#4 C:\xampp\yii-trunk\framework\YiiBase.php(85): YiiBase::createApplication('CWebApplication', 'C:\xampp\htdocs...')
#5 C:\xampp\htdocs\admin.php(12): YiiBase::createWebApplication('C:\xampp\htdocs...')
#6 {main}