【发布时间】:2013-05-17 16:21:43
【问题描述】:
我正在使用 yii,并且我已经设置了组件 langBox。
当我尝试在本地主机上使用它时,它可以工作,而当我尝试在远程服务器上使用它时,我收到以下错误;
CException
Alias "application.components.langBox" is invalid. Make sure it points to an existing PHP file and the file is readable.
任何想法或提示将不胜感激
【问题讨论】:
-
就像错误所说的那样,检查文件是否在 application/components/langBox 中,并且运行它的任何东西(可能是 Apache)都具有读取权限。
标签: php yii yii-extensions yii-components