Hello Juergen,
The form is working now in live server (I have not yet test if emails can be sent).
The issue is that if in the site/config.php the debug is true:
$config->debug = true;
There is an error both in back-end (admin) and the front-end of the site. I attached the error message picture. Especially this error line is keep coming in the page (many lines) so especially in admin it's not easy to work.
If $config->debug = false; no error message.
Also another question:
I declare the
$frontendforms = new FrontendForms();
into the template file(s).
In the site I have 2 different forms; a contact form and a kind of simple reservation form. The contact form page, as I said, is working fine but the reservation form page shows an error saying:
Compile Error: Cannot declare class FrontendForms\Form, because the name is already in use (line 0 of site/modules/FrontendForms/Formelements/Form.php)
Any idea about these 2 issues?
Best regards