Project

General

Profile

Actions

Bug #17135

closed

Update from 4.0.5 to 4.1.0 broke my site

Added by Martin Holtz about 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-03-20
Due date:
% Done:

0%

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

Description

Fatal error: Call to undefined function: getmultiplegroupswhereclause() in /typo3_src-4.1/t3lib/class.t3lib_page.php on line 998

I do not know what happens by now, but perhaps there is an extension which is extending the t3lib_page.php? I do not know.

some suggestions where i should look for?

thanks,
martin

quick fix for me:

Line 998:

// $query.= $this->getMultipleGroupsWhereClause($field, $table);

// copying the code from getMultipleGroupsWhereClause

$memberGroups = t3lib_div::intExplode(',',$GLOBALS['TSFE']->gr_list);
$orChecks=array();
$orChecks[]=$field.'=\'\''; // If the field is empty, then OK
$orChecks[]=$field.' IS NULL'; // If the field is NULL, then OK
$orChecks[]=$field.'=\'0\''; // If the field contsains zero, then OK
foreach($memberGroups as $value)    {
$orChecks[] = $GLOBALS['TYPO3_DB']->listQuery($field, $value, $table);
}
$query.= ' AND ('.implode(' OR ',$orChecks).')';

(issue imported from #M5265)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #17180: tslib_cObj::enableFields() doesn't work in T3 4.1, 4.1.1Closed2007-04-03

Actions
Actions

Also available in: Atom PDF