On Mar 23, 1:31 am, "aerosmith" <[EMAIL PROTECTED]> wrote:
> I think you must create your controller as the following:
>
> //app\controllers\trading_systems_controller_controller.php
> class TradingSystemsController extends AppController
> {
> var $name = 'TradingSystems';
>
> }
>
> take a look at your controller is it (TradingSystemsController) or
> (TradingsystemsController)...
>
> If it's asking you to create app\models\tradingsystem.php then you
> have wrongly created a TradingsystemsController instead of
> TradingSystemsController.
You, sir, are a mad genius. Adding
var $name = 'TradingSystems';
to the controller fixed it. And now I see in the manual where it says
PHP4 doesn't properly Camelize so you have to set $name manually.
Anyway, thanks!
Matthew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---