Project

General

Profile

Actions

Bug #61175

closed

Can't clear cache with XCache breaks frontend

Added by Philipp Müller over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
Caching
Target version:
Start date:
2014-08-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi

System:
  • TYPO3 6.2.4
  • PHP Version 5.3.10-1ubuntu3.13 with Suhosin Patch 0.9.10
  • XCache v1.3.2 (with enable_auth off)

Problem

xcache_clear_cache() expects exactly 2 parameters, 1 given in /typo3/sysext/core/Classes/Utility/OpcodeCacheUtility.php line 116

Solution
Replace line 116 with this one:

xcache_clear_cache(XC_TYPE_PHP, 0);

Actions

Also available in: Atom PDF