我正在本地计算机上为 Magento 安装 B2B 扩展,没有出现任何问题。但是,在对客户端服务器执行相同操作时,我收到以下错误:
404 Not Found
The server can not find the requested page:
mydomain.com/errors/report.php?id=264218583315&skin=default (port 80)
Please forward this error screen to mydomain.com's WebMaster.
我需要在哪里进行更改?我替换了 Observer.php 文件中的以下第 33 行。
Mage::app()->getResponse()->setRedirect(Mage::helper('adminhtml')->getUrl("customer/account/login"));
with
Mage::app()->getResponse()->setRedirect("http://mydomain.com/magento/index.php/customer/account/login"));
当我插入网址时
http://mydomain.com/magento/index.php/customer/account/login
直接在浏览器中运行正常。但这里它重定向到404错误页面。
我需要对 Magento 中的任何文件或其他配置进行一些更改吗?
我猜这是 B2B 扩展的配置或安装错误。您的配置存储在 core_config 表中,也尝试重新安装 B2B 扩展。正如 LittleBigDev 所提到的,这也可能是访问权限的问题。并检查本地和服务器上的 magento 版本是否相同。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)