Re: Cake console shell error - not able to see App

2014-01-27 Thread Nif
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 bas

Cake console shell error - not able to see App

2014-01-27 Thread Nif
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. out("Processing...\n"); $collection = new ComponentColl

Re: Cake console shell

2010-06-04 Thread Edwin
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 wrote: > why does it bother you? :) > just ignore it > >

Re: Cake console shell

2010-06-04 Thread euromark
PS: you would need to override startup() in all shell scripts - even the core ones... On 4 Jun., 15:27, euromark wrote: > why does it bother you? :) > just ignore it > > On 4 Jun., 13:59, Edwin wrote: > > > > > Thanks, got it working! I forgot to add the -app parameter. > > > Is there any param

Re: Cake console shell

2010-06-04 Thread euromark
why does it bother you? :) just ignore it On 4 Jun., 13:59, Edwin 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" > etc. > > Thanks

Re: Cake console shell

2010-06-04 Thread Edwin
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 wrote: > just type "cake" and you will see the ava

Re: Cake console shell

2010-06-04 Thread euromark
just type "cake" and you will see the available shells yours is not in that list i guess On 4 Jun., 12:20, Edwin 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 perha

Cake console shell

2010-06-04 Thread Edwin
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 o