2010-06-05 100 views
0

我試圖克隆beta.neighborrow.com的時候 - 我複製了文件的目錄文件,但我得到的新URL instillbliss.neighborrow.com此錯誤:蛋糕/ basics.php缺少克隆項目

Warning: require(cake/basics.php) [function.require]: failed to open stream: No such file or directory in /home/neighborrow/instillbliss.neighborrow.com/index.php on line 53

Fatal error: require() [function.require]: Failed opening required 'cake/basics.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear:/home/neighborrow/instillbliss.neighborrow.com:/home/neighborrow/instillbliss.neighborrow.com/app/') in /home/neighborrow/instillbliss.neighborrow.com/index.php on line 53

我找到了正確的由於文件艾哈邁德...

*/ 
if (!defined('APP_DIR')) { 
    define('APP_DIR', basename(dirname(dirname(__FILE__)))); 
} 

/** 
* The absolute path to the "cake" directory, WITHOUT a trailing DS. 
* 
*/ 
if (!defined('CAKE_CORE_INCLUDE_PATH')) { 
    define('CAKE_CORE_INCLUDE_PATH', '/home/neighborrow'); 
} 

/** 
* Editing below this line should NOT be necessary. 
* Change at your own risk. 
* 
*/ 
if (!defined('WEBROOT_DIR')) { 
    define('WEBROOT_DIR', basename(dirname(__FILE__))); 

我假設我必須要改變/home/neighborrow,但我應該將其更改爲?那是數據庫嗎?

+0

正確的權限基本上,這意味着'蛋糕/ basics.php'丟失。 – poke 2010-06-05 21:57:41

+0

那裏是那個文件嗎? – santiagobasulto 2010-06-05 21:58:11

+0

,但我在這裏有相同的確切文件beta.neighborrow.com,並沒有蛋糕文件夾 – adam 2010-06-05 22:00:57

回答

2

您需要重新配置的根目錄/路徑index.php文件 ,並確保你已經設置的餅夾

+0

確定真棒...我找到了正確的文件...現在不適當更新問題 – adam 2010-06-05 22:08:45