cancel
Showing results for 
Search instead for 
Did you mean: 

Contact Form in CMS not working

Re: Contact Form in CMS not working

Hello @rareus

 

just try 

echo "<pre>";

print_R($e);

exit;

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Contact Form in CMS not working

Hi, here's what was displayed

 

Exception Object
(
    [message:protected] => 
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /home2/euroasiaholiday/public_html/app/code/core/Mage/Contacts/controllers/IndexController.php
    [line:protected] => 107
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home2/euroasiaholiday/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php
                    [line] => 418
                    [function] => postAction
                    [class] => Mage_Contacts_IndexController
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /home2/euroasiaholiday/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
                    [line] => 254
                    [function] => dispatch
                    [class] => Mage_Core_Controller_Varien_Action
                    [type] => ->
                    [args] => Array
                        (
                            [0] => post
                        )

                )

            [2] => Array
                (
                    [file] => /home2/euroasiaholiday/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php
                    [line] => 172
                    [function] => match
                    [class] => Mage_Core_Controller_Varien_Router_Standard
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Mage_Core_Controller_Request_Http Object
                                (
                                    [_originalPathInfo:protected] => /contacts/index/post/
                                    [_storeCode:protected] => 
                                    [_requestString:protected] => /contacts/index/post/
                                    [_rewritedPathInfo:protected] => 
                                    [_requestedRouteName:protected] => 
                                    [_routingInfo:protected] => Array
                                        (
                                        )

                                    [_route:protected] => contacts
                                    [_directFrontNames:protected] => 
                                    [_controllerModule:protected] => Mage_Contacts
                                    [_isStraight:protected] => 
                                    [_beforeForwardInfo:protected] => Array
                                        (
                                        )

                                    [_internallyForwarded:protected] => 
                                    [_paramSources:protected] => Array
                                        (
                                            [0] => _GET
                                            [1] => _POST
                                        )

                                    [_requestUri:protected] => /contacts/index/post/
                                    [_baseUrl:protected] => 
                                    [_basePath:protected] => 
                                    [_pathInfo:protected] => /contacts/index/post/
                                    [_params:protected] => Array
                                        (
                                        )

                                    [_rawBody:protected] => 
                                    [_aliases:protected] => Array
                                        (
                                        )

                                    [_dispatched:protected] => 1
                                    [_module:protected] => contacts
                                    [_moduleKey:protected] => module
                                    [_controller:protected] => index
                                    [_controllerKey:protected] => controller
                                    [_action:protected] => post
                                    [_actionKey:protected] => action
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home2/euroasiaholiday/public_html/app/code/core/Mage/Core/Model/App.php
                    [line] => 365
                    [function] => dispatch
                    [class] => Mage_Core_Controller_Varien_Front
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home2/euroasiaholiday/public_html/app/Mage.php
                    [line] => 684
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => 
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home2/euroasiaholiday/public_html/index.php
                    [line] => 83
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => 
)