[TYPO3-english] Backend compressed css is empty
Søren Malling
soren.malling at gmail.com
Thu Jan 6 12:32:09 CET 2011
Hi,
Working on a backend module, I'm having some issues with compressed
css file being empty. Some code:
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
$this->doc->setModuleTemplate( TYPO3_MOD_PATH . 'res/mod1.html');
$this->doc->getPageRenderer()->addCssFile('/fileadmin/templates/randomcss.css');
#$this->doc->getPageRenderer()->disableCompressCss();
If i uncomment the line "disableCompressCss()" the css file is
correctly inserted with the non-compressed path. But if the line is
commented and the file being compressed the output file is empty. And
yes, i do have gzip as other js and css files are compressed and
filled with content
ex.: ../typo3temp/compressor/xtheme-t3skin-d2f7c60c6cca66b4f54c6b0eb640c82f.css.gzip?1294308269
Anyone experienced the same issue, with compressed files?
Regards,
Søren Malling
TYPO3 Brugergruppe Danmark: www.typo3danmark.dk
Twitter: twitter.com/sorenmalling
More information about the TYPO3-english
mailing list