Hi All,
I am new to the cake console and especially to creating a shell to run
in/on it. The research I have done says it should be possible to call App
from the shell and the examples I have seen use code like the below to do
so.
?php
App::uses('AppShell', 'Console/Command');
OK... it was me. All me. I was missing a semi-colon ;p
I do however have a new issue. I manage to call in my Component, but that
component calls one of my controllers and this is now throwing an error
when running in the console. I need all the functionality to be accessible
to both the web
Hi all,
When trying to run /path_to/cake/console/cake mail in shell I get
the following error:
Error: Class MailShell could not be loaded.
Can anybody perhaps point me in the right direction why i get this
error?
Thanks!
Check out the new CakePHP Questions site http://cakeqs.org and help
just type cake and you will see the available shells
yours is not in that list i guess
On 4 Jun., 12:20, Edwin edwink...@gmail.com wrote:
Hi all,
When trying to run /path_to/cake/console/cake mail in shell I get
the following error:
Error: Class MailShell could not be loaded.
Can anybody
Thanks, got it working! I forgot to add the -app parameter.
Is there any parameter or way that i can dissable any output from the
console? E.g. don't display the Welcome to CakePHP v1.3.0 Console
etc.
Thanks again
On Jun 4, 12:38 pm, euromark dereurom...@googlemail.com wrote:
just type cake
why does it bother you? :)
just ignore it
On 4 Jun., 13:59, Edwin edwink...@gmail.com wrote:
Thanks, got it working! I forgot to add the -app parameter.
Is there any parameter or way that i can dissable any output from the
console? E.g. don't display the Welcome to CakePHP v1.3.0 Console
PS: you would need to override startup() in all shell scripts - even
the core ones...
On 4 Jun., 15:27, euromark dereurom...@googlemail.com wrote:
why does it bother you? :)
just ignore it
On 4 Jun., 13:59, Edwin edwink...@gmail.com wrote:
Thanks, got it working! I forgot to add the
Because I'm using it for email piping. When I'm running the shell it
will reply the email with the CakePHP Console message. Will give the
overriding startups a try.. but there must be a better solution?
Thanks!
On Jun 4, 3:27 pm, euromark dereurom...@googlemail.com wrote:
why does it bother