开发者

YII framework: CHTML.php not including

My site was working all fine on localhost but since when i have uploaded. It is showing an error

include(CHTML.php) [<a href='function.include'>function.include</a>]:

failed to open stream: No such file or directory

I am searching it since long and did many things for it.. Like importing 'system.web.helpers.*' in main.php,Still its not working.

Please somebody help and d开发者_JS百科o help in detail, am new to YII. Thanks in advance.


Is your local machine Windows and your remote server a *nix box? In that case, check your capitalization. CHTML.php suggests that you have case-mismatches, try using CHtml in your code instead.


Dev in Windows, deploy into Unix: Case sensitive issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