Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MoneyBooker -> "Validate email" return "404 Not Found" #197

Closed
hackin88 opened this issue Jan 26, 2013 · 6 comments
Closed

MoneyBooker -> "Validate email" return "404 Not Found" #197

hackin88 opened this issue Jan 26, 2013 · 6 comments
Labels
Fixed in 2.4.x The issue has been fixed in 2.4-develop branch

Comments

@hackin88
Copy link

MoneyBooker -> "Validate email" return "404 Not Found"

When accessing

/backend/admin/system_config/edit/section/moneybookers

and click on "Validate email" is returned the error page not found

http://localhost/magento2.0.0.0-dev39/index.php/backend/admin/moneybookers/checkemail/key/466c55f3dec470116c6a2b1f9740cb81/?email=&isAjax=true&&form_key=Ok5ZOUtApAATBRSs

@hackin88
Copy link
Author

hackin88 commented Feb 2, 2013

magento2.0.0.0-dev40

The error persist

Controller backend modules from third parties is not working

@magento-team
Copy link
Contributor

Hello. Moneybookers module will be removed from default installation. Does this error also appears in other modules?

@hackin88
Copy link
Author


Too bad it will withdraw Moneybooker think it cool to be used as a basis for development of modules


I'm developing a module for Magento2


I created the following file

class Company_Module_Adminhtml_ProcessingController extends Mage_Adminhtml_Controller_Action


I'm using the Observer to inject script in the backend

$link = Mage::helper('Mage_Adminhtml')->getUrl("module/adminhtml_processing/index/");

Where the above script should generate the following URL

http://localhost/magento2.0.0.0-dev41/index.php/backend/module/adminhtml_processing/index/key/4274d7b722ada5a83f5f97a5049cef62/

page 404 where it is displayed

By accessing the same URL manually removing the text "/backend/" is generated the following error

http://localhost/magento2.0.0.0-dev41/index.php/module/adminhtml_processing/index/key/4274d7b722ada5a83f5f97a5049cef62/

http://localhost/magento2.0.0.0-dev41/index.php/module/adminhtml_processing/


a:5:{i:0;s:39:"Requested area (frontend) doesn't exist";i:1;s:1964:"#0 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/core/Mage/Core/Model/Authorization.php(63): Mage_Core_Model_Config->getAreaConfig()
#1 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/core/Mage/Core/Model/Authorization.php(51): Mage_Core_Model_Authorization->_getAclPolicy()
#2 /home/marcio/Dados/www/magento2.0.0.0-dev41/lib/Magento/Di/Zend.php(257): Mage_Core_Model_Authorization->__construct(Array)
#3 /home/marcio/Dados/www/magento2.0.0.0-dev41/lib/Magento/Di/Zend.php(156): Magento_Di_Zend->createInstanceViaConstructor('Mage_Core_Model...', Array, NULL)
#4 /home/marcio/Dados/www/magento2.0.0.0-dev41/lib/Zend/Di/Di.php(153): Magento_Di_Zend->newInstance('Mage_Core_Model...', Array)
#5 /home/marcio/Dados/www/magento2.0.0.0-dev41/lib/Magento/ObjectManager/Zend.php(85): Zend\Di\Di->get('Mage_Core_Model...', Array)
#6 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/Mage.php(499): Magento_ObjectManager_Zend->get('Mage_Core_Model...', Array)
#7 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/core/Mage/Backend/Controller/ActionAbstract.php(420): Mage::getSingleton('Mage_Core_Model...')
#8 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/local/Company/Module/controllers/Adminhtml/ProcessingController.php(55): Mage_Backend_Controller_ActionAbstract->loadLayout()
#9 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/core/Mage/Core/Controller/Varien/Action.php(445): Cerebrum_Module_Adminhtml_ProcessingController->indexAction()
#10 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/core/Mage/Core/Controller/Varien/Front.php(208): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/code/core/Mage/Core/Model/App.php(416): Mage_Core_Controller_Varien_Front->dispatch()
#12 /home/marcio/Dados/www/magento2.0.0.0-dev41/app/Mage.php(712): Mage_Core_Model_App->run(Array)
#13 /home/marcio/Dados/www/magento2.0.0.0-dev41/index.php(30): Mage::run(Array)
#14 {main}";s:3:"url";s:121:"/magento2.0.0.0-dev41/index.php/module/adminhtml_processing/index/order_id/4/key/4274d7b722ada5a83f5f97a5049cef62/";s:11:"script_name";s:31:"/magento2.0.0.0-dev41/index.php";s:4:"skin";s:5:"admin";}


How do I access the backend controller by my module ?

@magento-team
Copy link
Contributor

Hello. The Moneybookers module was not really designated as an example of writing an extension. I hope other members can help you with your custom module issue.

@magento-team
Copy link
Contributor

The module was removed from repository and the change should be available on github in the following weeks. For Moneybookers integration please use up to date modules from Magento Connect. Thanks!

vpelipenko added a commit that referenced this issue Apr 3, 2015
[Publication] M2 GitHub Update (version 0.74.0-beta2)
magento-team pushed a commit that referenced this issue Nov 20, 2015
taskula pushed a commit to Hypernova-Oy/magento2 that referenced this issue Aug 9, 2019
@gabrieldagama gabrieldagama added the Fixed in 2.4.x The issue has been fixed in 2.4-develop branch label Nov 13, 2020
@gabrieldagama
Copy link
Contributor

Hi @hackin88. Thank you for your report.
The issue has been fixed in #30774 by @vovayatsyuk in 2.4-develop branch
Related commit(s):

The fix will be available with the upcoming 2.4.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.4.x The issue has been fixed in 2.4-develop branch
Projects
None yet
Development

No branches or pull requests

3 participants