Mydomain error in Magento module

I install the B2B extension on the local computer for Magento without any problems. But, doing the same for the client server, I get the 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 WebMaster. 

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

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

from

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

Also when I insert url

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

The browser directly works fine. But here it redirects to the 404 error page.

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

+7
source share
2 answers

I think this is a bug with the configuration or installing the B2B Extension. Your configuration is stored in the core_config table, also try reinstalling the B2B extension. As mentioned by LittleBigDev This can also be an access issue. And check that the version of magento is the same on both local and server.

+2
source

File permissions should be 644. For folders, it should be 755. For Mage folder files and PEAR lib files, it should be 550

And you should also check file owner settings.

For more information check out http://www.magentocommerce.com/wiki/groups/227/resetting_file_permissions/

+1
source

All Articles