To access that URL, you will need to create the file like the error message says, something like the following:
class TasksController extends AppController {
class TasksController extends AppController {
public function index() {
// Index logic
}
}
I recommend you do the blog / getting started tutorial first.
On 14 June 2014 08:49, sirben <ochoa.dexter@gmail.com> 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 cake-php+unsubscribe@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.
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 cake-php+unsubscribe@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.
No comments:
Post a Comment