Mautic Community Forums

Unable to use landing page

I created a landing page and then when submit the form data it gives:



Uh oh! I think I broke it. If I do it again, please report me to the system administrator! 500 Internal Server Error



Found this in the log:



[2015-05-28 18:47:21] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALDBALException: “An exception occurred while executing ‘INSERT INTO mau_form_results_6_sales20for (nome, apelido, empresa, cargo, email, telefone, submission_id, form_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)’ with params [“Alfredo”, “Simu00f5es”, “ASCMI”, “Consultor”, “alfredo.simoes@mail.telepac.pt”, “963091704”, 30, 6]: Table ‘ascmico_maut908.mau_form_results_6_sales20for’ doesn’t exist” at /home/ascmico/public_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 {“exception”:"[object] (Doctrine\DBAL\DBALException(code: 0): An exception occurred while executing ‘INSERT INTO mau_form_results_6_sales20for (nome, apelido, empresa, cargo, email, telefone, submission_id, form_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)’ with params [“Alfredo”, “Sim\u00f5es”, “ASCMI”, “Consultor”, “alfredo.simoes@mail.telepac.pt”, “963091704”, 30, 6]:nnTable ‘ascmico_maut908.mau_form_results_6_sales20for’ doesn’t exist at /home/ascmico/public_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:91, Doctrine\DBAL\Driver\Mysqli\MysqliException(code: 1146): Table ‘ascmico_maut908.mau_form_results_6_sales20for’ doesn’t exist at /home/ascmico/public_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php:89)"} []



Any clue?

I created a landing page and then when submit the form data it gives:

Uh oh! I think I broke it. If I do it again, please report me to the system administrator! 500 Internal Server Error

Found this in the log:

[2015-05-28 18:47:21] mautic.CRITICAL: Uncaught PHP Exception DoctrineDBALDBALException: “An exception occurred while executing ‘INSERT INTO mau_form_results_6_sales20for (nome, apelido, empresa, cargo, email, telefone, submission_id, form_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)’ with params [“Alfredo”, “Simu00f5es”, “ASCMI”, “Consultor”, “alfredo.simoes@mail.telepac.pt”, “963091704”, 30, 6]: Table ‘ascmico_maut908.mau_form_results_6_sales20for’ doesn’t exist” at /home/ascmico/public_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 91 {“exception”:"[object] (Doctrine\DBAL\DBALException(code: 0): An exception occurred while executing ‘INSERT INTO mau_form_results_6_sales20for (nome, apelido, empresa, cargo, email, telefone, submission_id, form_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)’ with params [“Alfredo”, “Sim\u00f5es”, “ASCMI”, “Consultor”, “alfredo.simoes@mail.telepac.pt”, “963091704”, 30, 6]:nnTable ‘ascmico_maut908.mau_form_results_6_sales20for’ doesn’t exist at /home/ascmico/public_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:91, Doctrine\DBAL\Driver\Mysqli\MysqliException(code: 1146): Table ‘ascmico_maut908.mau_form_results_6_sales20for’ doesn’t exist at /home/ascmico/public_html/mautic/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php:89)"} []

Any clue?

It seems the table for the form either didn’t get created or was deleted. Can you look in your database to see if mau_form_results_6_sales20for exists? If not, maybe try opening your form and resaving to see if the table gets created.

Thanks,
Alan