boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

'ob_gzhandler' error

 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
superstarr



Joined: 09 Jun 2003
Posts: 6

PostPosted: Thu Nov 18, 2004 8:52 pm    Post subject: 'ob_gzhandler' error Reply with quote

Hi,
I installed B2 using Fantastico. I was able to post one blog. When I went back to it, I got the following error msg:

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /home/samiejeb/public_html/moth/journal/b2-include/b2functions.php on line 598

I changed $use_gzipcompression & set it to 0, but i'm still getting an error message.

Please advise.
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 909
Location: Oslo, Norway

PostPosted: Thu Nov 18, 2004 10:31 pm    Post subject: Reply with quote

This is a more or less frequent issue.

Gzip compression issue in WP/b2
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
justakid87



Joined: 17 Jan 2005
Posts: 2
Location: Malaysia

PostPosted: Mon Jan 17, 2005 9:29 am    Post subject: Reply with quote

Hi! I've installed b2 and everything works just fine except for one thing. Whenever I view the main index page of my website (htttp://addicted.hisworld.net), I receive an error message which says:

Quote:
Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in /home/hismusic/public_html/addicted/b2/b2-include/b2functions.php on line 598


The error msg is exactly the same as superstarr's. I checked out the link given above but still couldn't figure out to overcome this problem.

Quote:
In order to get around this problem (on most servers) you have to add the following line to the .htaccess file in the root of your blog/page.

php_flag session.use_trans_sid off

Or add this to your index.php (or your PHP code):

ini_set(’session.use_trans_sid’, false);


Sorry for asking but where am I supposed to put those lines? Can anybody help me, please?? Thanks in advance!
_________________
http://addicted.hisworld.net
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 909
Location: Oslo, Norway

PostPosted: Mon Jan 17, 2005 10:32 pm    Post subject: Reply with quote

Uhm.. in your .htaccess file?

In most ftp clients the .htaccess file is shadowed or hidden, so you might have to configure it. Or you might not have one. Then you can check out the example.htaccess that follows b2. Not that I know anything about it. *shrug*
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
justakid87



Joined: 17 Jan 2005
Posts: 2
Location: Malaysia

PostPosted: Wed Jan 19, 2005 4:18 am    Post subject: Reply with quote

Uhmm.. okay. I've put this following line:

Quote:
php_flag session.use_trans_sid off


into my .htaccess file. But still, I don't know where to put in the script itself. This is what I have in my example.htaccess file:

Quote:
php_flag session.use_trans_sid off

# this will make register globals off in b2's directory
# just put a '#' sign before these three lines if you don't want that

<IfModule mod_php4.c>
php_flag register_globals off
</IfModule>



# this is used to make b2 produce links like http://example.com/archives/m/200209
# if you renamed the file 'archives' to another name, please change it here too

<Files archives>
ForceType application/x-httpd-php
</Files>


As you can see, I've added in the line at the top of the script and it's still not working. Uhmm.. Did I do anything wrong?
_________________
http://addicted.hisworld.net
Back to top
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 909
Location: Oslo, Norway

PostPosted: Wed Jan 19, 2005 8:55 am    Post subject: Reply with quote

Ok...

htaccess is a bit strange files. They don't have names, "only an extension which is their name", namely .htaccess.

So you could rename example.htaccess to .htaccess

But make sure to check out what that other settings implicates and wether you want to comment # them out or not.
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group