I am developing a module for social engine 4. In a widget I have a simple form with a textfield and a button to submit the form.
I made a route in manifest.php file
'routes' => array(
'insert_link' => array(
'type' => 'Zend_Controller_Router_Route_Static',
'route' => 'profile/',
'defaults' => array(
'module' => 'hallive',
'controller' => 'videocover',
'action' => 'insertvideocoverlink'
)
),
)
I put this route inside the action of the form:
$this->setAction(Zend_Controller_Front::getInstance()->getRouter()->assemble(array(), 'insert_link'));
The method insertvideocoverlink is called when the button is pressed and everything works fine in localhost but when I use this code in a remote server (amazon web services) it does not work anymore. Why?