Hi Anand,

I did not get what u said, can u please elaborate :D

Thanks
Jyothi

On Mon, May 2, 2011 at 5:36 PM, andy_the ultimate baker <
[email protected]> wrote:

> first write the name of controller before helper
> then ur punching index in url where as there is no need, just punch
> posts
> then in ur action on controller
> write
> print_r($this->data);exit;
> and see waht u get,
> if nothing then check action of the ctp
>
> by
> Anand
>
>
> On May 2, 4:43 pm, jyoti bhandari <[email protected]> wrote:
> > HI,
> >
> > i have created three pages like following
> >
> > I have created model "post,php" within models folder
> >
> > <?php
> > class Post extends AppModel {
> > var $name = 'Post';}
> >
> > ?>
> >
> > I have created controller "posts_controller.php" within controller
> folder.
> > <?php
> > class PostsController extends AppController {
> > var $helpers = array('Html', 'Form');
> > var $name = 'Posts';
> > function index() {
> >
> > }
> > }
> >
> > ?>
> >
> > I have created folder called as posts within views.
> > within Posts folder, i have created index.ctp file and these are the
> > contents within that file.
> >
> >  <!-- File: /app/views/posts/index.ctp -->
> >     <h1>Blog posts</h1>
> >
> > After creating all this , i am calling the following url
> >
> > http://localhost/cakephp1.3.8/posts/index
> >
> > This is all situation, now please help me out. It would be gr8 help
> >
> > Thanks
> > Jyothi
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Mon, May 2, 2011 at 12:22 PM, Ma'moon <[email protected]> wrote:
> > > What is the URL that you are calling in order to render the page?
> >
> > > Ma'moon
> >
> > > On Mon, May 2, 2011 at 8:00 AM, jyoti bhandari <[email protected]
> >wrote:
> >
> > >> It is already set to 2. :(
> >
> > >> On Mon, May 2, 2011 at 4:48 AM, Ma'moon <[email protected]> wrote:
> >
> > >>> in file app/config/core.php change the value of {debug} and set it to
> > >>> "2", refresh the page and check if it throws any errors or warnings.
> >
> > > On Sun, May 1, 2011 at 7:20 AM, Jo <[email protected]> wrote:
> >
> > >>>> Hi,
> >
> > >>>> I am new to cakephp. I am installing the cakephp and created model,
> > >>>> controller and view according to the tutorial. but i am getting this
> > >>>> error "The requested URL /cakephp1.3.8/posts/index was not found on
> > >>>> this server." Where in , it exists in the folder. I donno where am i
> > >>>> getting wrong?
> >
> > >>>> Please help me out. It is urgent.
> >
> > >>>> Thanks
> > >>>> Jyothi
> >
> > >>>> --
> > >>>> Our newest site for the community: CakePHP Video Tutorials
> > >>>>http://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
> > >>>> [email protected] 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 sitehttp://ask.cakephp.organd
> help
> > >>> others with their CakePHP related questions.
> >
> > >>> To unsubscribe from this group, send email to
> > >>> [email protected] For more options, visit this
> group
> > >>> athttp://groups.google.com/group/cake-php
> >
> > >> --
> > >>
> http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058
> >
> > >>  --
> > >> Our newest site for the community: CakePHP Video Tutorials
> > >>http://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
> > >> [email protected] 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 sitehttp://ask.cakephp.organd help
> > > others with their CakePHP related questions.
> >
> > > To unsubscribe from this group, send email to
> > > [email protected] For more options, visit this
> group
> > > athttp://groups.google.com/group/cake-php
> >
> > --
> http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058
>
> --
> 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
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>



-- 
http://picasaweb.google.co.in/jytbhandari/Signature#5495483545646503058

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to