Actions
Bug #17202
closedPHP error on closedir() in class.t3lib_tcemain.php
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
Actions