Magento can't see files located in local/NameSpace/ModuleName/












0















I've created simple module with couple controllers.
Tested on local machine - everything works fine. But when i am trying move my module to live server - my module doen't works.(I get 404 everytime i am trying to get frontednMapping/controller/action).
Module structure is



/app/code/local/Amo/module/etc/config.xml



    <?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<version>0.1.0</version>
</Amo_module>
</modules>
<!-- This node contains parameters, available on frontend -->
<frontend>
<!-- Module aliases are located in this block -->
<routers>
<!-- This node's name should be the same as our alias -->
<module>
<!-- use parameter specifies which of basic routers needs to be used.
This can be "standard" for frontend or "admin" for backend -->
<use>standard</use>
<!-- router arguments block -->
<args>
<!-- This parameter specifies the full name of out module -->
<module>Amo_module</module>
<!-- This parameter sets module alias -->
<frontName>adtfnc</frontName>
</args>
</module>
</routers>
<layout>
<updates>
<helloworld>
<file>amomodule.xml</file>
</helloworld>
</updates>
</layout>
</frontend>
</config>


/app/code/local/Amo/module/controllers/IndexController.php



<?php
class Amo_module_IndexController extends Mage_Core_Controller_Front_Action {

public function indexAction() {
echo "test data is OK";
}

}


/app/etc/modules/Amo_module.xml



<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<active>true</active>
<codePool>local</codePool>
</Amo_module>
</modules>
</config>


On dev machine i get such info for my module:



var_dump(Mage::getConfig()->getModuleConfig('Amo_module'));
echo Mage::getUrl('module/index/index');

object(Mage_Core_Model_Config_Element)[551]
public 'active' => string 'true' (length=4)
public 'codePool' => string 'local' (length=5)
public 'version' => string '0.1.0' (length=5)
http://magento.local/adtfnc/index/index/


same info on live



object(Mage_Core_Model_Config_Element)#853 (2) { 
["active"]=> string(4) "true"
["codePool"]=> string(5) "local" }
http://live.server/module/index/index/


As we can there is no module version and magento(as i understand) can see frontend mapping for my module. Error.log is empty. Apache config same for dev and live machine.










share|improve this question

























  • Feel free to accept any one of the answer. Please dont leave your question as it is.

    – Rajeev K Tomy
    Sep 24 '14 at 3:19
















0















I've created simple module with couple controllers.
Tested on local machine - everything works fine. But when i am trying move my module to live server - my module doen't works.(I get 404 everytime i am trying to get frontednMapping/controller/action).
Module structure is



/app/code/local/Amo/module/etc/config.xml



    <?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<version>0.1.0</version>
</Amo_module>
</modules>
<!-- This node contains parameters, available on frontend -->
<frontend>
<!-- Module aliases are located in this block -->
<routers>
<!-- This node's name should be the same as our alias -->
<module>
<!-- use parameter specifies which of basic routers needs to be used.
This can be "standard" for frontend or "admin" for backend -->
<use>standard</use>
<!-- router arguments block -->
<args>
<!-- This parameter specifies the full name of out module -->
<module>Amo_module</module>
<!-- This parameter sets module alias -->
<frontName>adtfnc</frontName>
</args>
</module>
</routers>
<layout>
<updates>
<helloworld>
<file>amomodule.xml</file>
</helloworld>
</updates>
</layout>
</frontend>
</config>


/app/code/local/Amo/module/controllers/IndexController.php



<?php
class Amo_module_IndexController extends Mage_Core_Controller_Front_Action {

public function indexAction() {
echo "test data is OK";
}

}


/app/etc/modules/Amo_module.xml



<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<active>true</active>
<codePool>local</codePool>
</Amo_module>
</modules>
</config>


On dev machine i get such info for my module:



var_dump(Mage::getConfig()->getModuleConfig('Amo_module'));
echo Mage::getUrl('module/index/index');

object(Mage_Core_Model_Config_Element)[551]
public 'active' => string 'true' (length=4)
public 'codePool' => string 'local' (length=5)
public 'version' => string '0.1.0' (length=5)
http://magento.local/adtfnc/index/index/


same info on live



object(Mage_Core_Model_Config_Element)#853 (2) { 
["active"]=> string(4) "true"
["codePool"]=> string(5) "local" }
http://live.server/module/index/index/


