Monday, August 6, 2012

Error trying to use console\cake bake - working folder versus document root issue

Hello,  I'm trying to use "cake bake" my app root is e:\mysite\trunk\app which is not inside of the xampp\htdocs folder.

Path has the additional item of e:\mysite\trunk\app\console  add.
Working folder is e:\mysite\trunk\app

xampp has document root set to app\webroot as usual.
xampp has virtual address of mysite:8080 and is displayed exactly as I want...

Now, I need to add several Shell commands for back-end processing, and decided to use the cake console shell and bakery.  Using the wonderful windows command prompt:

E:\mysite\trunk\app> console\cake

I get an error for a file required by my app/Config/bootstrap.php which is  require '../Lib/myCommon.php';

Now, the ../Lib is accessible by the application during use by a browser since the root folder is app\webroot
But, it is not when the working folder is app?

How do I reconcile the two working folder and the root folder?

Thank you in advance for any assistance you can offer,
Greg

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate