Conside the following:
Controller
=======
class UserController extends AppController {
function index() {
$users = User::findAll();
}
}
Model
=====
class User extends AppModel {
var $name = 'User';
}
when requesting the following url
http://localhost/cake/user
I get the below error.
Notice: Undefined property: UsersController::$useDbConfig in C:
\Program Files\Apache Software Foundation\Apache2.2\htdocs\savvy\cake
\libs\model\model_php5.php on line 1145
Fatal error: ConnectionManager::getDataSource - Non-existent data
source in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs
\savvy\cake\libs\model\connection_manager.php on line 110
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---