Hi,

I'm trying to figure out why cake isn't seeing my model. I've got a
table named trading_systems, a controller named
TradingSystemsController in controllers/
trading_systems_controller.php, and my model is named TradingSystem
and is in the file models/trading_system.php.

When I access http://localhost/trading_systems/ I get this message:

"Missing Model

No class found for the Tradingsystem model"

And it wants me to create this class in app\models\tradingsystem.php:

<?php
class Tradingsystem extends AppModel {
   var $name = 'Tradingsystem';
}

But I already have

<?php
class TradingSystem extends AppModel {
        var $name = 'TradingSystem';
}
?>

in app\models\trading_system.php. Note if I put var $uses =
array('TradingSystem') in the controller, it works (although the view
path is still messed up, views/tradingsystems instead of views/
trading_systems/).

Any ideas?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to