Quick knee jerk reaction: should the square brackets around username be inside 
the apostrophes?

Also, check this 
(http://ad7six.com/#!/2007/08/24/Production-setup-revisited.html) - it worked 
for me.

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 3 Jan 2011, at 00:13, Will Oram wrote:

> I've been working with CakePHP for some time, but this is the first
> 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 [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

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

Reply via email to