我有一个表单,用户在其中选择一个文档。然后,该文档由控制器保存到webroot文件夹中。 然而,它甚至可以显示表单之前,它给了我一个错误: Missing Database Table
Error: Table office_layouts for model OfficeLayout was not found in datasource default.
哪个是正确的,对于office_
使用CakePHP 1.3我开发了博客引擎,包含帖子和评论表,最近我注意到在数据库中,尽管Comment模型已经定义了内容列中的空值适当的验证:
<?php
class Comment extends AppModel {
var $name = 'Comment';
var $sequence = 'comments_seq';
var
我遇到了CakePHP的问题。我测试了很多方法,但找不到解决方案。 我有这些表: 用户 id
name
country_code
国家 code
title
技能 code
title
个角色 id
title
事件 id
title
country_code
events_users event_id
user_id
role_id
skill_code
我试着登录用户时收到以下错误致命错误: Call to a member function login() on a non-object
我的登录操作使用外部模型。的动作是:被传递给$this->Auth->login public function login() {
$this->loadModel('User');
if ($this->request->i