[TYPO3-english] TYPO3 error:

Jigal van Hemert jigal at xs4all.nl
Tue Aug 10 13:45:30 CEST 2010


Hi Dennis,

On 10-8-2010 12:16, Dennis Vlaar wrote:
> Both path are the same. It's about the same path and the same file
> (ie t3lib/config_default.php).

Then it looks like that file is damaged somehow?

>>>>> Fatal error:  Cannot redeclare xdebug() (previously declared
>>>>> in /***/t3lib/config_default.php:489) in
>>>>> /***/config_default.php on line 493

In 4.4.2 this is the contents of t3lib/config_default.php:

488 	// simple debug function which prints output immediately
489 function xdebug($var = '', $debugTitle = 'xdebug')	{
490 		// If you wish to use the debug()-function, and it does not output 
something, please edit the IP mask in TYPO3_CONF_VARS
491 	if (!t3lib_div::cmpIP(t3lib_div::getIndpEnv('REMOTE_ADDR'), 
$GLOBALS['TYPO3_CONF_VARS']['SYS']['devIPmask']))	return;
492 	t3lib_div::debug($var, $debugTitle);
493 }

Can you check the contents of your file, just to be sure that it isn't 
damaged?

Otherwise I suspect problems with a code cache in a PHP accelerator or 
other obscure PHP problems.

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-english mailing list