[TYPO3-dev] Problems using dynflex extension

Thomas Hempel thomas at work.de
Thu Jun 22 18:19:28 CEST 2006


Hi Sven,

> I have a problem when using the dynaflex extension. When I create an 
> image field (type='group' internal_type='file') in the $dca array, the 
> image is save with full path and the thumb image is not created. There 
> seems to be a problem with the uploadfolder.
> 
> here is my $dca configuration
> 'config' => array (
>     'type' => 'group',
>     'internal_type' => 'file',
>     'allowed' => $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],
>     'max_size' => 1000',
>     'uploadfolder' => 'uploads/pics',
>     'size' => '4',
>     'minitems' => '0',
>     'maxitems' => '10',
>     'show_thumbs' => '1',
> )
> 
> the value in the flexform is:
> /full_path_to_typo3/fileadmin/mypics/image.jpg
I can't imagine, that this is an issue of dynaflex. Maybe it would be 
useful if you send me your config and I will see how the produced XML 
looks like. For me, the config looks good so far.

> Another problem I found when using the extension is the definition of 
> the flexform field in $TCA.
> When I use the following XML datastructure
> <T3DataStructure>'
>     <meta>
>         <langDisable>1</langDisable>'
>     </meta>
>     <ROOT>
>         <type>array</type>
>             <el>
>                 <dummy></dummy>
>             </el>
>     </ROOT>
> </T3DataStructure>
> 
> I get the following error when I save the form:
> Fatal error: Cannot use string offset as an array in 
> /full_path_to_typo3//typo3_src-4.0/t3lib/class.t3lib_tcemain.php on line 
> 1973
> 
> But when I insert
> <dummy>
>     <TCEforms></TCEforms>
> </dummy>
> 
> The it works fine.
This field has to be removed before anything is saved. (method => 
remove). Or you can use your solution (adding TCEforms). Anoher approach 
would be to make a kernel patch that makes a check at the respective 
place in the form rocessing.

> 
> Are there any dependencies for this extension? I just use a plain TYPO3 
> 4.0 installation.
No.


Greets,
Thomas




More information about the TYPO3-dev mailing list