Hallo,
ich habe heute das erste mal versucht das neue Kontaktformular (form) einzubauen.
Hat auch soweit geklappt.
Allerdings kann ich das Formular nur einmal ausfüllen.
Beim nächsten Aufruf erhalte ich folgende ausgabe.
Fatal error: Call to a member function saveXML() on a non-object in /kunden/xxxxx/rp-hostingxxx/xxxx/typo3cms/typo3_src-4.6.3/typo3/sysext/form/Classes/View/Confirmation/Confirmation.php on line 101
In der Zeile 101 steht folgendes:
$formInput = chr(10) .
html_entity_decode(
$node->saveXML($node->firstChild),
ENT_QUOTES,
'UTF-8'
) .
Meine Konfiguration sieht so aus.
enctype = multipart/form-data
method = post
title = Formular
prefix = tx_form
confirmation = 1
postProcessor {
1 = mail
1 {
recipientEmail = xxx@xxx.de
senderEmail = xxx@xxx.de
}
}
10 = TEXTLINE
10 {
name = name
label {
value = Name
}
}
20 = TEXTLINE
20 {
name = ort
label {
value = Ort
}
}
30 = TEXTAREA
30 {
cols = 40
name = nachricht
rows = 5
label {
value = Nachricht
}
}
40 = SUBMIT
40 {
name = 5
value = senden
}
rules {
1 = alphabetic
1 {
breakOnError =
showMessage = 1
message = Use alphabetic characters
error = The value contains not only alphabetic characters
allowWhiteSpace = 1
element = name
}
2 = alphabetic
2 {
breakOnError = 0
showMessage = 1
message =
error = The value contains not only alphabetic characters
allowWhiteSpace = 0
element = ort
}
}
Hat jemand einen Tipp für mich??
Vielen Dank
Carsten