index.ctp not recognized in cakephp
I have created index.ctp under views/controller_name/ folder, but the Mis开发者_StackOverflow中文版sing view error is still appearing? any suggestions?
This one depends on the URL you try to reach. If you open yourwebsite.com/yourcontroller, you are supposed to view the index.ctp view from your views/yourcontroller directory. However, you might use a routed configuration and therefore redirect your URL to another path (controller+view combination at that matter).
精彩评论