[Typo3] Frontend stays white after switch to PHP5
Torsten Schrade
schrade at lineara.de
Sat Nov 26 18:05:21 CET 2005
Torsten Schrade schrieb:
> Hi list,
>
> I'm experiencing a strange effect after switching to PHP5 on my server:
> the frontends of all TYPO3 sites stay white. There's no more output than
> <html><body></body></html>...?
Ok, after sacrificing a sunny saturday afternoon I finally found the
culprit: I had gzip compression enabled in $TYPO3_CONF_VARS and set to
'TRUE' for both, FE and BE - this seems not to work with php5...
This line in apache error log points to the problem:
[client 84.169.141.224] PHP Warning: gzcompress() expects parameter 2
to be long, string given in
/srv/www/typo3/typo3_src/typo3_src-3.8.1/t3lib/class.gzip_e
ncode.php on line 187
Setting gzcompress to a value between 0-9 seems to work though.
Strangely enough, the whole thing only affected FE but not BE.
Finally, I'm up and running with php5 (and it's definitely 5.04 :-)) and
a big thank you goes to everybody participating in this thread.
Cheerio,
Torsten
More information about the TYPO3-english
mailing list