This should be:
define('CAKE_CORE_INCLUDE_PATH',DS.'dev'.DS.'lib');
On Feb 3, 6:07 am, "Dave" <[email protected]> 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 [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