Bug #34162
closedMerging CSS/JS files with absRefPrefix set causes PHP error
0%
Description
When absRefPrefix is set to full url of the site - could be http://domain.com/home/, the t3lib_Compressor causes an PHP error when trying to do filemtime and filesize on the file.
TSRef suggests setting absRefPrefix to full url:
...
If you're working on a server where you have both internal and external access, you might do yourself a favor and set the absRefPrefix to the url and path of you site, e.g. http://www.typo3.com/.
...
The following patch fixes this:
292c292,293
< $filesToInclude[$key] = $this->retrieveExternalFile($filename);
---
$filename = $this->retrieveExternalFile($filename);
$filesToInclude[$key] = $filename;
294a296
296a299
Updated by Stefan Galinski over 12 years ago
Sounds like you already solved this issue. Can you provide a patch and open a new review request? Please check also this report #31239.
Updated by Markus Klein over 12 years ago
Already under review in https://review.typo3.org/7127
Updated by Anonymous over 12 years ago
- Status changed from New to Resolved
Applied in changeset 50cc033e0d7cbaf041cce152191ef9297f789c72.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed