Save Magento 1.9.2 contact form data in database?












2















I want to store Magento 1.9.2 contact form data into database?
I have create a New DB Table and create new Module on local Pool but Controller overwrite is not working.



I want to send email as well store all the data in my custom table.



My Code Is:



/app/etc/modules/Codefire_Contacts.xml



<?xml version="1.0"?>
<config>
<modules>
<Codefire_Contacts>
<active>true</active>
<codePool>local</codePool>
</Codefire_Contacts>
</modules>
</config>


/app/code/local/Codefire/Contacts/controllers/indexController.php



<?php

require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php');

class Codefire_Contacts_IndexController extends Mage_Contacts_IndexController {

//your targeted controller action rewrite here
public function indexAction() {
parent::indexAction();
echo 'Good';
die;
}

public function postAction() {
echo 'Good';
die;
}

}


/app/code/local/Codefire/Contacts/etc



<?xml version="1.0"?>
<config>
<modules>
<Codefire_Contacts>
<version>0.1.0</version>
</Codefire_Contacts>
</modules>
<frontend>
<routers>
<contacts>
<args>
<modules>
<Codefire_Contacts before="Mage_Contacts">Codefire_Contacts</Codefire_Contacts>
</modules>
</args>
</contacts>
</routers>
</frontend>
</config>


Its not working...










