问题描述:

I don't understand, i put manually my table in my cakephp model :

<?php

class Configs extends AppModel {

public $useTable = 'data_configs';

}

I have the error Table data_configs for model Configs was not found in datasource default.

If i change my table for a other table in my mysql, it's working... what is the problem ? My table exists and not empty.

网友答案:

Try clear Cake's cache:

$ cd app/tmp/cache
$ find . -type f -delete
相关阅读:
Top