キャッシュフォルダをクリアするというこの問題に対して提案されたすべての解決策を試しました。キャッシュも無効にしConfigure::write('Cache.disable', true);
ます。デバッグレベルは2に設定されていますが、常に同じエラーが発生します。欠落しているテーブルは、新しく追加されたテーブルのみです。ちなみに、私はローカルホストでのみ実行しています。これはDepartment.phpという名前の私のモデルです
<?php
class Department extends AppModel {
public $name = 'Department';
}
?>
これは私のコントローラー名DepartmentsController.phpです
<?php
class DepartmentsController extends AppController {
public $name = 'Departments';
public $helpers = array('Html', 'Form','Session');
public $components = array('RequestHandler','Session');
function index() {
$this->Department->recursive = 0;
$this->set('departments', $this->paginate());
}
}
?>
事前に回答ありがとうございます!:D