Do you have a cake directory under cake1.2.6? If not, then rename the cake1.2.6 directory to cake and use: define('CAKE_CORE_INCLUDE_PATH',DS.'dev'.DS.'lib');
I have this directory setup: /cake /app1 /app2 /app3 and I use the following in the /appx/webroot/index.php to define the constants: ... define('ROOT', dirname(dirname(dirname(__FILE__)))); ... define('APP_DIR', basename(dirname(dirname(__FILE__)))); ... define('CAKE_CORE_INCLUDE_PATH', ROOT); Hope this helps you with your definitions :) John On Feb 3, 12:07 am, "Dave" <make.cake.b...@gmail.com> wrote: > I am trying to set up multiple apps using 1 cake so i have currently: > public_html/ > dev/ > libs/ > cake1.2.6/ > site1/ > /app > site2/ > /app > > Webroot index.php (site1) > > if (!defined('ROOT')) { > define('ROOT', DS.'dev'.DS.'site1'); > } > > if (!defined('APP_DIR')) { > define('APP_DIR', 'app'); > } > > if (!defined('CAKE_CORE_INCLUDE_PATH')) { > > define('CAKE_CORE_INCLUDE_PATH',DS.'dev'.DS.'lib'.DS.'cake1.2.6'); > } > > Results in > Warning: include(cake/bootstrap.php) [function.include]: failed to open > stream: No such file or directory in > /home/duee8441/public_html/dev/site1/app/webroot/index.php on line 93 > > Fatal error: CakePHP core could not be found. Check the value of > CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the > directory containing your /cake core directory and your /vendors root > directory. in /home/duee8441/public_html/dev/site1/app/webroot/index.php on > line 94 > > Ideas where I went wrong? > > Thanks, > > Dave Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en