Yep, I got everything sorted out, but not components are not correctly
loaded into the task I have. Everything is working, writing to the
model etc., except for when I try to use the email component, I get an
undefined stdClass::send() error.
I looked at the shell.php and see that there is no option for var
$components = array(), so I went ahead and added one, as well as this
function that loads the components into the controller into the
shell.php file
function _initComponents() {
$component = new Component();
$component->init($this);
}
This does not work either and seems very messy, does anyone have any
idea on how to go about doing something like this in a cleaner
fashion ?
Thanks.
On Jul 25, 8:37 am, John David Anderson <[EMAIL PROTECTED]>
wrote:
> On Jul 25, 2007, at 12:51 AM, inVINCable wrote:
>
>
>
> > Hey guys,
>
> > I apologize if this has been answered before, but I could not find it
> > anywhere, and have been attempting to get this thing to work for the
> > past 3 hours. I am using WAMP 5 and have tried to set up the console
> > the way gwoo did in the screencast, followed directions exactly, but
> > when I tried to call cake from th command like, I kept getting "'cake'
> > is not recoginized as an internal or external command"
>
> Have you tried using the batch file rather than cake.php or php.exe?
> There's a cake.bat file in the console directory that might help.
>
> -- John
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---