Re: cake 1.2.x.x console problems

2007-12-19 Thread KellyBelly

oh - one more thing.  the console is working on the stable release,
but only up to a point.  I am able to start baking, but I get an error
before it finishes with any of the bakes.

"Fatal error: Cannot instantiate non-existant class: note in cake/
scripts/bake.php on line 1311"

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-19 Thread KellyBelly

Gustavo - thanks so much.  Since I last wrote I have decided to
install 2 separate apps - I have the stable release running, and I got
bake to work there.  Then I installed 1.2 in a completely separate
area.  It is working, but I can't bake or run the ACL Management
plugin.  They are both development setups - that means that I have put
them in separate folders in the root of my main, live website

www.website.com/administration - this is 1.2 - can't run console
www.website.com/back_end - this is the stable release - is working

I set the path to the app folder, then from the root I called "cake"
and got "command not found" - then I tried "php cake" and got another
command line.  Shouldn't I have gotten some sort of console?

I'll tell ya - at this point I would pay someone to help me get this
working. Is this a problem with my configuration or paths in my
webroot?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-18 Thread Gustavo Carreno

Kelly,

I know you are a beginner, that's why I winded you upp before one of
the more grumpy bakers chopped your head up. Don't get me wrong, these
are great guys but some of them have short fuses ;)

Now, have you added the path to the folder where the cake  script is
to your PATH?

If so are you calling the script from the root folder of your app?
either app or the parent to that one?

You mention that you get a bake: command not found. The command line
should be the word "cake", space, word "bake".

Hope this helps a bit more,
Gus

On 12/17/07, KellyBelly <[EMAIL PROTECTED]> wrote:
>
> Gustavo - I will admit it - I am a complete newbie to the command line
>
> I have been following this discussion because I am having the same
> problem
>
> I excuted chmod +x cake on the console folder, but it is still telling
> me that it can't find bake (bake: command not found)
>
> I am using the same setup as Adam.
>
> Thanks - I know you will be hearing more from me.  Loving Cake, but I
> am a webbie, not necessarily a programmer.  I come from an art
> background, although I have been doing this (in ASP) for 10 years.
>
> >
>


-- 
Gustavo Carreno
--- http://batxman.wordpress.com
< If you know Red Hat you know Red Hat,
If you know Slackware you know Linux >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-17 Thread KellyBelly

Gustavo - I will admit it - I am a complete newbie to the command line

I have been following this discussion because I am having the same
problem

I excuted chmod +x cake on the console folder, but it is still telling
me that it can't find bake (bake: command not found)

I am using the same setup as Adam.

Thanks - I know you will be hearing more from me.  Loving Cake, but I
am a webbie, not necessarily a programmer.  I come from an art
background, although I have been doing this (in ASP) for 10 years.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-17 Thread Gustavo Carreno

You need to do a chmod +x cake on the folder it is contained.

Now, please admit that you are a command line "student" when you don't
understand an explanation as simple as: make it executable :)

Just winding u up :P, hope that helped.

PS: Email sent from hospital bed using patientline(tm). HEHEHE UK
health system rox!

On 12/14/07, Adam D. <[EMAIL PROTECTED]> wrote:
>
> > wonder if on your system you have to set the executable bit?
>
> Not sure what you mean by that?
>
> On Dec 14, 6:38 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > On Dec 14, 2007 4:33 PM, Adam D. <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Thanks...
> >
> > > But when I execute the command
> >
> > > ./cake/console/cake bake
> >
> > > I get...
> >
> > > ./cake/console/cake: Permission denied
> >
> > > Any ideas? I am logged in the shell, as root
> >
> > wonder if on your system you have to set the executable bit?
> >
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
> >
>


-- 
Gustavo Carreno
--- http://batxman.wordpress.com
< If you know Red Hat you know Red Hat,
If you know Slackware you know Linux >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-14 Thread Samuel DeVore

it could be that on your host php is not runable via the command line

or the cake baking script needs to be made executable

http://www.google.com/search?client=safari&rls=en&q=man+chmod&ie=UTF-8&oe=UTF-8


On Dec 14, 2007 4:59 PM, Adam D. <[EMAIL PROTECTED]> wrote:
>
> > wonder if on your system you have to set the executable bit?
>
> Not sure what you mean by that?
>
> On Dec 14, 6:38 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
>
> > On Dec 14, 2007 4:33 PM, Adam D. <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Thanks...
> >
> > > But when I execute the command
> >
> > > ./cake/console/cake bake
> >
> > > I get...
> >
> > > ./cake/console/cake: Permission denied
> >
> > > Any ideas? I am logged in the shell, as root
> >
> > wonder if on your system you have to set the executable bit?
> >
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> >
>



