Heh, tell me about it...  And to think I thought all those 101
mistakes were behind me :)

On Jan 6, 2:51 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:
> We've all been there. Often the most complex gnarled and horrible bugs turn 
> out to be down to punctuation.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 6 Jan 2012, at 14:49:35, burntcake wrote:
>
>
>
>
>
>
>
> > My God, that's embarrassing............  I guess I didn't follow the
> > tutorial to the *letter* after all......
>
> > I could probably have spent another week without finding that - I had
> > named it index.cpt instead of index.ctp
>
> > Apologies for the dumb mistake, and my sincerest gratitude for your
> > help and eagle eyes!!
>
> > A million thanks Jeremy!
>
> > Glen
>
> > On Jan 6, 2:42 pm, Jeremy Burns | Class Outfit
> > <jeremybu...@classoutfit.com> wrote:
> >> Is it just that view that's causing the issue or is it every view?
>
> >> This is probably a typo, but at times you are referring to the file 
> >> extension cpt rather than ctp (which is the correct one).
>
> >> Jeremy Burns
> >> Class Outfit
>
> >>http://www.classoutfit.com
>
> >> On 6 Jan 2012, at 14:08:38, burntcake wrote:
>
> >>> Hi all,
>
> >>> I'm brand new to Cake (but not PHP) and this is my first post here.
> >>> I've been trying to get the Blog example working -
> >>>http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
>
> >>> However, having followed the instructions to the letter, I'm getting
> >>> the following errors:
>
> >>> Error: The view for PostsController::index() was not found.
>
> >>> Error: Confirm you have created the file: /mysite/web/content/app/View/
> >>> Posts/index.ctp
>
> >>> Notice: If you want to customize this error message, create app/View/
> >>> Errors/missing_view.ctp
> >>> Stack Trace
>
> >>> #0 /mysite/web/content/lib/Cake/View/View.php(360): View-
> >>>> _getViewFileName(NULL)
> >>> #1 /mysite/web/content/lib/Cake/Controller/Controller.php(900): View-
> >>>> render(NULL, NULL)
> >>> #2 /mysite/lib/Cake/Routing/Dispatcher.php(111): Controller->render()
> >>> #3 /mysite/web/content/lib/Cake/Routing/Dispatcher.php(86): Dispatcher-
> >>>> _invoke(Object(PostsController), Object(CakeRequest),
> >>> Object(CakeResponse))
> >>> #4 /mysite/web/content/app/webroot/index.php(96): Dispatcher-
> >>>> dispatch(Object(CakeRequest), Object(CakeResponse))
> >>> #5 {main}
>
> >>> Some extra info:
>
> >>> (1) 'mysite' is not the true path given in the error, I've edited it
> >>> for privacy purposes
> >>> (2) /mysite/web/content/app/View/Posts/index.ctp 100% exists
> >>> (3) index.cpt is spelled exactly that way, not Index.cpt or index.CPT
> >>> or any other variation
> >>> (4) I've tried various directory/file permissions, currently
> >>> permissions on all directories and files below and including 'content'
> >>> are set to 755
> >>> (5) I've spent many hours researching this particular problem but I
> >>> haven't found any solution
>
> >>> Any help would be much appreciated.
>
> >>> Thanks!
>
> >>> --
> >>> Our newest site for the community: CakePHP Video 
> >>> Tutorialshttp://tv.cakephp.org
> >>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp 
> >>> others with their CakePHP related questions.
>
> >>> To unsubscribe from this group, send email to
> >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> >>> athttp://groups.google.com/group/cake-php
>
> > --
> > Our newest site for the community: CakePHP Video 
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to