I still suspect you have some sort of incorrectly defined (path) constant, even if it isn't one of the ones I thought it was.
M
On Sat, Jun 4, 2011 at 1:05 PM, kdubya <kenwinans@winanstech.com> wrote:
In the error message you gave, it looks like you entered the address
of the view file (home.ctp) directly - this is incorrect for an
application built with CakePHP. It should have been something like:
http://localhost/<name-of-application>/home
Note: there is no .ctp extension. CakePHP knows where to find the .ctp
file (if you have configured the app correctly).
It also looks like you tried to access the home.ctp in CakePHP core
path. This also is not correct. If you are modifying files under cake/
libs you are making your changes in the wrong place. All files you
modify should be under app/ e.g.
C:\Users\Public\public_html\<name-of-application>\app\views
\<controller-name>\home.ctp
(assuming that you Document_root in your Apache httpd.conf file is C:
\Users\Public\public_html\
Go back to the Book on the CakePHP site and read it from the
beginning:
http://book.cakephp.org/
Also, I highly recommend you follow the blog tutorial:
http://book.cakephp.org/#!/view/1528/Blog
Use the resources that have been provided to get off on the right
foot.
Good luck,
Ken
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment