Re: noobie- help with cake blog tutorial - Error PostsController could not be found

2013-10-06 Thread John Andersen
To me it seems like your CakePHP setup is incorrect.
What is your document root set to in the Apache config file?

I would asume it was set to:
"C:\wamp\www\cake_2_0\app\webroot"

That path is the root of your blog application.

Also, please show us the tree structure of your "app" folder.

Enjoy, John

On Friday, 4 October 2013 00:49:57 UTC+3, Frank Thomson wrote:
>
> I am running WAMP server on my windows 8 laptop.
> I have cake installed and the test screen shows up as OK.
> There is more detail on that on my personal blog 
> here
>
> I am trying to follow the blog tutorial from the cake web site
> here:
> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
>
> The problem I get is that when I try
>
> http://localhost/cake_2_0/posts/index   
> I get and get a page full of errors (see below)
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file: 
> app\controller\PostsController.php
>
>
> I believe that I have followed the tutorial accurately.  Again I have 
> documented it step by step on my blog.
> Here:
> http://frankstech.blogspot.com.au/2013/10/cakephp-blog-tutorial.html
>
> Any suggestions on what I can do to track this issue down.
>
> Thanks in advance.
> Frank
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: noobie- help with cake blog tutorial - Error PostsController could not be found

2013-10-06 Thread Gaurav Matta
You seem to miss php tags in your controller...How comfortable are you with
Php


On Fri, Oct 4, 2013 at 3:19 AM, Frank Thomson  wrote:

> I am running WAMP server on my windows 8 laptop.
> I have cake installed and the test screen shows up as OK.
> There is more detail on that on my personal blog 
> here
>
> I am trying to follow the blog tutorial from the cake web site
> here:
> http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html
>
> The problem I get is that when I try
>
> http://localhost/cake_2_0/posts/index
> I get and get a page full of errors (see below)
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file:
> app\controller\PostsController.php
>
>
> I believe that I have followed the tutorial accurately.  Again I have
> documented it step by step on my blog.
> Here:
> http://frankstech.blogspot.com.au/2013/10/cakephp-blog-tutorial.html
>
> Any suggestions on what I can do to track this issue down.
>
> Thanks in advance.
> Frank
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.