share|improve this question





























    2















    I want to store Magento 1.9.2 contact form data into database?
    I have create a New DB Table and create new Module on local Pool but Controller overwrite is not working.



    I want to send email as well store all the data in my custom table.



    My Code Is:



    /app/etc/modules/Codefire_Contacts.xml



    <?xml version="1.0"?>
    <config>
    <modules>
    <Codefire_Contacts>
    <active>true</active>
    <codePool>local</codePool>
    </Codefire_Contacts>
    </modules>
    </config>


    /app/code/local/Codefire/Contacts/controllers/indexController.php



    <?php

    require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php');

    class Codefire_Contacts_IndexController extends Mage_Contacts_IndexController {

    //your targeted controller action rewrite here
    public function indexAction() {
    parent::indexAction();
    echo 'Good';
    die;
    }

    public function postAction() {
    echo 'Good';
    die;
    }

    }


    /app/code/local/Codefire/Contacts/etc



    <?xml version="1.0"?>
    <config>
    <modules>
    <Codefire_Contacts>
    <version>0.1.0</version>
    </Codefire_Contacts>
    </modules>
    <frontend>
    <routers>
    <contacts>
    <args>
    <modules>
    <Codefire_Contacts before="Mage_Contacts">Codefire_Contacts</Codefire_Contacts>
    </modules>
    </args>
    </contacts>
    </routers>
    </frontend>
    </config>


    Its not working...










    share|improve this question



























      2












      2








      2


      1






      I want to store Magento 1.9.2 contact form data into database?
      I have create a New DB Table and create new Module on local Pool but Controller overwrite is not working.



      I want to send email as well store all the data in my custom table.



      My Code Is:



      /app/etc/modules/Codefire_Contacts.xml



      <?xml version="1.0"?>
      <config>
      <modules>
      <Codefire_Contacts>
      <active>true</active>
      <codePool>local</codePool>
      </Codefire_Contacts>
      </modules>
      </config>


      /app/code/local/Codefire/Contacts/controllers/indexController.php



      <?php

      require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php');

      class Codefire_Contacts_IndexController extends Mage_Contacts_IndexController {

      //your targeted controller action rewrite here
      public function indexAction() {
      parent::indexAction();
      echo 'Good';
      die;
      }

      public function postAction() {
      echo 'Good';
      die;
      }

      }


      /app/code/local/Codefire/Contacts/etc



      <?xml version="1.0"?>
      <config>
      <modules>
      <Codefire_Contacts>
      <version>0.1.0</version>
      </Codefire_Contacts>
      </modules>
      <frontend>
      <routers>
      <contacts>
      <args>
      <modules>
      <Codefire_Contacts before="Mage_Contacts">Codefire_Contacts</Codefire_Contacts>
      </modules>
      </args>
      </contacts>
      </routers>
      </frontend>
      </config>


      Its not working...










      share|improve this question
















      I want to store Magento 1.9.2 contact form data into database?
      I have create a New DB Table and create new Module on local Pool but Controller overwrite is not working.



      I want to send email as well store all the data in my custom table.



      My Code Is:



      /app/etc/modules/Codefire_Contacts.xml



      <?xml version="1.0"?>
      <config>
      <modules>
      <Codefire_Contacts>
      <active>true</active>
      <codePool>local</codePool>
      </Codefire_Contacts>
      </modules>
      </config>


      /app/code/local/Codefire/Contacts/controllers/indexController.php



      <?php

      require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php');

      class Codefire_Contacts_IndexController extends Mage_Contacts_IndexController {

      //your targeted controller action rewrite here
      public function indexAction() {
      parent::indexAction();
      echo 'Good';
      die;
      }

      public function postAction() {
      echo 'Good';
      die;
      }

      }


      /app/code/local/Codefire/Contacts/etc



      <?xml version="1.0"?>
      <config>
      <modules>
      <Codefire_Contacts>
      <version>0.1.0</version>
      </Codefire_Contacts>
      </modules>
      <frontend>
      <routers>
      <contacts>
      <args>
      <modules>
      <Codefire_Contacts before="Mage_Contacts">Codefire_Contacts</Codefire_Contacts>
      </modules>
      </args>
      </contacts>
      </routers>
      </frontend>
      </config>


      Its not working...







      magento-1.9 php contact-us






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 4 '16 at 8:05









      Rohit Kundale

      2,87311327




      2,87311327










      asked Feb 4 '16 at 7:17









      rajeevGrajeevG

      3318




      3318






















          3 Answers
          3






          active

          oldest

          votes


















          2














          Please add the following code in the config.xml file.



           <global>
          <rewrite>
          <customcontactus>
          <from><![CDATA[#^/contacts/index/#]]></from>
          <to>/contactform/index/</to>
          </customcontactus>
          </rewrite>
          </global>


          Rewrite the postAction() controller file and add the following code.



          $model = Mage::getModel("contactform/contactformsave");
          $model->setData(array('created_at'=>NOW(),'name'=>$post['name'],
          'email'=>$post['email'],'telephone'=>$post['telephone'],
          'comment'=>$post['comment']));
          $model->save();

          Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->
          __('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
          $this->_redirect('*/*/');


          Please refer my tutorial for full code and file structure.



          http://www.pearlbells.co.uk/save-contact-form-data-magento-database/






          share|improve this answer































            2














            Make change in following file



            /app/etc/modules/Codefire_Contacts.xml



            <config>
            <modules>
            <Codefire_Contacts>
            <active>true</active>
            <codePool>local</codePool> <!--If your extension is in community codePool then use community-->
            </Codefire_Contacts>
            </modules>
            </config>


            Change your controller file name from indexController.php to IndexController.php. i should be in upppercase.






            share|improve this answer


























            • Its my mistake during copy paste the code.. but its not working

              – rajeevG
              Feb 4 '16 at 7:46













            • Disable your cache and compilation from admin

              – Rohit Kundale
              Feb 4 '16 at 7:48











            • Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

              – rajeevG
              Feb 4 '16 at 8:02





















            1














            If create a module then you must need define it codePool at module config file and without it cannot be possible to run the extension.There are 3 type of codePool local,community,core.
            Codefire_Contacts.xml



            You did not define it.So as per as,Rohit Kundale said ,you should be define codePool.



            Basic format of module config file



            <?xml version="1.0" ?>
            <config>
            <modules>
            <ModuleNameSpace_ModuleName>
            <active>true</active>
            <codePool>local</codePool> <!-- it value may be local,core,community -->
            </ModuleNameSpace_ModuleName
            </modules>
            </config>





            share|improve this answer


























            • Its my mistake during copy paste the code.. but its not working

              – rajeevG
              Feb 4 '16 at 7:48











            • change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

              – Amit Bera
              Feb 4 '16 at 7:53











            • No! But its OS issue.. working fine.. Thanks yr time

              – rajeevG
              Feb 4 '16 at 8:02













            • make indexController.php to IndexController.php.*i*should be uppercas

              – Amit Bera
              Feb 4 '16 at 8:04













            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%2f100300%2fsave-magento-1-9-2-contact-form-data-in-database%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            Please add the following code in the config.xml file.



             <global>
            <rewrite>
            <customcontactus>
            <from><![CDATA[#^/contacts/index/#]]></from>
            <to>/contactform/index/</to>
            </customcontactus>
            </rewrite>
            </global>


            Rewrite the postAction() controller file and add the following code.



            $model = Mage::getModel("contactform/contactformsave");
            $model->setData(array('created_at'=>NOW(),'name'=>$post['name'],
            'email'=>$post['email'],'telephone'=>$post['telephone'],
            'comment'=>$post['comment']));
            $model->save();

            Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->
            __('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
            $this->_redirect('*/*/');


            Please refer my tutorial for full code and file structure.



            http://www.pearlbells.co.uk/save-contact-form-data-magento-database/






            share|improve this answer




























              2














              Please add the following code in the config.xml file.



               <global>
              <rewrite>
              <customcontactus>
              <from><![CDATA[#^/contacts/index/#]]></from>
              <to>/contactform/index/</to>
              </customcontactus>
              </rewrite>
              </global>


              Rewrite the postAction() controller file and add the following code.



              $model = Mage::getModel("contactform/contactformsave");
              $model->setData(array('created_at'=>NOW(),'name'=>$post['name'],
              'email'=>$post['email'],'telephone'=>$post['telephone'],
              'comment'=>$post['comment']));
              $model->save();

              Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->
              __('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
              $this->_redirect('*/*/');


              Please refer my tutorial for full code and file structure.



              http://www.pearlbells.co.uk/save-contact-form-data-magento-database/






              share|improve this answer


























                2












                2








                2







                Please add the following code in the config.xml file.



                 <global>
                <rewrite>
                <customcontactus>
                <from><![CDATA[#^/contacts/index/#]]></from>
                <to>/contactform/index/</to>
                </customcontactus>
                </rewrite>
                </global>


                Rewrite the postAction() controller file and add the following code.



                $model = Mage::getModel("contactform/contactformsave");
                $model->setData(array('created_at'=>NOW(),'name'=>$post['name'],
                'email'=>$post['email'],'telephone'=>$post['telephone'],
                'comment'=>$post['comment']));
                $model->save();

                Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->
                __('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
                $this->_redirect('*/*/');


                Please refer my tutorial for full code and file structure.



                http://www.pearlbells.co.uk/save-contact-form-data-magento-database/






                share|improve this answer













                Please add the following code in the config.xml file.



                 <global>
                <rewrite>
                <customcontactus>
                <from><![CDATA[#^/contacts/index/#]]></from>
                <to>/contactform/index/</to>
                </customcontactus>
                </rewrite>
                </global>


                Rewrite the postAction() controller file and add the following code.



                $model = Mage::getModel("contactform/contactformsave");
                $model->setData(array('created_at'=>NOW(),'name'=>$post['name'],
                'email'=>$post['email'],'telephone'=>$post['telephone'],
                'comment'=>$post['comment']));
                $model->save();

                Mage::getSingleton('customer/session')->addSuccess(Mage::helper('contacts')->
                __('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'));
                $this->_redirect('*/*/');


                Please refer my tutorial for full code and file structure.



                http://www.pearlbells.co.uk/save-contact-form-data-magento-database/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 11 '17 at 22:20









                Liz Eipe CLiz Eipe C

                60956




                60956

























                    2














                    Make change in following file



                    /app/etc/modules/Codefire_Contacts.xml



                    <config>
                    <modules>
                    <Codefire_Contacts>
                    <active>true</active>
                    <codePool>local</codePool> <!--If your extension is in community codePool then use community-->
                    </Codefire_Contacts>
                    </modules>
                    </config>


                    Change your controller file name from indexController.php to IndexController.php. i should be in upppercase.






                    share|improve this answer


























                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:46













                    • Disable your cache and compilation from admin

                      – Rohit Kundale
                      Feb 4 '16 at 7:48











                    • Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02


















                    2














                    Make change in following file



                    /app/etc/modules/Codefire_Contacts.xml



                    <config>
                    <modules>
                    <Codefire_Contacts>
                    <active>true</active>
                    <codePool>local</codePool> <!--If your extension is in community codePool then use community-->
                    </Codefire_Contacts>
                    </modules>
                    </config>


                    Change your controller file name from indexController.php to IndexController.php. i should be in upppercase.






                    share|improve this answer


























                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:46













                    • Disable your cache and compilation from admin

                      – Rohit Kundale
                      Feb 4 '16 at 7:48











                    • Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02
















                    2












                    2








                    2







                    Make change in following file



                    /app/etc/modules/Codefire_Contacts.xml



                    <config>
                    <modules>
                    <Codefire_Contacts>
                    <active>true</active>
                    <codePool>local</codePool> <!--If your extension is in community codePool then use community-->
                    </Codefire_Contacts>
                    </modules>
                    </config>


                    Change your controller file name from indexController.php to IndexController.php. i should be in upppercase.






                    share|improve this answer















                    Make change in following file



                    /app/etc/modules/Codefire_Contacts.xml



                    <config>
                    <modules>
                    <Codefire_Contacts>
                    <active>true</active>
                    <codePool>local</codePool> <!--If your extension is in community codePool then use community-->
                    </Codefire_Contacts>
                    </modules>
                    </config>


                    Change your controller file name from indexController.php to IndexController.php. i should be in upppercase.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited 56 mins ago









                    Teja Bhagavan Kollepara

                    2,94841847




                    2,94841847










                    answered Feb 4 '16 at 7:26









                    Rohit KundaleRohit Kundale

                    2,87311327




                    2,87311327













                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:46













                    • Disable your cache and compilation from admin

                      – Rohit Kundale
                      Feb 4 '16 at 7:48











                    • Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02





















                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:46













                    • Disable your cache and compilation from admin

                      – Rohit Kundale
                      Feb 4 '16 at 7:48











                    • Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02



















                    Its my mistake during copy paste the code.. but its not working

                    – rajeevG
                    Feb 4 '16 at 7:46







                    Its my mistake during copy paste the code.. but its not working

                    – rajeevG
                    Feb 4 '16 at 7:46















                    Disable your cache and compilation from admin

                    – Rohit Kundale
                    Feb 4 '16 at 7:48





                    Disable your cache and compilation from admin

                    – Rohit Kundale
                    Feb 4 '16 at 7:48













                    Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

                    – rajeevG
                    Feb 4 '16 at 8:02







                    Thanks i have already do this.. But its OS issue.. working fine.. Thanks yr time

                    – rajeevG
                    Feb 4 '16 at 8:02













                    1














                    If create a module then you must need define it codePool at module config file and without it cannot be possible to run the extension.There are 3 type of codePool local,community,core.
                    Codefire_Contacts.xml



                    You did not define it.So as per as,Rohit Kundale said ,you should be define codePool.



                    Basic format of module config file



                    <?xml version="1.0" ?>
                    <config>
                    <modules>
                    <ModuleNameSpace_ModuleName>
                    <active>true</active>
                    <codePool>local</codePool> <!-- it value may be local,core,community -->
                    </ModuleNameSpace_ModuleName
                    </modules>
                    </config>





                    share|improve this answer


























                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:48











                    • change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

                      – Amit Bera
                      Feb 4 '16 at 7:53











                    • No! But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02













                    • make indexController.php to IndexController.php.*i*should be uppercas

                      – Amit Bera
                      Feb 4 '16 at 8:04


















                    1














                    If create a module then you must need define it codePool at module config file and without it cannot be possible to run the extension.There are 3 type of codePool local,community,core.
                    Codefire_Contacts.xml



                    You did not define it.So as per as,Rohit Kundale said ,you should be define codePool.



                    Basic format of module config file



                    <?xml version="1.0" ?>
                    <config>
                    <modules>
                    <ModuleNameSpace_ModuleName>
                    <active>true</active>
                    <codePool>local</codePool> <!-- it value may be local,core,community -->
                    </ModuleNameSpace_ModuleName
                    </modules>
                    </config>





                    share|improve this answer


























                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:48











                    • change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

                      – Amit Bera
                      Feb 4 '16 at 7:53











                    • No! But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02













                    • make indexController.php to IndexController.php.*i*should be uppercas

                      – Amit Bera
                      Feb 4 '16 at 8:04
















                    1












                    1








                    1







                    If create a module then you must need define it codePool at module config file and without it cannot be possible to run the extension.There are 3 type of codePool local,community,core.
                    Codefire_Contacts.xml



                    You did not define it.So as per as,Rohit Kundale said ,you should be define codePool.



                    Basic format of module config file



                    <?xml version="1.0" ?>
                    <config>
                    <modules>
                    <ModuleNameSpace_ModuleName>
                    <active>true</active>
                    <codePool>local</codePool> <!-- it value may be local,core,community -->
                    </ModuleNameSpace_ModuleName
                    </modules>
                    </config>





                    share|improve this answer















                    If create a module then you must need define it codePool at module config file and without it cannot be possible to run the extension.There are 3 type of codePool local,community,core.
                    Codefire_Contacts.xml



                    You did not define it.So as per as,Rohit Kundale said ,you should be define codePool.



                    Basic format of module config file



                    <?xml version="1.0" ?>
                    <config>
                    <modules>
                    <ModuleNameSpace_ModuleName>
                    <active>true</active>
                    <codePool>local</codePool> <!-- it value may be local,core,community -->
                    </ModuleNameSpace_ModuleName
                    </modules>
                    </config>






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Feb 4 '16 at 7:43

























                    answered Feb 4 '16 at 7:30









                    Amit BeraAmit Bera

                    58.2k1475174




                    58.2k1475174













                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:48











                    • change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

                      – Amit Bera
                      Feb 4 '16 at 7:53











                    • No! But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02













                    • make indexController.php to IndexController.php.*i*should be uppercas

                      – Amit Bera
                      Feb 4 '16 at 8:04





















                    • Its my mistake during copy paste the code.. but its not working

                      – rajeevG
                      Feb 4 '16 at 7:48











                    • change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

                      – Amit Bera
                      Feb 4 '16 at 7:53











                    • No! But its OS issue.. working fine.. Thanks yr time

                      – rajeevG
                      Feb 4 '16 at 8:02













                    • make indexController.php to IndexController.php.*i*should be uppercas

                      – Amit Bera
                      Feb 4 '16 at 8:04



















                    Its my mistake during copy paste the code.. but its not working

                    – rajeevG
                    Feb 4 '16 at 7:48





                    Its my mistake during copy paste the code.. but its not working

                    – rajeevG
                    Feb 4 '16 at 7:48













                    change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

                    – Amit Bera
                    Feb 4 '16 at 7:53





                    change require_once(Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php'); to require_once Mage::getModuleDir('controllers', 'Mage_Contacts') . DS . 'IndexController.php';

                    – Amit Bera
                    Feb 4 '16 at 7:53













                    No! But its OS issue.. working fine.. Thanks yr time

                    – rajeevG
                    Feb 4 '16 at 8:02







                    No! But its OS issue.. working fine.. Thanks yr time

                    – rajeevG
                    Feb 4 '16 at 8:02















                    make indexController.php to IndexController.php.*i*should be uppercas

                    – Amit Bera
                    Feb 4 '16 at 8:04







                    make indexController.php to IndexController.php.*i*should be uppercas

                    – Amit Bera
                    Feb 4 '16 at 8:04




















                    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%2f100300%2fsave-magento-1-9-2-contact-form-data-in-database%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