我对cakephp很陌生。
我的项目名为"catalog"
我正在使用xampp和cakephp 2.3.7版本
我已经创建了controller app/controller/ItemsController.php
class ItemsController extends AppController{
public function index(){
$this->set('color', 'blue');
}}
我已经创建了View/Items/index.ctp
<?php echo $color ?>
当我试图在浏览器中访问"catalog/"
et working fine我有一个起始页:CakePHP 2.5.3的发布说明. ................
但当我试图达到我的控制器,如:"目录/项目"出现错误
Missing Controller
Error: ItemsController could not be found.
Error: Create the class ItemsController below in file: app'Controller'ItemsController.php
<?php
class ItemsController extends AppController {
}
Notice: If you want to customize this error message, create app'View'Errors'missing_controller.ctp
Stack Trace
APP'webroot'index.php line 108 → Dispatcher->dispatch(CakeRequest, CakeResponse)
谁来帮帮我
对不起,我弄错了我已经创建了两个文件夹一个是xampp,另一个是netbeans