time I've tried separating the Cake core from the app so I can have
multiple apps referencing one library.
I am running OS X, and I seem to be having a hard time translating
documentation to my situation.
public_html begins at /Users/[username]/Sites . This directory
contains /cake (the core) and /cakeapps (my apps). In index.php, I
have this defined:
if (!defined('ROOT')) {
define('ROOT', DS . 'Users' . DS . '[username]' . DS . 'Sites' .
DS . 'cakeapps');
}
if (!defined('APP_DIR')) {
define('APP_DIR', 'maps');
}
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', DS . 'Users' . DS . '[username]' .
DS . 'Sites');
}
When I actually hit localhost/cakeapps/maps, I am told:
Warning: include() [function.include]: Failed opening 'cake/
bootstrap.php' for inclusion (include_path='/Users/[username]/Sites:/
Users/[username]/Sites/cakeapps/maps/:.:/usr/lib/php') in /Users/
[username]/Sites/cakeapps/maps/webroot/index.php on line 81
All these paths look pretty valid to me. What am I missing?
Thanks.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment