Cake PHP Error: Make sure you have created index.ctp (???)
Posted
by Louis Stephens
on Stack Overflow
See other posts from Stack Overflow
or by Louis Stephens
Published on 2010-05-14T14:46:33Z
Indexed on
2010/05/14
17:54 UTC
Read the original article
Hit count: 254
I was just starting to learn cakephp today by going through a "blog tutorial". I created my blog_controller.php and then created a folder named 'blog' with the apps/views/ structure. The next step in the tutorial was to create the index.ctp file within the blog folder under views. In the tutorial it declares that all error messages should be gone. However, I still receive an error message:
Error: The view for BlogController::index() was not found.
Error: Confirm you have created the file: /Users/trippstephens/Dropbox/cakephp-cakephp1x-348e5f0/app/views/blog/index.ctp
For the life of me, I can not figure out what I have done wrong. I am running cakephp under MAMP and it "installed" successfully. Any help would be appreciated.
© Stack Overflow or respective owner