N00b here. I have been racking my brain on what's going on with my
cake install. here's everything that I am using
Windows XP
Instant Rails with updated mySQL 5
latest cake install
Here's the error message I get on the site:
Warning: main(cake\bootstrap.php): failed to open stream: No such file
or directory in c:\instantrails\www\cakephp\app\webroot\index.php on
line 82
Fatal error: main(): Failed opening required 'cake\bootstrap.php'
(include_path='.;C:/InstantRails\php\pear\;\www\cakephp;\www\cakephp\\www\cakephp\app\')
in c:\instantrails\www\cakephp\app\webroot\index.php on line 82
Here's the apache config file:
<VirtualHost *>
ServerName localhost
DocumentRoot ${path}/www/cakephp/app/webroot/
</VirtualHost>
Here's the index.php code:
if (!defined('ROOT')) {
define('ROOT', DS.'www'.DS.'cakephp');
//You should also use the DS define to seperate your
directories
//define('ROOT', dirname(dirname(dirname(__FILE__))));
}
if (!defined('APP_DIR')) {
define('APP_DIR', DS.'www'.DS.'cakephp'.DS.'app');
//define('APP_DIR', basename(dirname(dirname(__FILE__))));
}
/**
* This only needs to be changed if the cake installed libs are located
* outside of the distributed directory structure.
*/
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
//define ('CAKE_CORE_INCLUDE_PATH',
DS.'www'.DS.'cakephp'.DS.'cake');
//You should also use the DS define to seperate your
directories
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}
So, any help that you guys can give me. Much appreciated in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---