I had same problem....

I had a "base" cake installation directory and used that in the path
environment variable

I messed around with it and created a couple apps, then I started to
work on a "real" app that I was going to put into production

so I create a folder with a the same cake installation files and
folders in it, it all runs perfectly fine and I changed the layouts
and home page without any problems

Then I moved onto creating the models and ran 'cake bake' inside the
project's 'app' folder and got the same error message as above.

I solved the problem temporarily by resetting the environment variable
to point to the project's console directory....

not sure if everything I did was the correct way of doing things...

summary (maybe help you understand my situation):
PATH = "............;C:\websites\cake\cake\console'
Project location: C:\websites\project (I unziped the contents of the
zip file in here, without the cakephp1.2.x.x. folder)

so I changed PATH: "..........;C:\websites\project\cake\console"
and it now works....

On May 22, 11:30 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> What are the steps to reproduce theerror?

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

Reply via email to