guitarheaven123
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by guitarheaven123
-
-
ok I figured out that i did not specify a path but i can't figure out how to do so. here is what i have:
* Use the DS to separate the directories in other defines
*/
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
/**
* These defines should only be edited if you have cake installed in
* a directory layout other than the way it is distributed.
* When using custom settings be sure to use the DS and do not add a trailing DS.
*/
/**
* The full path to the directory which holds "app", WITHOUT a trailing DS.
*
*/
if (!defined('ROOT')) {
define('ROOT', dirname(dirname(dirname(__FILE__))));
}
/**
* The actual directory name for the "app".
*
*/
if (!defined('APP_DIR')) {
define('APP_DIR', basename(dirname(dirname(__FILE__))));
so how do i express this. and do i use the file on my hd (C:\Documents and Settings\Owner\My Documents\My Web Sites\guitarheaven123b\script\app) or on the remote directory?
-
Hi guys, I am new to php and frankly it is a little overwhelming. Any way I am building a new site.(guitarheaven123.com) I have uploaded all of my script but I keep getting this.
Warning: include(cake/bootstrap.php) [function.include]: failed to open stream: No such file or directory in /home/content/g/u/i/guitarheaven12/html/webroot/index.php on line 83
Warning: include() [function.include]: Failed opening 'cake/bootstrap.php' for inclusion (include_path='/home/content/g/u/i/guitarheaven12:/home/content/g/u/i/guitarheaven12/html/:.:/usr/local/php5/lib/php') in /home/content/g/u/i/guitarheaven12/html/webroot/index.php on line 83
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 /home/content/g/u/i/guitarheaven12/html/webroot/index.php on line 84
Here is a copy of my cake/bootstrap:
if (!defined('PHP5')) {
define ('PHP5', (PHP_VERSION >= 5));
}
/**
* Configuration, directory layout and standard libraries
*/
if (!isset($bootstrap)) {
require CORE_PATH . 'cake' . DS . 'basics.php';
$TIME_START = getMicrotime();
require CORE_PATH . 'cake' . DS . 'config' . DS . 'paths.php';
require LIBS . 'object.php';
require LIBS . 'inflector.php';
require LIBS . 'configure.php';
}
require LIBS . 'cache.php';
Configure::getInstance();
$url = null;
App::import('Core', array('Dispatcher'));
?>
can u tell me what i am doing wrong. by the way this is the telebid auction script.
cake/bootstrap.php problem
in Frameworks
Posted
can anyone help please?