Magento模块中的Mydomain错误 [英] Mydomain error in Magento module

查看:109
本文介绍了Magento模块中的Mydomain错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Magento的本地计算机上安装B2B扩展程序,而没有遇到麻烦.但是在对客户端服务器执行相同操作时,出现以下错误:

I am installing a B2B extension on a local machine for Magento without trouble. But while doing the same for the client server I am getting following error:

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行.

Where do I need to do the changes? I replaced the following line 33 in Observer.php file.

    Mage::app()->getResponse()->setRedirect(Mage::helper('adminhtml')->getUrl("customer/account/login"));

Mage::app()->getResponse()->setRedirect("http://mydomain.com/magento/index.php/customer/account/login"));

当我插入网址时

http://mydomain.com/magento/index.php/customer/account/login

直接在浏览器中可以正常工作.但是这里将其重定向到404错误页面.

in the browser directly it works fine. But here its redirecting to 404 error page.

我需要在Magento或其他配置中对任何文件进行一些更改吗?

Do I need to make some changes to any file in Magento or some other configurations?

推荐答案

我猜这是B2B扩展程序的配置或安装错误.您的配置存储在core_config表中,也请尝试重新安装B2B扩展.正如LittleBigDev所提到的,访问权限也可能是一个问题.并检查magento的版本在本地和服务器上是否相同.

I guess This is an error with the configuration or with the installation of B2B Extension. Your configuration is stored in core_config table, also try to reinstall the B2B extension. As mentioned by LittleBigDev It can also be an issue with access rights. And do check the version of magento is same on local as well as server.

这篇关于Magento模块中的Mydomain错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