[TYPO3-dam] DAM 1.1 beta01 requires php >= 5.1 ?!

Julien Furrer Julien.Furrer at unil.ch
Wed Nov 22 10:11:18 CET 2006


Hello,

I've got the same problem, while running a PhP 4

There's a workaround, until a better solution is found.
Install the pear package PHP_Compat,
and add the following line just before the line 1009 of /typo3conf/ 
ext/dam/lib/class.tx_dam_scbase.php :

	if(!function_exists('array_diff_key')){require_once 'PHP/Compat/ 
Function/array_diff_key.php';}

It works on my configuration (php 4.3.10)

I hope it will help.
Cheers,

Julien





Le 21 nov. 06 à 17:21, Karl-Ernst Kiel a écrit :

> Hi!
>
> Seems that DAM 1.1 requires php version >= 5.1 ?!
>
> I ran into
> Fatal error: Call to undefined function: array_diff_key() in
> [...]/typo3conf/ext/dam/lib/class.tx_dam_scbase.php on line 1009
>
> and php.net says:
>
> array_diff_key
> (PHP 5 >= 5.1.0RC1)
>
> ?!
>
> Greetings,
> Karl-E.
> _______________________________________________
> TYPO3-project-dam mailing list
> TYPO3-project-dam at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-dam




More information about the TYPO3-project-dam mailing list