Magento Admin Menu action not working gives 404 error Magento 1.9.2.4Admin personal module routes failedMagento custom admin module not routing to controllerCustom Module back end keeps coming up as a 404Admin page gives 404 error after domain name change404 Error. Magento2 admin page not workingCustom Module Displays Blank PageAdmin custom page form action not workingCustom module admin panel section gives 404 error on saveMagento Custom Admin Module gives 404 errorNew extension appears in admin menu but gives error 404 when i click on it
What is the difference between 2/4 and 4/4 when it comes the accented beats?
How can a class have multiple methods without breaking the single responsibility principle
Why is “deal 6 damage” a legit phrase?
Can an alphabet for a Turing machine contain subsets of other alphabets?
How do people drown while wearing a life jacket?
Is this popular optical illusion made of a grey-scale image with coloured lines?
Went to a big 4 but got fired for underperformance in a year recently - Now every one thinks I'm pro - How to balance expectations?
Is it moral to remove/hide certain parts of a photo, as a photographer?
Feedback diagram
What's the term for a group of people who enjoy literary works?
cannot trash malware NGPlayerSetup.dmg
Can I shorten this filter, that finds disk sizes over 100G?
Pre-Greek θάλασσα "thalassa" and Turkish talaz
Reasons for using monsters as bioweapons
Overprovisioning SSD on ubuntu. How? Ubuntu 19.04 Samsung SSD 860
Map vs. Table for index-specific operations on 2D arrays
Basic transistor circuit
How to avoid a lengthy conversation with someone from the neighborhood I don't share interests with
Export economy of Mars
Gold Battle KoTH
Plotting Chebyshev polynomials using PolarPlot and FilledCurve
Why are sugars in whole fruits not digested the same way sugars in juice are?
Why have both: BJT and FET transistors on IC output?
What do the screens say after you are set free?
Magento Admin Menu action not working gives 404 error Magento 1.9.2.4
Admin personal module routes failedMagento custom admin module not routing to controllerCustom Module back end keeps coming up as a 404Admin page gives 404 error after domain name change404 Error. Magento2 admin page not workingCustom Module Displays Blank PageAdmin custom page form action not workingCustom module admin panel section gives 404 error on saveMagento Custom Admin Module gives 404 errorNew extension appears in admin menu but gives error 404 when i click on it
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
Code is as below:
config.xml (demo/etc/config.xml
)
<?xml version="1.0"?>
<config>
<modules>
<Sevenbits_Demo>
<version>1.0.0</version>
</Sevenbits_Demo>
</modules>
<global>
<models>
<demo>
<class>Sevenbits_Demo_Model</class>
</demo>
</models>
<helpers>
<demo>
<class>Sevenbits_Demo_Helper</class>
</demo>
</helpers>
<blocks>
<demo>
<class>Sevenbits_Demo_Block</class>
</demo>
</blocks>
</global>
<!-- Frontend Controller started here -->
<frontend>
<routers>
<demo>
<use>standard</use>
<args>
<frontName>Demo</frontName>
<module>Sevenbits_Demo</module>
</args>
</demo>
</routers>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
</frontend>
<!-- Frontend Controller end here -->
<!-- Frontend Controller started here -->
<admin>
<routers>
<adminhtml>
<args>
<module>
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
</module>
</args>
</adminhtml>
</routers>
</admin>
<!-- Frontend Controller end here -->
</config>
adminhtml.xml(demo/etc/adminhtml.xml
)
<?xml version="1.0"?>
<config>
<menu>
<demo transalte="title" module="demo">
<title>Mage Hunter</title>
<sort_order>1000</sort_order>
<action>Adminhtml/demo</action>
</demo>
</menu>
</config>
DemoController.php (/demo/controllers/Adminhtml/DemoController.php
)
<?php
class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action
public function indexAction()
//$this->loadLayout();
echo "Hwll";
return $this->renderLayout();
After Menu click (page redirect to 404 page and display frontend layout) get this output.
magento-1.9 admin 404
add a comment |
Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
Code is as below:
config.xml (demo/etc/config.xml
)
<?xml version="1.0"?>
<config>
<modules>
<Sevenbits_Demo>
<version>1.0.0</version>
</Sevenbits_Demo>
</modules>
<global>
<models>
<demo>
<class>Sevenbits_Demo_Model</class>
</demo>
</models>
<helpers>
<demo>
<class>Sevenbits_Demo_Helper</class>
</demo>
</helpers>
<blocks>
<demo>
<class>Sevenbits_Demo_Block</class>
</demo>
</blocks>
</global>
<!-- Frontend Controller started here -->
<frontend>
<routers>
<demo>
<use>standard</use>
<args>
<frontName>Demo</frontName>
<module>Sevenbits_Demo</module>
</args>
</demo>
</routers>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
</frontend>
<!-- Frontend Controller end here -->
<!-- Frontend Controller started here -->
<admin>
<routers>
<adminhtml>
<args>
<module>
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
</module>
</args>
</adminhtml>
</routers>
</admin>
<!-- Frontend Controller end here -->
</config>
adminhtml.xml(demo/etc/adminhtml.xml
)
<?xml version="1.0"?>
<config>
<menu>
<demo transalte="title" module="demo">
<title>Mage Hunter</title>
<sort_order>1000</sort_order>
<action>Adminhtml/demo</action>
</demo>
</menu>
</config>
DemoController.php (/demo/controllers/Adminhtml/DemoController.php
)
<?php
class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action
public function indexAction()
//$this->loadLayout();
echo "Hwll";
return $this->renderLayout();
After Menu click (page redirect to 404 page and display frontend layout) get this output.
magento-1.9 admin 404
add a comment |
Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
Code is as below:
config.xml (demo/etc/config.xml
)
<?xml version="1.0"?>
<config>
<modules>
<Sevenbits_Demo>
<version>1.0.0</version>
</Sevenbits_Demo>
</modules>
<global>
<models>
<demo>
<class>Sevenbits_Demo_Model</class>
</demo>
</models>
<helpers>
<demo>
<class>Sevenbits_Demo_Helper</class>
</demo>
</helpers>
<blocks>
<demo>
<class>Sevenbits_Demo_Block</class>
</demo>
</blocks>
</global>
<!-- Frontend Controller started here -->
<frontend>
<routers>
<demo>
<use>standard</use>
<args>
<frontName>Demo</frontName>
<module>Sevenbits_Demo</module>
</args>
</demo>
</routers>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
</frontend>
<!-- Frontend Controller end here -->
<!-- Frontend Controller started here -->
<admin>
<routers>
<adminhtml>
<args>
<module>
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
</module>
</args>
</adminhtml>
</routers>
</admin>
<!-- Frontend Controller end here -->
</config>
adminhtml.xml(demo/etc/adminhtml.xml
)
<?xml version="1.0"?>
<config>
<menu>
<demo transalte="title" module="demo">
<title>Mage Hunter</title>
<sort_order>1000</sort_order>
<action>Adminhtml/demo</action>
</demo>
</menu>
</config>
DemoController.php (/demo/controllers/Adminhtml/DemoController.php
)
<?php
class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action
public function indexAction()
//$this->loadLayout();
echo "Hwll";
return $this->renderLayout();
After Menu click (page redirect to 404 page and display frontend layout) get this output.
magento-1.9 admin 404
Problem Statement: I have created an adminmenu and call an action on it. For the action, I have created one controller. When click on menu it redirects to 404 page on front side.(Can't access to controller and it jump to frontarea)
Code is as below:
config.xml (demo/etc/config.xml
)
<?xml version="1.0"?>
<config>
<modules>
<Sevenbits_Demo>
<version>1.0.0</version>
</Sevenbits_Demo>
</modules>
<global>
<models>
<demo>
<class>Sevenbits_Demo_Model</class>
</demo>
</models>
<helpers>
<demo>
<class>Sevenbits_Demo_Helper</class>
</demo>
</helpers>
<blocks>
<demo>
<class>Sevenbits_Demo_Block</class>
</demo>
</blocks>
</global>
<!-- Frontend Controller started here -->
<frontend>
<routers>
<demo>
<use>standard</use>
<args>
<frontName>Demo</frontName>
<module>Sevenbits_Demo</module>
</args>
</demo>
</routers>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
</frontend>
<!-- Frontend Controller end here -->
<!-- Frontend Controller started here -->
<admin>
<routers>
<adminhtml>
<args>
<module>
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
</module>
</args>
</adminhtml>
</routers>
</admin>
<!-- Frontend Controller end here -->
</config>
adminhtml.xml(demo/etc/adminhtml.xml
)
<?xml version="1.0"?>
<config>
<menu>
<demo transalte="title" module="demo">
<title>Mage Hunter</title>
<sort_order>1000</sort_order>
<action>Adminhtml/demo</action>
</demo>
</menu>
</config>
DemoController.php (/demo/controllers/Adminhtml/DemoController.php
)
<?php
class Sevenbits_Demo_Adminhtml_DemoController extends Mage_Adminhtml_Controller_Action
public function indexAction()
//$this->loadLayout();
echo "Hwll";
return $this->renderLayout();
After Menu click (page redirect to 404 page and display frontend layout) get this output.
magento-1.9 admin 404
magento-1.9 admin 404
edited Jul 19 '16 at 6:20
Vasim Shaikh
asked Jul 18 '16 at 11:00
Vasim ShaikhVasim Shaikh
1251 silver badge9 bronze badges
1251 silver badge9 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
remove the new lines in here:
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
make that look like this
<demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
add a comment |
You need to define layout for it
Create file for it app/design/adminhtml/default/default/layout/demo.xml
add below code to it:
<?xml version="1.0"?>
<layout version="0.1.0">
<adminhtml_demo_index>
<reference name="content">
<block type="demo/adminhtml_demo" name="demo" />
</reference>
</adminhtml_demo_index>
</layout>
Also you need to add below code in config.xml file between <adminhtml></adminhtml>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
Also give the link
<action>adminhtml/demo</action>
instead of <action>Adminhtml/demo</action>
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
|
show 9 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f126170%2fmagento-admin-menu-action-not-working-gives-404-error-magento-1-9-2-4%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
remove the new lines in here:
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
make that look like this
<demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
add a comment |
remove the new lines in here:
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
make that look like this
<demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
add a comment |
remove the new lines in here:
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
make that look like this
<demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>
remove the new lines in here:
<demo before="Mage_Adminhtml">
Sevenbits_Demo_Adminhtml
</demo>
make that look like this
<demo before="Mage_Adminhtml">Sevenbits_Demo_Adminhtml</demo>
answered Jul 18 '16 at 11:03
Marius♦Marius
171k30 gold badges333 silver badges707 bronze badges
171k30 gold badges333 silver badges707 bronze badges
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
add a comment |
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
still same issue
– Vasim Shaikh
Jul 18 '16 at 11:08
add a comment |
You need to define layout for it
Create file for it app/design/adminhtml/default/default/layout/demo.xml
add below code to it:
<?xml version="1.0"?>
<layout version="0.1.0">
<adminhtml_demo_index>
<reference name="content">
<block type="demo/adminhtml_demo" name="demo" />
</reference>
</adminhtml_demo_index>
</layout>
Also you need to add below code in config.xml file between <adminhtml></adminhtml>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
Also give the link
<action>adminhtml/demo</action>
instead of <action>Adminhtml/demo</action>
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
|
show 9 more comments
You need to define layout for it
Create file for it app/design/adminhtml/default/default/layout/demo.xml
add below code to it:
<?xml version="1.0"?>
<layout version="0.1.0">
<adminhtml_demo_index>
<reference name="content">
<block type="demo/adminhtml_demo" name="demo" />
</reference>
</adminhtml_demo_index>
</layout>
Also you need to add below code in config.xml file between <adminhtml></adminhtml>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
Also give the link
<action>adminhtml/demo</action>
instead of <action>Adminhtml/demo</action>
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
|
show 9 more comments
You need to define layout for it
Create file for it app/design/adminhtml/default/default/layout/demo.xml
add below code to it:
<?xml version="1.0"?>
<layout version="0.1.0">
<adminhtml_demo_index>
<reference name="content">
<block type="demo/adminhtml_demo" name="demo" />
</reference>
</adminhtml_demo_index>
</layout>
Also you need to add below code in config.xml file between <adminhtml></adminhtml>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
Also give the link
<action>adminhtml/demo</action>
instead of <action>Adminhtml/demo</action>
You need to define layout for it
Create file for it app/design/adminhtml/default/default/layout/demo.xml
add below code to it:
<?xml version="1.0"?>
<layout version="0.1.0">
<adminhtml_demo_index>
<reference name="content">
<block type="demo/adminhtml_demo" name="demo" />
</reference>
</adminhtml_demo_index>
</layout>
Also you need to add below code in config.xml file between <adminhtml></adminhtml>
<layout>
<updates>
<demo>
<file>demo.xml</file>
</demo>
</updates>
</layout>
Also give the link
<action>adminhtml/demo</action>
instead of <action>Adminhtml/demo</action>
edited Jul 18 '16 at 11:26
answered Jul 18 '16 at 11:13
Prashant ValandaPrashant Valanda
10.2k1 gold badge29 silver badges58 bronze badges
10.2k1 gold badge29 silver badges58 bronze badges
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
|
show 9 more comments
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
ok @prashant let me check
– Vasim Shaikh
Jul 18 '16 at 11:16
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
I have already demo.xml
– Vasim Shaikh
Jul 18 '16 at 11:17
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
Where it is located and what is inside it?
– Prashant Valanda
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
its in frontend
– Vasim Shaikh
Jul 18 '16 at 11:18
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
I just added into adminhtml
– Vasim Shaikh
Jul 18 '16 at 11:19
|
show 9 more comments
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f126170%2fmagento-admin-menu-action-not-working-gives-404-error-magento-1-9-2-4%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown