Hallo,
ich arbeite mich gerade in Contao ein. Das von mir gebaute Kontaktformular wird zwar gesendet, danach erscheint allerdings eine Fehlermeldung:
An error occurred while executing this script!
1. If you are a Contao user, contact the administrator of your website.
2. Open file system/logs/error.log and search for a corresponding entry.
3. Open file system/config/localconfig.php and add the following line:
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
4. Read the Contao FAQs or visit the Contao support page.
To customize this notice, create a custom template file named templates/be_error.tpl.
In der error.log steht folgendes
Kann mir jemand auf die Sprünge helfen?[30-Nov-2010 15:23:26] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Anrede, Vorname, Name, Strasse, PLZ, Ort, Telefon, email, Nachrichte, Datum) VA' at line 1 (INSERT INTO pxtc2_data_contact (, Anrede, Vorname, Name, Strasse, PLZ, Ort, Telefon, email, Nachrichte, Datum) VALUES ..................
Lesezeichen