Just to make sure:
Your code is inside <?php ?> tags, is it?

On 7 Oct 2008, at 21:53, Ryan McKillen wrote:

> I am using cloud.php as the filename. And just to be safe, I changed  
> to var
> $uses = array(); in case there was a problem with my model. Am I  
> executing
> the shell properly?
>
> cd ~/cake/console
> ./cake cloud
>
> class CloudShell extends Shell {
>    var $uses = array();
>    function main() {
>      $this->out("test\n");
>    }
> }Error: Class CloudShell could not be loaded
>
>
>
>
> On Tue, Oct 7, 2008 at 2:16 AM, [EMAIL PROTECTED] <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Another basic thing to double-check is the filename. It should be
>> cloud.php in your case.
>>
>> /Martin
>>
>> On Oct 7, 2:54 am, Ryan <[EMAIL PROTECTED]> wrote:
>>> Sorry, it is in ~/vendors/shells
>>>
>>> On Oct 6, 1:41 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]>  
>>> wrote:
>>>
>>>> Is it in ~/vendors or ~/vendors/shells ?
>>>
>>>> On Oct 6, 7:30 pm, Ryan <[EMAIL PROTECTED]> wrote:
>>>
>>>>> I am trying to create my first shell script. The shell script is  
>>>>> in /
>>>>> vendors and when I run, I get this:
>>>
>>>>> class CloudShell extends Shell {
>>>>>       var $uses = array('Item');
>>>>>       function main() {
>>>>>         $this->out("test\n");
>>>>>       }
>>>
>>>>> }Error: Class CloudShell could not be loaded
>>>
>>>>> What am I missing? Thanks!
>>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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