问题
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