I am able to print the form content in the controller file, but when I assign the form view as $this->view->form = $form
and trying to display the form design using echo $this->form
in login.phtml
file, form design is not viewed, instead displaying blank page....
What could be the issue ??
Looks like it should work:
So the problem is somewhere else.
The blank page is displayed probably due to that the
error_reporting
is turrned off.Update
application.ini
and seterror_reporting
, displaying errors and throwing exceptions totrue
to see what is actually happening.Edit:
Things to check:
application.ini
contains anyresources.view[]=
$this->view = null