PDA

View Full Version : How to disable compression


kgp43
11-17-2004, 03:18 PM
Hi,

I run alot of sites at a server.
Have installed mod_layout and it works great except at forums (ex. www.vogn.net). I was told the reason for these 3 error chars is that forums use compression. So I disabled ob_start and ob_gzhandler in php.ini, but i still receive the error chars. Does vBulletin use other methods of compression?

Any help would be great.




Regards,

K. Poulsen

AN-net
11-17-2004, 04:43 PM
Hi,

I run alot of sites at a server.
Have installed mod_layout and it works great except at forums (ex. www.vogn.net). I was told the reason for these 3 error chars is that forums use compression. So I disabled ob_start and ob_gzhandler in php.ini, but i still receive the error chars. Does vBulletin use other methods of compression?

Any help would be great.




Regards,

K. Poulsen
it uses gzip only if you turn it on, check your vbulletin options in admincp;)

kgp43
11-17-2004, 04:48 PM
I dont own the sites im hosting. Is it possible to disable gzip another way?

AN-net
11-17-2004, 05:01 PM
y r u fixing their errors then, anyways tell them to check the admincp for gzip being on if its causing errors:)

also the example site is IPB... if that site is experiencing problems then ask over at IPB;)

kgp43
11-17-2004, 05:08 PM
that was just an example... www.perfumeindex.com/forums is my own and use VB :P
I offer free hosting and want to post an Ad in the top of all pages (users accepted this when they signed up). That is why im asking

well, just wanted to know what compression VB use and got an answer - thanks. I will find a solution to disable it server-wide somewhere else.

Brad
11-17-2004, 05:20 PM
<a href="http://us2.php.net/manual/en/function.gzcompress.php" target="_blank">http://us2.php.net/manual/en/function.gzcompress.php</a>

kgp43
11-17-2004, 05:28 PM
http://us2.php.net/manual/en/function.gzcompress.php

From the link/page:

"Note: This is not the same as gzip compression, which includes some header data. See gzencode() for gzip compression."
- Dosent that mean it's the gzencode() funtion I need to disable?

Brad
11-17-2004, 05:33 PM
Disabling gzcompress prevents vBulletin from gziping.

kgp43
11-17-2004, 05:35 PM
I added both gzcompress and gzencode to "disable_functions" in php.ini - still the same error.