发新话题
打印

新手关于CakePHP指南 - Blog开发实例的问题

新手关于CakePHP指南 - Blog开发实例的问题

本人刚刚接触php以及cake,现cake已经部署好,可以通过http://localhost/cake/访问默认cake页面,显示Your database configuration file is present. Cake is able to connect to the database. 今天根据帖子CakePHP指南 - Blog开发实例学习了以下, 发现在创建在创建了module, control,以及view的thtml后, 通过http://localhost/cake/访问的还是cake的默认页, 我手动输入app 的目录http://localhost/cake/app/ 也不行, 用文章中的http://localhost/cake/app/index.php?url=posts 访问又会提示 Class 'PostsHelper' not found in D:\www\cake\app\controllers\posts_controller.php on line 3 ,这些我继承的基类为什么全部找不到呢?
新手请教,麻烦大家不要鄙视哈,多谢高手帮忙先~~

TOP

我也是这个问题,PostHelper 只是单纯的继承AppController,直接在PostController里 继承就可以了,但是不能用。。。

TOP

在培植文件中该下Route

TOP

发新话题