As we can there is no module version and magento(as i understand) can see frontend mapping for my module. Error.log is empty. Apache config same for dev and live machine.










share|improve this question

























  • Feel free to accept any one of the answer. Please dont leave your question as it is.

    – Rajeev K Tomy
    Sep 24 '14 at 3:19














0












0








0








I've created simple module with couple controllers.
Tested on local machine - everything works fine. But when i am trying move my module to live server - my module doen't works.(I get 404 everytime i am trying to get frontednMapping/controller/action).
Module structure is



/app/code/local/Amo/module/etc/config.xml



    <?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<version>0.1.0</version>
</Amo_module>
</modules>
<!-- This node contains parameters, available on frontend -->
<frontend>
<!-- Module aliases are located in this block -->
<routers>
<!-- This node's name should be the same as our alias -->
<module>
<!-- use parameter specifies which of basic routers needs to be used.
This can be "standard" for frontend or "admin" for backend -->
<use>standard</use>
<!-- router arguments block -->
<args>
<!-- This parameter specifies the full name of out module -->
<module>Amo_module</module>
<!-- This parameter sets module alias -->
<frontName>adtfnc</frontName>
</args>
</module>
</routers>
<layout>
<updates>
<helloworld>
<file>amomodule.xml</file>
</helloworld>
</updates>
</layout>
</frontend>
</config>


/app/code/local/Amo/module/controllers/IndexController.php



<?php
class Amo_module_IndexController extends Mage_Core_Controller_Front_Action {

public function indexAction() {
echo "test data is OK";
}

}


/app/etc/modules/Amo_module.xml



<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<active>true</active>
<codePool>local</codePool>
</Amo_module>
</modules>
</config>


On dev machine i get such info for my module:



var_dump(Mage::getConfig()->getModuleConfig('Amo_module'));
echo Mage::getUrl('module/index/index');

object(Mage_Core_Model_Config_Element)[551]
public 'active' => string 'true' (length=4)
public 'codePool' => string 'local' (length=5)
public 'version' => string '0.1.0' (length=5)
http://magento.local/adtfnc/index/index/


same info on live



object(Mage_Core_Model_Config_Element)#853 (2) { 
["active"]=> string(4) "true"
["codePool"]=> string(5) "local" }
http://live.server/module/index/index/


As we can there is no module version and magento(as i understand) can see frontend mapping for my module. Error.log is empty. Apache config same for dev and live machine.










share|improve this question
















I've created simple module with couple controllers.
Tested on local machine - everything works fine. But when i am trying move my module to live server - my module doen't works.(I get 404 everytime i am trying to get frontednMapping/controller/action).
Module structure is



/app/code/local/Amo/module/etc/config.xml



    <?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<version>0.1.0</version>
</Amo_module>
</modules>
<!-- This node contains parameters, available on frontend -->
<frontend>
<!-- Module aliases are located in this block -->
<routers>
<!-- This node's name should be the same as our alias -->
<module>
<!-- use parameter specifies which of basic routers needs to be used.
This can be "standard" for frontend or "admin" for backend -->
<use>standard</use>
<!-- router arguments block -->
<args>
<!-- This parameter specifies the full name of out module -->
<module>Amo_module</module>
<!-- This parameter sets module alias -->
<frontName>adtfnc</frontName>
</args>
</module>
</routers>
<layout>
<updates>
<helloworld>
<file>amomodule.xml</file>
</helloworld>
</updates>
</layout>
</frontend>
</config>


/app/code/local/Amo/module/controllers/IndexController.php



<?php
class Amo_module_IndexController extends Mage_Core_Controller_Front_Action {

public function indexAction() {
echo "test data is OK";
}

}


/app/etc/modules/Amo_module.xml



<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_module>
<active>true</active>
<codePool>local</codePool>
</Amo_module>
</modules>
</config>


On dev machine i get such info for my module:



var_dump(Mage::getConfig()->getModuleConfig('Amo_module'));
echo Mage::getUrl('module/index/index');

object(Mage_Core_Model_Config_Element)[551]
public 'active' => string 'true' (length=4)
public 'codePool' => string 'local' (length=5)
public 'version' => string '0.1.0' (length=5)
http://magento.local/adtfnc/index/index/


same info on live



