Hello

      Have you done any code for redirection in routes file.

On Tue, Mar 3, 2015 at 8:17 PM, Rohit Pal <[email protected]> wrote:

> I m beginner to cakephp..i just followed the instructions for blog
> tutorial on the official site
> no i m facing an error
>  The view for *PostsController::**index()* was not found.
>
> Confirm you have created the file: Posts/index.ctp in one of the following
> paths:
>
>    - /var/www/html/cake/app/View/Posts/index.ctp
>
>  *Notice: * If you want to customize this error message, create
> app/View/Errors/missing_view.ctp
> Stack Trace
>
>    - CORE/Cake/View/View.php line 470 <http://localhost/cake/posts#> →
>    View->_getViewFileName(null) <http://localhost/cake/posts#>
>    - CORE/Cake/Controller/Controller.php line 959
>    <http://localhost/cake/posts#> → View->render(null, null)
>    <http://localhost/cake/posts#>
>    - CORE/Cake/Routing/Dispatcher.php line 200
>    <http://localhost/cake/posts#> → Controller->render()
>    <http://localhost/cake/posts#>
>    - CORE/Cake/Routing/Dispatcher.php line 167
>    <http://localhost/cake/posts#> → Dispatcher->_invoke(PostsController,
>    CakeRequest) <http://localhost/cake/posts#>
>    - APP/webroot/index.php line 118 <http://localhost/cake/posts#> → 
> Dispatcher->dispatch(CakeRequest,
>    CakeResponse) <http://localhost/cake/posts#>
>
>
> <https://lh3.googleusercontent.com/-KGZ0qEAfgvA/VPXJJwaaQbI/AAAAAAAAAWU/z7N1QQbEC04/s1600/scr1.png>
>
>
> <https://lh4.googleusercontent.com/-FtdoNWVcAXc/VPXJTEhqDcI/AAAAAAAAAWc/7Mve_U5zsys/s1600/scr2.png>
>
> is a screenshot for my directory structure
>
>  --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to