Project

General

Profile

Actions

Bug #17202

closed

PHP error on closedir() in class.t3lib_tcemain.php

Added by J©rémy Lecour over 17 years ago. Updated over 16 years ago.

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

0%

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

Description

I have a PHP error because of bad use of the function closedir() > http://php.net/closedir

The argument chould be a handler and not the path of the dir itself.

It's triggered in the brand new "internal_clearPageCache()" function.

It can be corrected by changing
6222 : closedir($cacheDir);
into
6222 : closedir($topDir);

$topDir is the handler from @opendir($cacheDir) on line 6208

(issue imported from #M5411)


Files

patch_closeDir.diff (270 Bytes) patch_closeDir.diff Administrator Admin, 2007-04-12 15:20

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #16675: 'Clear FE cache' doesn't clear 'typo3temp/cache_pages' directoryClosedDmitry Dulepov2006-10-30

Actions
Actions #1

Updated by Martin Kutschker over 17 years ago

Fixed in SVN.

Actions

Also available in: Atom PDF