-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-14 Thread Adam D.

> wonder if on your system you have to set the executable bit?

Not sure what you mean by that?

On Dec 14, 6:38 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> On Dec 14, 2007 4:33 PM, Adam D. <[EMAIL PROTECTED]> wrote:
>
>
>
> > Thanks...
>
> > But when I execute the command
>
> > ./cake/console/cake bake
>
> > I get...
>
> > ./cake/console/cake: Permission denied
>
> > Any ideas? I am logged in the shell, as root
>
> wonder if on your system you have to set the executable bit?
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-14 Thread Samuel DeVore

On Dec 14, 2007 4:33 PM, Adam D. <[EMAIL PROTECTED]> wrote:
>
> Thanks...
>
> But when I execute the command
>
> ./cake/console/cake bake
>
> I get...
>
> ./cake/console/cake: Permission denied
>
> Any ideas? I am logged in the shell, as root
>

wonder if on your system you have to set the executable bit?





-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-14 Thread Adam D.

Thanks...

But when I execute the command

./cake/console/cake bake

I get...

./cake/console/cake: Permission denied

Any ideas? I am logged in the shell, as root

Same thing when I added cake to my paths

-Adam
On Dec 13, 8:54 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
>  I think this is fairly upto date for Bake'n
>
> http://tempdocs.cakephp.org/#TOC108142
>
> HTH
>Sam D
>
> On Dec 13, 2007 6:47 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Dec 13, 2007 2:09 AM, Adam D. <[EMAIL PROTECTED]> wrote:
>
> > > I can't run the bake command, or any of the commands from theconsole.
>
> > > I viewed the screencasts, but still, no luck.
>
> > > If I execute
>
> > > /usr/bin/php cake/console/libs/bake.php
>
> > > ...and I get the output from theconsole, with paths, etc.
>
> > You don't run theconsoleutilities that way.  If you followed the
> > screencasts and put the cakeconsolescript in your path, then you'd
> > access bake by doing this:
>
> > cake bake
>
> > That's it.
>
> > --
> > Chris Hartjes
>
> > My motto for 2007:  "Just build it, damnit!"
>
> > @TheKeyboard -http://www.littlehart.net/atthekeyboard
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-13 Thread Samuel DeVore

 I think this is fairly upto date for Bake'n

http://tempdocs.cakephp.org/#TOC108142

HTH
   Sam D

On Dec 13, 2007 6:47 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
> On Dec 13, 2007 2:09 AM, Adam D. <[EMAIL PROTECTED]> wrote:
> >
> > I can't run the bake command, or any of the commands from the console.
> >
> > I viewed the screencasts, but still, no luck.
> >
> > If I execute
> >
> > /usr/bin/php cake/console/libs/bake.php
> >
> > ...and I get the output from the console, with paths, etc.
> >
>
> You don't run the console utilities that way.  If you followed the
> screencasts and put the cake console script in your path, then you'd
> access bake by doing this:
>
> cake bake
>
> That's it.
>
> --
> Chris Hartjes
>
> My motto for 2007:  "Just build it, damnit!"
>
> @TheKeyboard - http://www.littlehart.net/atthekeyboard
>
>
> >
>



-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Re: cake 1.2.x.x console problems

2007-12-13 Thread Chris Hartjes

On Dec 13, 2007 2:09 AM, Adam D. <[EMAIL PROTECTED]> wrote:
>
> I can't run the bake command, or any of the commands from the console.
>
> I viewed the screencasts, but still, no luck.
>
> If I execute
>
> /usr/bin/php cake/console/libs/bake.php
>
> ...and I get the output from the console, with paths, etc.
>

You don't run the console utilities that way.  If you followed the
screencasts and put the cake console script in your path, then you'd
access bake by doing this:

cake bake

That's it.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



cake 1.2.x.x console problems

2007-12-12 Thread Adam D.

I can't run the bake command, or any of the commands from the console.

I viewed the screencasts, but still, no luck.

If I execute

/usr/bin/php cake/console/libs/bake.php

...and I get the output from the console, with paths, etc.

--

I essentially just want to run the good ol' bake script on some models
and contollers.

I am on a linux box, using putty from a windows xp.

Thanks,

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---