[TYPO3-UG Dutch] Probleem met extentie formhandler

Ric van Westhreenen ric.vanwesthreenen at typo3.org
Mon Aug 11 14:32:13 CEST 2014


Richard,

Staan de rechten van de  bestanden op je server wel goed?

-- 
Ric van Westhreenen

Mobile: +3164 808 6196

Skype: Roodlicht

Twitter: @Roodlicht


Vice President of the TYPO3 Association, association.typo3.org
TYPO3 Association, Sihlbruggstrasse 105, CH-6340 Baar, Switzerland



2014-08-11 14:21 GMT+02:00 Richard van den Bogaard <
RM.vandenBogaard at ihcmerwede.com>:

> Ik heb in de extentie formhandler een formulier gemaakt en ik krijg bij
> gebruik van de validators de volgende errors (debug = 1)
>
> "
> Could not find error message with key "error_title_required"!
> Could not find error message with key "error_description_required"!
> Could not find error message with key "error_action_description_required"!
> "
>
> Voor het formulier heb ik drie bestanden in de folder
> fileadmin/formhandler, namelijk actionInput.tss, actionInput.html en
> actionInput.xml
>
> In het tss bestand verwijs ik naar het xml bestand zoals de tutorial en
> toch geeft de debug aan dat hij de error messages niet kan vinden:
>
> Code in actionInput.tss:
>
> plugin.Tx_Formhandler.settings {
>   debug = 1
>   storeGP = 1
>   templateFile = fileadmin/formhandler/actionInput.html
>   langFile = fileadmin/formhandler/actionInput.xml
>   formValuesPrefix = formhandler
>
> ..
>
>   validators.1 {
>      class = Tx_Formhandler_Validator_Default
>      disabled = 0
>      config {
>         fieldConf {
>            title.errorCheck {
>               1 = required
>            }
>            description.errorCheck {
>               1 = required
>            }
>            action_description.errorCheck {
>               1 = required
>            }
>         }
>      }
>   }
>
> Code in actionInput.xml:
>
> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
> <T3locallang>
>   <data type="array">
>      <languageKey index="default" type="array">
>         <label index="error_title_required">The title is missing</label>
>         <label index="error_description_required">The description is
> missing</label>
>         <label index="error_action_description_required">There is no
> action desc</label>
>      </languageKey>
>   </data>
> </T3locallang>
>
> Debug log:
>
> Tx_Formhandler_Controller_Form
> Current step is: 2
> Highest step subpart found in template file (number of steps):
> Using prefix for form values: "formhandler"
> Using view "Tx_Formhandler_View_Form"
> The current GET/POST params are:
> submitted       1
> randomID        a0ded0a8f0daee6cae29c592e22f47e4
> removeFile
> removeFileField
> submitField
> step-2-next     Submit
> created_by
> status  1
> title
> description
> action_by
> action_description
> due_date
> priority        2
>
> The current values in session are:
> using_ajax
> Calling class "Tx_Formhandler_Interceptor_Filtreatment"
> Files:
> Using subpart "###TEMPLATE_FORM1###"!
> Tx_Formhandler_Validator_Default
> Calling class "Tx_Formhandler_Errorcheck_Required"
> Calling class "Tx_Formhandler_Errorcheck_Required"
> Calling class "Tx_Formhandler_Errorcheck_Required"
> Calling class "Tx_Formhandler_Errorcheck_Required"
> Tx_Formhandler_View_Form
> Could not find error message with key "error_title_required"!
> Could not find error message with key "error_description_required"!
> Could not find error message with key "error_action_description_required"!
>
> Heeft iemand enig idee waar het probleem zit?
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>


More information about the TYPO3-UG-Dutch mailing list