I installed the core CakePHP files in this folder:
/home/iopener/webapps/cake_1.2.1.8004
I have my application installed here:
/home/iopener/webapps/myapp.com/app
The cake console command is on my way and works fine, but it seems to ignore any attempt to point it to the correct -app folder. If I run the βcakeβ from the application folder, I get this error:
Welcome to CakePHP v1.2.1.8004 Console
-------------------------------------------------- -------------
Current Paths:
-app: app
-working: /home/iopener/webapps/myapp.com/app
-root: /home/iopener/webapps/myapp.com
-core: /home/iopener/webapps/cake_1.2.1.8004
Changing Paths:
your working path should be the same as your application path
to change your path use the '-app' param.
Example: -app relative / path / to / myapp or -app / absolute / path / to / myapp
Note that the working path and the application path are the same, but the -app option simply skips the absolute path. So I tried this command:
cake -app /home/iopener/webapps/myapp.com/app
And received the same error message as before. I tried to start the cake from the root folder (one level from the application), I tried to use relative paths, but nothing works.
I spent about 2 hours on Google trying to find someone with a similar problem, and no joy.
I installed CakePHP on other machines and got this working without problems, but I canβt remember whether it used a centralized main folder (for example, I am now) or not.
Any ideas? TIA
-Josh