Application runtime path "/opt/lampp/htdocs/yii/test/protected/runtime" is not valid.
2012-10-26 18:09
387 查看
/*******************
Title:Application runtime path "/opt/lampp/htdocs/yii/test/protected/runtime" is not valid.
Author:insun
Blog:http://yxmhero1989.blog.163.com
****************/
CException
Application runtime path "/opt/lampp/htdocs/yii/test/protected/runtime" is not valid. Please
make sure it is a directory writable by the Web server process.
![](http://img.ph.126.net/xCw2n5ei_XNAqEn3DwWjZA==/2687523077650193626.jpg)
CException
CAssetManager.basePath "/opt/lampp/htdocs/yii/test/assets" is invalid. Please make sure the
directory exists and is writable by the Web server process.
原因:把windows版的Yii框架写的程序中的拷到Linux去,assets和runtime目录对Group和其他的权限不够。
解决方案:点击这2个文件的属性,属性框全选好了,权限777了。
![](http://img.ph.126.net/lr30oaRX0gnkNR5HpMUJwQ==/2701596826485725972.jpg)
http://www.yiiframework.com/forum/index.php?/topic/8640-application-runtime-path-is-not-valid/
也有同学的解决方案,一样一样O(∩_∩)O哈哈~
相关文章推荐
- Application runtime path "/opt/lampp/htdocs/yii/test/protected/runtime" is not valid. 错误
- CException Application runtime path "/var/www/*******/protected/runtime" is not valid. Please make
- yii框架搭建异常:Application runtime path is not valid
- Nginx下的Yii异常:Application runtime path is not valid.
- 解决安装vmware-tools出现的“The path "" is not a valid path to the 3.2.0-4-amd64 kernel headers”问题
- 虚拟机安装VMware Tools出现 The path "" is not a valid path to the 3.11.0-18-generic kernel headers.
- VM tools安装错误The path "" is not a valid path to the xx generic kernel headers.
- centos解决The path "" is not a valid path to the 3.2.0-4-amd64 kernel headers.问题
- The期path "" is not a valid path to the 3.11.0-15-generickernel headers
- VmWare Tools 安装提示 “The path "" is not a valid path to the.......”
- fedora下安装vmware-tools时提示 The path "" is not a valid path to the $(kernel number) kernel headers
- vmware7安装vmwareTools出现Searching for a valid kernel header path... The path "" is not valid.
- svnmanager1.10: VersionControl_SVN_Exception: "svn_path" is not a valid option
- 解决vmware fusion + centos 7安装vmtools时提示The path "" is not a valid path to the xxx kernel headers.
- VM tools安装错误The path "" is not a valid path to the 3.5.0-23-generic kernel headers.
- The path "" is not a valid path to the 3.5.0-44-generic kernel headers.
- The path "" is not valid path to the gcc binary.
- The path "/usr/src/linux/include" is not an existing directory.解决方式
- vm 在centos7中安装vm tools 提示 the path "" is not a valid path to the 3.10.0-229.el7.x86_64 kernel heade
- Program "make" is not found in PATH