![](/img/trans.png)
[英]Why I am getting not found error on js/index.php/x.js in Magento?
[英]Why am I getting a 'not found' error for a subdirectory store in Magento?
我正在运行Magento CE 1.7.0.2,并尝试使用此处描述的“子目录方法”来建立第二家商店: http ://www.crucialwebhost.com/blog/how-to-setup-multiple-magento-stores/
当我尝试导航到新店面时,出现以下错误:
“未找到[我的根目录] / [我的新商店的子目录] /app/Mage.php”
Magento后端中的其他所有内容似乎都设置正确-有人可以帮忙吗?
谢谢
将index.php复制到子目录后,需要更改子目录中的index.php以将其指向app / Mage.php。
在子目录index.php中找到以下内容
$mageFilename = 'app/Mage.php';
并替换为
$mageFilename = '../app/Mage.php';
为了完整起见,您应该对$ compilerConfig变量执行相同的操作
$compilerConfig = '../includes/config.php';
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.