object(Mage_Core_Model_Config_Element)#853 (2) { 
["active"]=> string(4) "true"
["codePool"]=> string(5) "local" }
http://live.server/module/index/index/


As we can there is no module version and magento(as i understand) can see frontend mapping for my module. Error.log is empty. Apache config same for dev and live machine.







module magento1.9.0.1






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 mins ago









Teja Bhagavan Kollepara

2,96341847




2,96341847










asked Jul 24 '14 at 8:02









YuraYura

1




1













  • Feel free to accept any one of the answer. Please dont leave your question as it is.

    – Rajeev K Tomy
    Sep 24 '14 at 3:19



















  • Feel free to accept any one of the answer. Please dont leave your question as it is.

    – Rajeev K Tomy
    Sep 24 '14 at 3:19

















Feel free to accept any one of the answer. Please dont leave your question as it is.

– Rajeev K Tomy
Sep 24 '14 at 3:19





Feel free to accept any one of the answer. Please dont leave your question as it is.

– Rajeev K Tomy
Sep 24 '14 at 3:19










2 Answers
2






active

oldest

votes


















1














The module name should start with a capital letter. So instead of Amo_module name it Amo_Module.






share|improve this answer
























  • hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

    – Rajeev K Tomy
    Jul 24 '14 at 8:11











  • @programmer_rkt. Damn...silly news travels fast. :)

    – Marius
    Jul 24 '14 at 8:12











  • I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

    – Rajeev K Tomy
    Jul 24 '14 at 8:16











  • Thanks a lot guys. Everything works fine. Sorry for silly questions.

    – Yura
    Jul 24 '14 at 8:20











  • Happy to hear. Every one does make mistakes. Accept One of our answer.

    – Rajeev K Tomy
    Jul 24 '14 at 8:24



















1














Your module name's first letter should be Capital letter.



That is your location should be in app/code/local/Amo/Module



Your etc/modules xml file should look like this



<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<Amo_Module>
<active>true</active>
<codePool>local</codePool>
</Amo_module>
</modules>
</config>


Your controller should look like Amo_Module_IndexContorller.



You need to change your module definition as Amo_Module in everywhere






