Yii Framework: Alias “application.extensions.langhandler.ElangHandler” is invalid. Make sure it points to an existing PHP file

空扰寡人 提交于 2019-12-24 02:34:09

问题


I have a site developed and is working fine on development machine (Mac OS X 10.7). However when I port it over to a Linux server I ran into error:

Alias "application.extensions.langhandler.ElangHandler" is invalid. Make sure it points to an existing PHP file

It supposedly is a permission problem according the below article: http://code.google.com/p/yii/issues/detail?id=3039

However, I checked and the protected/extensions folder and down all have 755 permission. I even tried t make them all 777 just to see if I can get it working at all, but it didn't work either.

Can anyone help?


回答1:


Check that the spelling in filenames and class name is correct. OSX is case insensitive, while Linux is not.



来源:https://stackoverflow.com/questions/9188247/yii-framework-alias-application-extensions-langhandler-elanghandler-is-invali

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!