421 123
发新话题
打印

CakePHP指南 - Blog开发实例 [申请加精]

我原来是照着官方的手册来做的.显示页面的时候可以成功,但是在添加和编辑页面时就出错了...
Notice (1024): Method input() is deprecated in HtmlHelper: see FormHelper::input or FormHelper::text [CORE\cake\libs\view\helpers\html.php, line 735]
HtmlHelper::input() - CORE\cake\libs\view\helpers\html.php, line 735
include - APP\views\posts\add.thtml, line 5
View::_render() - CORE\cake\libs\view\view.php, line 648
View::render() - CORE\cake\libs\view\view.php, line 336
Controller::render() - CORE\cake\libs\controller\controller.php, line 712
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 272
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 240
[main] - APP\webroot\index.php, line 84
这是什么错误啊....
也就是在view页面的表单都显示不了.
最后的提交按钮就直接Warning (512): Method HtmlHelper::submit does not exist [CORE\cake\libs\view\helper.php, line 148]提示找不到方法.....
大家帮帮忙啊.

TOP

 421 123
发新话题