This question has surfaced on the forums before, but never completely resolved.
The problem.
Enable Druapl Cache (For performance) and enable PHP Zlib compression i.e. set
'zlib.output_compression = On' in php.ini (for Bandwidth).
This leads to problems with viewing the page in IE. The user gets internal Error 500 with
something like
[17-May-2006 12:02:54] PHP Warning: gzinflate(): data error in /bootstrap.inc on line 529
I tried fixing the set_page_cache as per this patch.
But no luck.
Any one, facing this same problem ? The only solution seems to be to disable either Drupal Cache or PHP Compression.
but they both serve 2 diff purpose, and so are both necessary.
The thing to note is, that so far I have seen the problem only in IE not with Firefox , konqueror etc. But making the site work
with IE is also important.
thanks
I am running Drupal 4.7 on Apache 1.3.33. Database is Mysql 4.0.25. This is a shared host so I can't change Apache or MySQL.
Comments
I am not having the problem...
In case this info is helpful - I am not having any problem with this. I have:
Drupal 4.7
PHP 4.4.2
MySQL 4.1.18
Apache 1.3.34
Red Hat Enterprise Linux 3
zlib.output_compression - On
Drupal Page Cache - enabled
No problem with Drupal in either IE6 or Firefox
What version of Zlib are you running?
thanks for the reply, zlib
thanks for the reply,
zlib is 1.1.4 , I don't have a root on the box, but I see a /usr/lib/libz.so.1.1.4, so I assume it's 1.1.4.
For now, I have removed compression code from cache. i.e. the pages are cached, but not stored compressed.
But in the long run this is bad for database size.
I also read that this could be because of some UTF issues with MySQL , but don't know how to work on it.
btw, what's the easiest way to determine the size of data stored in a blob ?
thanks
I use PhpMyAdmin...
It shows the size of Blobs in its records (in 'data' field in the 'cache' table for example).
I am not seeing a problem either
Server OS: FreeBSD 4.7-RELEASE-p28 Database: MySQL 4.1.16
HTTP Server: Apache/1.3.33 (Unix) PHP/4.4.2 mod_perl/1.29 mod_gzip/1.3.19.2a
PHP Version: 4.4.2 (Zend: 1.3.0)
zlib.output_compression - On
Drupal Page Cache - enabled
Of course I only see IE when I check to see what css bugs to tackle. But I'm getting no negative feedback from the client while site is in pre-release development.