Project

General

Profile

Actions

Bug #28098

closed

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

Added by Patrick Rodacker almost 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-07-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #30827: t3lib_utility_VersionNumber is not found after trying to upgradeRejected2011-10-12

Actions
Has duplicate TYPO3 Core - Bug #28099: Fatal error if setDBinit not set in localconf.phpClosedXavier Perseguers2011-07-12

Actions
Actions

Also available in: Atom PDF