Compressor for JS causes PHP Warnings on Windows: filesize() and filemtime(): stat failed for t3lib/js/extjs/ux/flashmessages.js
When I clear the cache and then call a page in the BE I get the following errors. They always appear both:
Core: Error handler (BE): PHP Warning: filesize(): stat failed for C:/htdocs/t3lib/js/extjs/ux/flashmessages.js in C:\htdocs\t3lib\class.t3lib_compressor.php line 302
Core: Error handler (BE): PHP Warning: filemtime(): stat failed for C:/htdocs/t3lib/js/extjs/ux/flashmessages.js in C:\htdocs\t3lib\class.t3lib_compressor.php line 302
After that I can call pages in the BE as I wish; I only get the error again after clearing the cache.
I do not get this error using a *nix server.
(issue imported from #M14303)
Updated by Rens Admiraal about 10 years ago
I had the same problem for files located in fileadmin/ which are configured in RTE.default.contentCSS
Supplied is a patch which fixes the problem that the t3lib_compressor class only handles files within the TYPO3 folder because it fails to create a valid path with this code: