from the screenshot looks like you don’t have : /var/www/html/cake/app/View/Posts/index.ctp
but /var/www/html/cake/View/Posts/index.ctp The View folder is outside of app folder ? Andras Kende > On Mar 4, 2015, at 9:25 AM, Rohit Pal <rohitpal...@gmail.com> wrote: > > NO! I haven't done any redirection or routing etc... > > On Wednesday, March 4, 2015, Paramnoor Singh <paramnoor.inters...@gmail.com > <mailto:paramnoor.inters...@gmail.com>> wrote: > Hello > > Have you done any code for redirection in routes file. > > On Tue, Mar 3, 2015 at 8:17 PM, Rohit Pal <rohitpal...@gmail.com > <javascript:_e(%7B%7D,'cvml','rohitpal...@gmail.com');>> 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 > <https://www.facebook.com/CakePHP> > Find us on Twitter http://twitter.com/CakePHP <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 > <javascript:_e(%7B%7D,'cvml','cake-php%2bunsubscr...@googlegroups.com');>. > To post to this group, send email to cake-php@googlegroups.com > <javascript:_e(%7B%7D,'cvml','cake-php@googlegroups.com');>. > Visit this group at http://groups.google.com/group/cake-php > <http://groups.google.com/group/cake-php>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > <https://www.facebook.com/CakePHP> > Find us on Twitter http://twitter.com/CakePHP <http://twitter.com/CakePHP> > > --- > You received this message because you are subscribed to a topic in the Google > Groups "CakePHP" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/cake-php/2RHXRkeJDFs/unsubscribe > <https://groups.google.com/d/topic/cake-php/2RHXRkeJDFs/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > cake-php+unsubscr...@googlegroups.com > <javascript:_e(%7B%7D,'cvml','cake-php%2bunsubscr...@googlegroups.com');>. > To post to this group, send email to cake-php@googlegroups.com > <javascript:_e(%7B%7D,'cvml','cake-php@googlegroups.com');>. > Visit this group at http://groups.google.com/group/cake-php > <http://groups.google.com/group/cake-php>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > Rohit Pal > Software Engineering > Delhi Technological University (Formerly DCE) > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > <https://www.facebook.com/CakePHP> > Find us on Twitter http://twitter.com/CakePHP <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 > <mailto:cake-php+unsubscr...@googlegroups.com>. > To post to this group, send email to cake-php@googlegroups.com > <mailto:cake-php@googlegroups.com>. > Visit this group at http://groups.google.com/group/cake-php > <http://groups.google.com/group/cake-php>. > For more options, visit https://groups.google.com/d/optout > <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 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/d/optout.