Issue Bug Closed

#28098call to t3lib_div::compat_version() in config_default.php breaks the system

Patrick Rodacker 07/11/11, 23:27 updated 06/01/13, 14:45

Description

with the current master my system breaks when the following two options are not set within the localconf.php

$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';
$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8';

The following error stack shows, that t3lib_div::compat_version() tries to call t3lib_utility_VersionNumber::convertVersionNumberToInteger() and can’t find the class, because the autloader is initialized later in config_default.php

Fatal error: Class 't3lib_utility_VersionNumber' not found in /Users/rodi/dev/typo3_src-git/t3lib/class.t3lib_div.php on line 792
Call Stack
#    Time    Memory    Function    Location
1    0.0016    336796    {main}( )    ../index.php:0
2    0.0043    465232    require( '/Users/rodi/dev/typo3_src-git/typo3/sysext/cms/tslib/index_ts.php' )    ../index.php:78
3    0.0304    2447016    require( '/Users/rodi/dev/typo3_src-git/t3lib/config_default.php' )    ../index_ts.php:123
4    0.0310    2499548    t3lib_div::compat_version( )    ../config_default.php:698

Reviews 1