Any one please just tell me why this happens ?
My table name is directories
My controller -> directories_controller.php
class DirectoriesController extends AppController
{
var $name = 'Directories';
var $scaffold;
}
my model -> directory.php
class Directory extends Appmodel
{
var $name= 'Directory ';
var $primaryKey = 'directory_id';
}
and when I typed in browser i got an error in cakephp1.1xx ----
Undefined class name 'connectionmanager'
and in cakephp1.2
Error: Directory could not be found.
Error: Create the class Directory in file: app/models/directory.php
I have tried to find the solution for many times and finally i have
to change my table name and then it worked ... but still am not able
to find the reason for this error. Any one please tell me
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---