The answer to this problem is rather simple, they have made a mistake in Admninistrator/com_mobiforms/views/mobiform/view.html.php. In this file you only have to change this part:
protected $state = null; // ZoPi: = null is better programming, its not a must.
protected $item = null;
protected $form = null;
function display($tpl = null)
{
$this->state = & $this->get('State'); // ZoPi 2012/4/8: & added (by reference and overload operator) to get the right information
$this->item = & $this->get('Item');
$this->form = & $this->get('Form');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode("\n", $errors));
return false;
}
$this->addToolbar();
parent::display($tpl);
}
The rest can stay as is.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Joomla 2.53
MobiForms 2.0.2
Clean install,
Options set
Category created
MobiForms - Add New
returns
500 - An error has occurred.
Layout default not found
Uninstalled, re-installed - same error
I got the same message. Lets us know if you found the solution.
Same versions, Joomla 2.53 MobiForms 2.0.2
The answer to this problem is rather simple, they have made a mistake in Admninistrator/com_mobiforms/views/mobiform/view.html.php. In this file you only have to change this part:
protected $state = null; // ZoPi: = null is better programming, its not a must.
protected $item = null;
protected $form = null;
function display($tpl = null)
{
$this->state = & $this->get('State'); // ZoPi 2012/4/8: & added (by reference and overload operator) to get the right information
$this->item = & $this->get('Item');
$this->form = & $this->get('Form');
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode("\n", $errors));
return false;
}
$this->addToolbar();
parent::display($tpl);
}
The rest can stay as is.
Hi,
Thanks for finding that bug.
I created a ticket here: http://sourceforge.net/apps/trac/visitas/ticket/341
Regards
// Magnus
hi everybody! i have the same error, i am on version 2.57 but the suggested fix didnt work for me. any tipps? thank you
Joomla 2.5.7
MobiForms 2.0.2
Made changes per Zopi12 suggestions and the issue still exists
Add New returns 500 - An error has occurred. Layout default not found