[TYPO3-UG Dutch] de nieuwe form extensie op 4.5

Ronald Wopereis woepwoep at gmail.com
Sat Aug 18 22:25:45 CEST 2012


hi Willem,

onderstaande link verwijst naar Patrick Broens als de auteur,
misschien dat hij je verder kan helpen?
http://www.phpkode.com/source/p/typo-cms/typo3_src+dummy-4.7.0rc1/typo3/sysext/form/Classes/View/Wizard/Wizard.php

ik zie wel dat in TYPO3 4.7.4 de file die genoemd wordt op regel 330,
ontbreekt:
> pwd
/usr/share/typo3/typo3_src-4.7.4/typo3/sysext/form/Resources/Private/Language
> ls -l
total 36
-rw-r--r-- 1 root root 10022 Aug 15 12:48 locallang_controller.xlf
-rw-r--r-- 1 root root 23741 Aug 15 12:48 locallang_wizard.xlf

terwijl in de code verwacht wordt een xml bestand, zie onderstaande listing:

    /**
314     * Reads locallang file into array (for possible include in header)
315     *
316     * @param $file
317     */
318    protected function loadLocalization() {
319        $wizardLabels = $GLOBALS['LANG']->includeLLFile(
320            'EXT:form/Resources/Private/Language/locallang_wizard.xml',
321            FALSE,
322            TRUE
323        );
324        $controllerLabels = $GLOBALS['LANG']->includeLLFile(
325
'EXT:form/Resources/Private/Language/locallang_controller.xml',
326            FALSE,
327            TRUE
328        );
329
330        $labels = t3lib_div::array_merge_recursive_overrule(
331            $controllerLabels,
332            $wizardLabels
333        );
334
335        $this->pageRenderer->addInlineLanguageLabelArray($labels[
'default']);
336    }


hope this helps,
R (warm, he?)

Op 18 augustus 2012 18:44 schreef Drs. Ing. W.S.M. Perquin <
perquin at yniverse.nl> het volgende:

> Hallo lijst,
>
> Is het iemand gelukt om de form extensie welke in de core zit van versie
> 4.7
> te gebruiken in 4.5?
>
> Ik krijg hem wel geïnstalleerd, maar wanneer ik hem wil gaan gebruiken
> krijg
> ik de volgende error melding:
>
>
>
> #1: PHP Catchable Fatal Error: Argument 1 passed to
> t3lib_div::array_merge_recursive_overrule() must be an array, null given,
> called in C:\ typo3_test\typo3\sysext\form\Classes\View\Wizard\Wizard.php
> on
> line 330 and defined in C:\ typo3_test\t3lib\class.t3lib_div.php line 2224
>
> t3lib_error_Exception thrown in file
> C:\yuplounge\typo3_test\t3lib\error\class.t3lib_error_errorhandler.php in
> line 108.
>
>
>
> t3lib_error_ErrorHandler::handleError(4096, "Argument 1 passed to
> t3lib_div::array_merge_recurs…ses\View\Wizard\Wizard.php on line 330 and
> defined", "C:\typo3_test\t3lib\class.t3lib_div.php", 2224, array)
>
>
>
> Wat heb ik gedaan:
>
> Ik heb form geplaatst in de sysext. En daarna in typoconf/ext een symbolic
> link hiernaar toe gemaakt. Krijg hem geïnstalleerd (dat werkt) en je kunt
> hem ook als content element aanspreken.
>
>
>
> Iemand gelukt om de nieuwe “form” extensie op TYPO4.5 te laten werken? En
> zo
> jij…hoe heb je dat voor elkaar gekregen.
>
>
>
> W-P
>
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>



-- 
http://about.me/woepwoep


More information about the TYPO3-UG-Dutch mailing list