View previous topic :: View next topic |
Author |
Message |
superstarr
Joined: 09 Jun 2003 Posts: 6
|
Posted: Thu Nov 18, 2004 8:52 pm Post subject: 'ob_gzhandler' error |
|
|
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 |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 909 Location: Oslo, Norway
|
|
Back to top |
|
 |
justakid87
Joined: 17 Jan 2005 Posts: 2 Location: Malaysia
|
Posted: Mon Jan 17, 2005 9:29 am Post subject: |
|
|
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 |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 909 Location: Oslo, Norway
|
Posted: Mon Jan 17, 2005 10:32 pm Post subject: |
|
|
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 |
|
 |
justakid87
Joined: 17 Jan 2005 Posts: 2 Location: Malaysia
|
Posted: Wed Jan 19, 2005 4:18 am Post subject: |
|
|
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 |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 909 Location: Oslo, Norway
|
Posted: Wed Jan 19, 2005 8:55 am Post subject: |
|
|
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 |
|
 |
|