This is somewhat related to
http://groups.google.com/group/cake-php/browse_thread/thread/ea2bac4072e36cc6/c59d9cb45cf43a81?lnk=gst&q=Warning+Configure+include#c59d9cb45cf43a81
If you receive the following error
Warning: Configure::include core.php configure.include failed to open
stream: No such file or directory
I was able to solve it only setting the following 3 variables
manually
*/
if (!defined('ROOT')) {
//define('ROOT', dirname(dirname(dirname(__FILE__))));
define('ROOT', '/home/mywebsite/cakephp');
}
/**
* The actual directory name for the "app".
*
*/
if (!defined('APP_DIR')) {
//define('APP_DIR', basename(dirname(dirname(__FILE__))));
define('APP_DIR', 'cakephp/app');
}
/**
* The absolute path to the "cake" directory, WITHOUT a trailing DS.
*
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', '/home/mywebsite/cakephp');
}
/**
also I remember editing
//ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR .
ROOT . DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path'))
ini_set('include_path', CAKE_CORE_INCLUDE_PATH)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---