Tuesday, September 28, 2010

Need help finalizing the configuration of my CakePHP setup

I thought I understood the advanced configuration of CakePHP...
however, I keep getting the error stated at the bottom of this
email...

Cake core: c:\cake\
The rest: c:\Apache2.2\htdocs\app

My config file:

/**
* The full path to the directory which holds "app", WITHOUT a
trailing DS.
*
*/
if (!defined('ROOT')) {
define('ROOT', DS.'Apache2.2'.DS.'htdocs');
}
/**
* The actual directory name for the "app".
*
*/
if (!defined('APP_DIR')) {
define('APP_DIR', 'app');
}
/**
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
*
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', DS.'cake');
}

My error:

Warning: include(cake\bootstrap.php) [function.include]: failed to
open stream: No such file or directory in C:\Apache2.2\htdocs\app
\webroot\index.php on line 76

Warning: include() [function.include]: Failed opening 'cake
\bootstrap.php' for inclusion (include_path='\cake;\Apache2.2\htdocs
\app\;.;C:\php5\pear') in C:\Apache2.2\htdocs\app\webroot\index.php on
line 76

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 C:\Apache2.2\htdocs\app\webroot\index.php on line 77

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: