Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8655899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:09:02+00:00 2026-06-12T15:09:02+00:00

This problem is driving us nuts, already couple of hours and nothing, I’m getting

  • 0

This problem is driving us nuts, already couple of hours and nothing, I’m getting a 404 error when trying to access the second submenu, the Keywords one. I’m sure the error should be either on the controller or in the layout but no way I can find it. I’m posting my config, controller and layout files. If more are needed can add it too, but I think with these ones will be enough. I’m using the CommerceBug from AlanStorm and the blocks and grids are all correctly loading.

Here are my different files codes:

config.xml

<?xml version="1.0"?>
<config>
    <modules>
        <Dts_Allpages>
            <version>0.1.0</version>
        </Dts_Allpages>
    </modules>
    <global>
        <models>
            <allpages>
                <class>Dts_Allpages_Model</class>
                <resourceModel>allpages_resource</resourceModel>
            </allpages>
            <allpages_resource>
                <class>Dts_Allpages_Model_Resource</class>
                <entities>
                    <referencedpages>
                        <table>referencedpages</table>
                    </referencedpages>
                    <keywords>
                        <table>keywords</table>
                    </keywords>
                </entities>
            </allpages_resource>
        </models>
        <events>
            <controller_action_predispatch>
                <observers>
                    <controller_action_before>
                        <class>allpages/observer</class>
                        <method>saveReferrer</method>
                    </controller_action_before>
                </observers>
            </controller_action_predispatch>
        </events>
        <helpers>
            <allpages>
                <class>Dts_Allpages_Helper</class>
            </allpages>
        </helpers>
        <resources>
            <allpages_write>
                <connection>
                    <use>core_write</use>
                </connection>
            </allpages_write>
            <allpages_read>
                <connection>
                    <use>core_read</use>
                </connection>
            </allpages_read>
        </resources>
        <blocks>
          <allpages>
            <class>Dts_Allpages_Block</class>
          </allpages>
        </blocks>
    </global>
    <admin>
        <routers>
            <allpages>
                <use>admin</use>
                    <args>
                        <module>Dts_Allpages</module>
                        <frontName>allpages</frontName>
                    </args>
            </allpages>
        </routers>
    </admin>
    <adminhtml>
        <menu>
          <allpagesmainmenu translate="title" module="allpages">
            <title>AllPages</title>
            <sort_order>100</sort_order>
            <children>
              <allpages module="allpages">
                <title>Keywords administration</title>
                <sort_order>0</sort_order>
                <children>
                    <references translate="title">
                        <title>References</title>
                        <sort_order>10</sort_order>
                        <action>allpages/adminhtml_allpagesbackend</action>
                    </references>
                    <keywords translate="title">
                        <title>Keywords</title>
                        <sort_order>20</sort_order>
                        <action>allpages/adminhtml_keywordsbackend</action>
                    </keywords>
                </children>
              </allpages>
            </children>
          </allpagesmainmenu>
        </menu>
        <acl>
          <resources>
            <admin>
              <children>
                <allpagesmainmenu translate="title" module="allpages">
                  <title>All Pages</title>
                  <children>
                    <allpages translate="title">
                        <title>Keywords administration</title>
                        <children>
                            <references translate="title">
                                <title>References</title>
                                <sort_order>10</sort_order>
                            </references>
                            <keywords translate="title">
                                <title>Keywords</title>
                                <sort_order>20</sort_order>
                            </keywords>
                        </children>
                    </allpages>
                  </children>
                </allpagesmainmenu>
              </children>
            </admin>
          </resources>
        </acl>
        <layout>
          <updates>
            <allpages>
              <file>allpages.xml</file>
            </allpages>
          </updates>
        </layout>
    </adminhtml>
</config>

KeywordsbackendController.php

<?php
class Dts_Allpages_Adminhtml_KeywordsbackendController extends Mage_Adminhtml_Controller_Action
{
    public function indexAction()
    {
        $this->loadLayout();
        $this->_title($this->__("Administrador de keywords"));
        $this->renderLayout();
    }
}

The layout, allpages.xml

<?xml version="1.0"?>
<layout version="0.1.0">
  <allpages_adminhtml_allpagesbackend_index>
      <reference name="content">
          <block type="allpages/adminhtml_allpagesbackend" name="allpagesbackend"/>
      </reference>
  </allpages_adminhtml_allpagesbackend_index>
  <allpages_adminhtml_allpagesbackend_edit>
      <reference name="content">
          <block type="allpages/adminhtml_allpagesbackend_edit" name="allpagesbackend_edit" />
      </reference>
  </allpages_adminhtml_allpagesbackend_edit>
  <allpages_adminhtml_keywordsbackend_index>
      <reference name="content">
          <block type="allpages/adminhtml_keywordsbackend" name="keywordsbackend"/>
      </reference>
  </allpages_adminhtml_keywordsbackend_index>
  <allpages_adminhtml_keywordsbackend_edit>
        <reference name="content">
            <block type="allpages/adminhtml_keywordsbackend_edit" name="keywordsbackend_edit" />
        </reference>
  </allpages_adminhtml_keywordsbackend_edit>
</layout>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T15:09:04+00:00Added an answer on June 12, 2026 at 3:09 pm

    Everything was ok. The problem was on the name of the file as I don’t know how the controller name was KeywordsbackendController.php.php and of course, the file was not found. But the weird thing is that I didn’t had any exception or alike. Well, Magento obscure internals, I’m getting used to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been having this problem for a while and it's driving me nuts. I'm
This has been driving me nuts all day. I've seen this problem crop up
This problem is driving me nuts. I have a prototype UITableViewCell in my storyboard.
This is driving me nuts, I can't see the problem. Using jQuery (I'm stuck
This one is driving me nuts. The problem occurs in a two-server-system, where server
This is driving me nuts! I am getting the classic Can't connect to local
This problem has been driving me nuts all day and there has to be
This problem is driving me nuts! I have declared a static string in a
I am working on this for hours and its driving me nuts! so i
I'm driving myself nuts with this particular problem, i really hope someone can help!

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.