> Can you paste your controller? Specifically, the class variables.

Not sure what you mean by "class variables". Here's the entire
controller:

<?php

class TradingSystemsController extends AppController {

        var $scaffold;
        //var $uses = array('TradingSystem');

    function index() {
                $this->TradingSystem->findAll();
                $this->set('foo','bar');
    }
}

?>

Note that if I uncomment the $uses line it finds my TradingSystem
model (and the controller and view work fine), but it still looks for
the view in views/tradingsystems/ instead of views/trading_systems/.

I've tried in both cake 1.1.13.4450 and the latest 1.2 and get the
same behavior in both. I have checked the file and class names like
100 times, I have used tables with and without table prefixes, I have
made sure my model was completely empty, and I'm pretty much at wit's
end here. For the record, a very helpful person tried to recreate my
problem yesterday and he claimed when his worked fine, but when he
tar'd up his project and emailed it to me and I replaced my controller/
model/view with his, I still got the same error.

Help!


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to