如何使用Cakephp 3解决UserController中缺少的方法?

如何使用Cakephp 3解决UserController中缺少的方法?,php,cakephp,cakephp-3.0,Php,Cakephp,Cakephp 3.0,UsersController错误中缺少方法 UsersController中未定义操作表\u datatable.ctp 错误:在文件src\Controller\userscoontroller.php中创建userscoontroller::table_datatable.ctp 错误消息取决于请求的url,该错误消息表示您正在请求此url: http://example.com/users/table_datatable.ctp .ctp从不在url中-url与模板文件的路径不匹配;仅

UsersController错误中缺少方法

UsersController中未定义操作表\u datatable.ctp

错误:在文件src\Controller\userscoontroller.php中创建userscoontroller::table_datatable.ctp


错误消息取决于请求的url,该错误消息表示您正在请求此url:

http://example.com/users/table_datatable.ctp
.ctp从不在url中-url与模板文件的路径不匹配;仅设计为可直接通过web访问

在继续之前,这将是一个好主意,它只需要大约15分钟,并将向您介绍CakePHP如何工作以及如何使用它

http://example.com/users/table_datatable.ctp