share|improve this answer

























    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f29976%2fmagento-cant-see-files-located-in-local-namespace-modulename%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









    1














    The module name should start with a capital letter. So instead of Amo_module name it Amo_Module.






    share|improve this answer
























    • hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

      – Rajeev K Tomy
      Jul 24 '14 at 8:11











    • @programmer_rkt. Damn...silly news travels fast. :)

      – Marius
      Jul 24 '14 at 8:12











    • I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

      – Rajeev K Tomy
      Jul 24 '14 at 8:16











    • Thanks a lot guys. Everything works fine. Sorry for silly questions.

      – Yura
      Jul 24 '14 at 8:20











    • Happy to hear. Every one does make mistakes. Accept One of our answer.

      – Rajeev K Tomy
      Jul 24 '14 at 8:24
















    1














    The module name should start with a capital letter. So instead of Amo_module name it Amo_Module.






    share|improve this answer
























    • hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

      – Rajeev K Tomy
      Jul 24 '14 at 8:11











    • @programmer_rkt. Damn...silly news travels fast. :)

      – Marius
      Jul 24 '14 at 8:12











    • I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

      – Rajeev K Tomy
      Jul 24 '14 at 8:16











    • Thanks a lot guys. Everything works fine. Sorry for silly questions.

      – Yura
      Jul 24 '14 at 8:20











    • Happy to hear. Every one does make mistakes. Accept One of our answer.

      – Rajeev K Tomy
      Jul 24 '14 at 8:24














    1












    1








    1







    The module name should start with a capital letter. So instead of Amo_module name it Amo_Module.






    share|improve this answer













    The module name should start with a capital letter. So instead of Amo_module name it Amo_Module.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jul 24 '14 at 8:06









    MariusMarius

    166k28317677




    166k28317677













    • hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

      – Rajeev K Tomy
      Jul 24 '14 at 8:11











    • @programmer_rkt. Damn...silly news travels fast. :)

      – Marius
      Jul 24 '14 at 8:12











    • I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

      – Rajeev K Tomy
      Jul 24 '14 at 8:16











    • Thanks a lot guys. Everything works fine. Sorry for silly questions.

      – Yura
      Jul 24 '14 at 8:20











    • Happy to hear. Every one does make mistakes. Accept One of our answer.

      – Rajeev K Tomy
      Jul 24 '14 at 8:24



















    • hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

      – Rajeev K Tomy
      Jul 24 '14 at 8:11











    • @programmer_rkt. Damn...silly news travels fast. :)

      – Marius
      Jul 24 '14 at 8:12











    • I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

      – Rajeev K Tomy
      Jul 24 '14 at 8:16











    • Thanks a lot guys. Everything works fine. Sorry for silly questions.

      – Yura
      Jul 24 '14 at 8:20











    • Happy to hear. Every one does make mistakes. Accept One of our answer.

      – Rajeev K Tomy
      Jul 24 '14 at 8:24

















    hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

    – Rajeev K Tomy
    Jul 24 '14 at 8:11





    hmm.. I was sure you will answer this question first. Because @marius is awake and active :)

    – Rajeev K Tomy
    Jul 24 '14 at 8:11













    @programmer_rkt. Damn...silly news travels fast. :)

    – Marius
    Jul 24 '14 at 8:12





    @programmer_rkt. Damn...silly news travels fast. :)

    – Marius
    Jul 24 '14 at 8:12













    I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

    – Rajeev K Tomy
    Jul 24 '14 at 8:16





    I was the one who talked you in twitter before you "AWAKE" :) -rajKtomy

    – Rajeev K Tomy
    Jul 24 '14 at 8:16













    Thanks a lot guys. Everything works fine. Sorry for silly questions.

    – Yura
    Jul 24 '14 at 8:20





    Thanks a lot guys. Everything works fine. Sorry for silly questions.

    – Yura
    Jul 24 '14 at 8:20













    Happy to hear. Every one does make mistakes. Accept One of our answer.

    – Rajeev K Tomy
    Jul 24 '14 at 8:24





    Happy to hear. Every one does make mistakes. Accept One of our answer.

    – Rajeev K Tomy
    Jul 24 '14 at 8:24













    1














    Your module name's first letter should be Capital letter.



    That is your location should be in app/code/local/Amo/Module



    Your etc/modules xml file should look like this



    <?xml version="1.0" encoding="utf-8"?>
    <config>
    <modules>
    <Amo_Module>
    <active>true</active>
    <codePool>local</codePool>
    </Amo_module>
    </modules>
    </config>


    Your controller should look like Amo_Module_IndexContorller.



    You need to change your module definition as Amo_Module in everywhere






    share|improve this answer






























      1














      Your module name's first letter should be Capital letter.



      That is your location should be in app/code/local/Amo/Module



      Your etc/modules xml file should look like this



      <?xml version="1.0" encoding="utf-8"?>
      <config>
      <modules>
      <Amo_Module>
      <active>true</active>
      <codePool>local</codePool>
      </Amo_module>
      </modules>
      </config>


      Your controller should look like Amo_Module_IndexContorller.



      You need to change your module definition as Amo_Module in everywhere






      share|improve this answer




























        1












        1








        1







        Your module name's first letter should be Capital letter.



        That is your location should be in app/code/local/Amo/Module



        Your etc/modules xml file should look like this



        <?xml version="1.0" encoding="utf-8"?>
        <config>
        <modules>
        <Amo_Module>
        <active>true</active>
        <codePool>local</codePool>
        </Amo_module>
        </modules>
        </config>


        Your controller should look like Amo_Module_IndexContorller.



        You need to change your module definition as Amo_Module in everywhere






        share|improve this answer















        Your module name's first letter should be Capital letter.



        That is your location should be in app/code/local/Amo/Module



        Your etc/modules xml file should look like this



        <?xml version="1.0" encoding="utf-8"?>
        <config>
        <modules>
        <Amo_Module>
        <active>true</active>
        <codePool>local</codePool>
        </Amo_module>
        </modules>
        </config>


        Your controller should look like Amo_Module_IndexContorller.



        You need to change your module definition as Amo_Module in everywhere







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jul 24 '14 at 8:25

























        answered Jul 24 '14 at 8:09









        Rajeev K TomyRajeev K Tomy

        14.5k54588




        14.5k54588






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f29976%2fmagento-cant-see-files-located-in-local-namespace-modulename%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            What other Star Trek series did the main TNG cast show up in?

            Berlina muro

            Berlina aerponto