将magento站点从子目录移动到根目录时无法打开流


Failed to open stream when moving magento site from sub directory to root directory

我刚刚完成了将Magento的urba实例从/urba目录移动到根目录的过程,但它仍在/urba文件夹中查找文件。

我已经更新了web/unsecure/base_url和web/secure/base_url的值,清除了/var/cache和/var/session,并仔细检查了.htaccess重写库,将我的所有文件夹和文件更新到根文件夹

当我按下保存配置时,magento的管理面板也从链接中消失

现在当我打开我的网站链接

http://urbanunity.co.uk/

它自动将我重定向到

http://urbanunity.co.uk/downloader/

出现以下错误

Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/content/07/12442607/html/Urba/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='/home/content/07/12442607/html/Urba/app/code/local:/home/content/07/12442607/html/Urba/app/code/community:/home/content/07/12442607/html/Urba/app/code/core:/home/content/07/12442607/html/Urba/lib:.:/usr/local/php5_4/lib/php') in /home/content/07/12442607/html/Urba/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/content/07/12442607/html/Urba/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='/home/content/07/12442607/html/Urba/app/code/local:/home/content/07/12442607/html/Urba/app/code/community:/home/content/07/12442607/html/Urba/app/code/core:/home/content/07/12442607/html/Urba/lib:.:/usr/local/php5_4/lib/php') in /home/content/07/12442607/html/Urba/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /home/content/07/12442607/html/Urba/app/Mage.php on line 54

我在index.php文件中做了更改

$mageFilename = 'app/Mage.php';

$mageFilename = 'cart/app/Mage.php';

使用magento版本1.8.1.0

您是否检查了移动Magento文件夹的Magento文档?

Magento Doc-将Magento移动到另一个目录