To access that URL, you will need to create the file like the error message
says, something like the following:

class TasksController extends AppController {

    public function index() {
        // Index logic
    }

}

I recommend you do the blog / getting started tutorial first.

http://book.cakephp.org/2.0/en/getting-started.html


On 14 June 2014 08:49, sirben <[email protected]> wrote:

> Hi,
>
> I am a newbie in CakePHP and I've got an error, can you help me with this
> error. Many thanks!
>
> Error: TaskController could not be found.
>
> Error: Create the class TaskController below in file:
> app\Controller\TaskController.php
>
> http://localhost/CakeTooDoo/task/index
>
> --
> 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.
>



-- 
Kind Regards
 Stephen Speakman

-- 
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