[TYPO3-german] Formhandler in Facebook-App: IE-Bug Submit only?
Geddo
geddo at gmx.de
Tue Sep 2 21:48:58 CEST 2014
Ich habe ein Formular inkl. Bilder-Upload das wunderbar in allen Browsern funktioniert - auch über HTTPS wenn ich es direkt aufrufe.
Binde ich das Formular nun in eine Facebook-App ein, funktioniert es nur noch im FireFox und Chrome - nicht aber im Internet-Explorer und zwar auch nur nicht wenn das Formular vollständig ausgefüllt ist und alle validatoren befriedigt sind (die funktionieren nämlich auch im IE)
Der Debugger ist wenig hilfreich - er gibt nur einen Fehler an der eigentlichen Plugin-Position aus:
Keine Template-Datei gefunden. Überprüfen Sie die TypoScript-Konfiguration und/oder die Plugineinstellungen und vergewissern Sie sich, dass Sie eine Template-Datei angegeben haben!
File: /homepages/37/d409462439/htdocs/trollinger2punkt0.de/typo3conf/ext/formhandler/Classes/Utils/Tx_Formhandler_UtilityFuncs.php(643)
#0 /homepages/37/d409462439/htdocs/trollinger2punkt0.de/typo3conf/ext/formhandler/Classes/View/Tx_Formhandler_View_Form.php(49): Tx_Formhandler_UtilityFuncs->throwException('no_template_fil...')
Woran könnte das liegen? Sessions? Cookies? Facebook-iFrame? Und warum nur der IE???
Bin für jeden Hinweis dankbar!
Hier das TS
plugin.Tx_Formhandler.settings.predef.template_setup {
# GENERAL CONFIGURATION
name = template_setup
debug = 0
addErrorAnchors = 1
formValuesPrefix = template
checkBoxFields = agb
totalFilesMarkerTemplate {
totalWrap = <ul>|</ul>
singleWrap = <li style="color:red;">|</li>
}
files {
enableFileRemoval = 1
uploadFolder = fileadmin/user_upload/img/xxx/
customRemovalText = TEXT
customRemovalText {
value = fileadmin/xxx/img/delete.png
wrap = <img src="|" />
}
}
singleFileMarkerTemplate {
totalWrap = <div class="uploadedfiles">|</div>
showThumbnails = 1
}
isErrorMarker {
global = <label index="is_error_default" class="globalerror">###LLL:error###</label>
default = error
}
singleErrorTemplate {
singleWrap = <span class="error">|</span>
}
loggers.1.class = Tx_Formhandler_Logger_DB
initInterceptors.1.class = Tx_Formhandler_Interceptor_Filtreatment
validators {
1.class = Tx_Formhandler_Validator_Default
1.config {
fieldConf {
name.errorCheck.1 = required
vorname.errorCheck.1 = required
geburtsdatum.errorCheck {
1 = required
2 = date
2.pattern = d.m.y
}
email.errorCheck.1 = required
email.errorCheck.2 = email
email_confirm.errorCheck.1 = required
email_confirm.errorCheck.2 = email
fotoinfo.errorCheck.1 = required
agb.errorCheck.1 = required
foto.errorCheck {
1 = fileAllowedTypes
1.allowedTypes = jpg,png,gif,jpeg
2 = fileMaxCount
2.maxCount = 1
3 = fileMaxSize
3.maxSize = 7908000
4 = fileRequired
}
}
}
2.class = Tx_Formhandler_Validator_Default
2.config {
fieldConf {
email.errorCheck.1 = equalsField
email.errorCheck.1.field = email_confirm
}
}
}
finishers {
3 {
class = Tx_Formhandler_Finisher_Mail
config {
limitMailsToUser = 4
admin {
to_email = meine (at) email.de
subject = Subject
sender_email = email
attachment = foto
}
}
}
4 {
class = Tx_Formhandler_Finisher_SubmittedOK
config.returns = 1
}
}
}
More information about the TYPO3-german
mailing list