Issue Bug Closed

#39891class.t3lib_compressor floods php error log on Windows

Tomasz Krawczyk 08/17/12, 15:35 updated 10/02/18, 12:15

Description

Such messages flood PHP error log on Windows:

[17-Aug-2012 11:11:13] http://www.domain.local/ - Core: Error handler (BE): PHP Warning: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for D:/wamp/www/www.domain.local/typo3//be/typo3lang.js in d:\wamp\www\www.domain.local\typo3_src\t3lib\class.t3lib_compressor.php line 462

[17-Aug-2012 11:11:13] http://www.domain.local/ - Core: Error handler (BE): PHP Warning: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for D:/wamp/www/www.domain.local/typo3/s/xtheme-t3skin.css in d:\wamp\www\www.domain.local\typo3_src\t3lib\class.t3lib_compressor.php line 357 

It happens on IIS and Apache. I noticed this behavior in TYPO3 versions 4.5.16, 4.6.9 and 4.6.12

I made a small patch for TYPO3 v.4.6.12 that helped me. Please, consider aplying this patch to the core.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.