Bug #24077
closedmodernizr inclusion triggers compressor bug
0%
Description
The modernizr js is not resolved correctly by the compressor. It seems the backpath is missing for the js-file. The other core js-files are included by absolute path directly.
PHP Warning
PHP Warning: filemtime() [function.filemtime]: stat failed for /home/webmaster/frm2/typo3/modernizr.min.js in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_compressor.php line 294
PHP Warning
PHP Warning: filesize() [function.filesize]: stat failed for /home/webmaster/frm2/typo3/modernizr.min.js in /home/webmaster/frm2/typo3_src_svn/t3lib/class.t3lib_compressor.php line 294
Some debug output:
[debug] in file user variable debug > Variable scope report
Length Type Name Value
34 String compressJsFiles contrib/modernizr/modernizr.min.js
[debug] in file user variable debug > Variable scope report
Length Type Name Value
43 String filenameAbsolute /home/webmaster/frm2/typo3/modernizr.min.js
[debug] in file user variable debug > Variable scope report
Length Type Name Value
39 String compressJsFiles ../../../../typo3/js/iecompatibility.js
[debug] in file user variable debug > Variable scope report
Length Type Name Value
48 String filenameAbsolute /home/webmaster/frm2/typo3/js/iecompatibility.js
(issue imported from #M16415)
Updated by Björn Pedersen about 14 years ago
Why is $filenameFromMainDir calcutaed in compressJsFiles, but not passed to compressJsFile, where the same calculation is done again?
Updated by Björn Pedersen about 14 years ago
Main solution: http://bugs.typo3.org/view.php?id=16418
Updated by Steffen Ritter about 14 years ago
this is alreday fixed by a follow up
Updated by Steffen Ritter about 14 years ago
already fixed by a follow up by Steffen Gebert