我尝试克隆beta.neighborrow.com
- 我复制了文件的目录文件,但我在新网址instillbliss.neighborrow.com
上收到此错误:
警告:require(cake / basics.php)[function.require]:无法打开流:第53行/home/neighborrow/instillbliss.neighborrow.com/index.php中没有此类文件或目录
致命错误:require()[function.require]:打开所需的'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/')位于第53行的/home/neighborrow/instillbliss.neighborrow.com/index.php
感谢艾哈迈德找到了正确的文件......
*/
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 :(得分:2)
您需要重新配置webroot / index.php文件中的路径 并确保您已在蛋糕文件夹
上设置了正确的权限