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

  • Home
  • SEARCH
  • 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 6575943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:26:57+00:00 2026-05-25T15:26:57+00:00

I have created a module that works on my Windows XAMPP installation. Testing on

  • 0

I have created a module that works on my Windows XAMPP installation. Testing on Linux, however, does not seem to work correctly. More specifically, my controller does not seem to load.

When visiting the url www.mysite.com/modulename/standard/ I am getting a 404 error. I am expecting to get a message outputting the die('here') that precedes the class definition in the controller.

The controller file is /app/code/local/Namespace/Modulename/controllers/StandardController.php.

The class is defined inside this file like so:

class Namespace_Modulename_StandardController extends Mage_Core_Controller_Front_Action

The extract from my XML config file is here:

<frontend>      
    <routers>
        <modulename>
            <use>standard</use>
            <args>
                <module>Namespace_Modulename</module>
                <frontName>modulename</frontName>
            </args>
        </modulename>
    </routers>
    <!-- other blocks here -->
</frontend>

My initial thought was that it was a case sensitivity issue that I hadn’t noticed by developing on Windows. The XML fragment was previously as follows, which also did not work. Please also note that I have tried visiting www.mysite.com/Modulename/standard and www.mysite.com/modulename/standard for both XML versions, with a 404 error every time.

<Modulename>
    <use>standard</use>
    <args>
        <module>Namespace_Modulename</module>
        <frontName>Modulename</frontName>
    </args>
</Modulename>

Does anybody know what could be the problem?

Thank you.

Edit

As requested, here is the module’s config file. This all seems to be correct – the module is displayed in the Admin/Developer page and the module configuration screen (generated in system.xml) appears in the backend. Moreover, parts of the module (and seemingly the controller) are working in the frontend!

<config>
<modules>
    <Namespace_Modulename>
        <active>true</active>
        <codePool>local</codePool>
    </Namespace_Modulename>
</modules>
</config>

Edit 2

Some versions may prove useful.
PHP 5.3
Magento 1.5.1.0

  • 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-05-25T15:26:58+00:00Added an answer on May 25, 2026 at 3:26 pm

    I can’t believe it!

    My development box was updated without my knowledge, it would seem, and in the process my Apache configuration was changed! I finally realized that I wasn’t receiving Magento’s usual 404 error page and only a plain, ugly 404 page, and checked my Apache error logs which said that the file /Modulename/standard didn’t exist. Updating my Apache configuration to add the following fixed the problem:

    <Directory "mymagentodirectory">
    AllowOverride All
    </Directory>
    

    I can’t believe that. Thanks to all who took the time to read and reply! 🙂

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

Sidebar

Related Questions

I have created a module that works on a vanilla installation of Drupal but
I have created a Python module that creates and populates several SQLite tables. Now,
i have asked to create a module that will record video messages form the
Typically I create a plugin when I have a module that I know I'm
In a module i have a sub that create modalpopup and show result of
i have created a module with this among others this function in it: <?php
I have created a multi module maven project. Now I have shared the project
I am using ASP MVC 2 and Nhibernate. I have created an HTTP Module
I have an executable module created by third party. I would like to inject
I have a DotNetNuke Module created in DNN 4.9.2. It runs fine on my

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.