I have a brand new install of Cake 1.2. I only have one controller
and I've installed my ACL tables. Here is the code in my controller.
<?php
class SetupsController extends AppController {
var $name = 'Setups';
var $components = array('Acl');
function create() {
echo "Starting...";
$aro = new Aro();
$aro->create(0, null, 'Employees');
$aro->create(0, null, 'Admin');
$aro->create(0, null, 'ManagerButtons');
}
}
?>
I'm just trying to create some aro's. It's not doing anyting.
"Starting..." prints out and if I do a pr($aro), there's a lot of data
in there (I don't know what it's for). But it's not giving me errors
and it's not creating the aro's. Any ideas? It seems to be
completely ignoring those lines. I'm on windows if that makes a
difference.
I can create aro's at the command line all day long. It's not going
to be much use if my app can't do it for me though. I'm hoping it's
something simple like forgetting to turn something on?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---