Hi, It seems i have a  same problem.
I'm tried to setup a cakephp example like cakephp.org => 【Blog posts】

【the following is error text  :】
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

【file path】Apache2.2/htdocs
/cake_php / app / controllers/ posts_controller.php
               / models / post.php
               / views / posts / index.ctp
                                     / view.ctp

【httpd.conf】
LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot "D:/Program Files/Apache Software Foundation/Apache2.2/
htdocs/cake_php/app/webroot"
<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
    Deny from all
</Directory>

【routes.php】
Router::connect ('/', array('controller'=>'posts',
'action'=>'index'));
Router::connect('/pages/*', array('controller' => 'pages', 'action' =>
'display'));

【OS】
Apache2.2 / winxp

sorry, not good at english.
wish your help.thanks!

On 6月6日, 下午1时35分, persianshadow <[email protected]> wrote:
> check these options :
>
> 1 - filename letters must be lowercase : items_controller.php  (plz
> check this correctly)
>
> 2 - mod_rewrite must be active . whats your server and OS ?
>
> 3 - where you put "items_controller.php " ? (plz paste full directory
> path )

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to