I am new to using cakephp and am using a WAMP server on my desktop
computer while running it. I have uncommented the line in httpd.conf
to use the pretty URL's since for some reason even though my
mod_rewrite looks enabled the CSS / images were missing on my cake
start page.
Anyhow, I am having trouble with the blog. I see this error when
trying to access:
http://localhost/cake_1_2/index.php/posts/index
But I did create the Controller..so I'm not sure what it is talking
about. I think this may be an error due to something with mod_rewrite
or the pretty URLs?
Missing Controller
Error: PostsController could not be found.
Error: Create the class PostsController below in file: app\controllers
\posts_controller.php
<?php
class PostsController extends AppController {
var $name = 'Posts';
}
?>
Notice: If you want to customize this error message, create app\views
\errors\missing_controller.ctp
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment