2

我是 magento 的新手,我已经在 VirtueMart 为 joomla 工作了一年,我注意到它没有多商店功能,直到一个朋友把我介绍给 magento。我已在我的 Windows7 上成功地将 magento(1.7.0.2) 安装到 WAMP 2.2 (PHP v5.3.13) 中。

我按照此处的指示成功创建了根类别:http ://www.templatemonster.com/help/magento-how-to-set-up-and-manage-multiple-stores.html但就我自己而言,我正在使用子目录(即//domain/magento作为主存储和存储//domain/magento/crunchies2)。

在后端为脆饼创建了一个根类别。我将 index.php 和 htaccess 从 magento 文件夹(c:/wamp/www/magento)复制到 crunchies 文件夹(c:/wamp/www/magento/crunchise)。在 crunchies 的 index.php 副本上,$mageFilenam =‘app/Mage.php’;我将其更改为$mageFilename=‘../app/Mage.php’; 并保存更改,我还打开复制的 htaccess 文件并将以下内容添加到它的结尾:

SetEnvIf Host.*MainWebsite.*MAGE_RUN_CODE= base";

SetEnvIfHost .*www.crunchies.com.*MAGE_RUN_TYPE="cruncies_code";

在 System>manage store of backend 创建的网站名称为:Main Website(用于 main store)和 www.crunchies.com(用于 store2)。

当我指向domain/magento我的浏览器时,它显示主页但是当我指向时domain/magento/crunchies,我得到:\"mydirectery"../app/Mage.php was not found.

请问我该如何解决这个问题?我的 wamp 配置中是否还有其他设置遗漏?

4

0 回答 0