Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#1150 closed defect (bug) (invalid)

ob_start error

Reported by: taranis's profile Taranis Owned by: mc_incubus's profile MC_incubus
Milestone: Priority: normal
Severity: minor Version: 1.5
Component: General Keywords:
Focuses: Cc:

Description

When I first view my Wordpress installation, I see this error: Warning: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in /home/spitting/public_html/wp-includes/functions.php on line 558

Change History (4)

#1 @Taranis
20 years ago

  • Patch set to No

#2 @Taranis
20 years ago

After a little more testing, I noticed that the error only appears once per browsing session. So, in Firefox, once I view the site with the error, all subsequent viewings have NO error.

If I shutdown the browser and then restart it and visit the site, the error is there. Cookie-related perhaps?

Here's a link to the site in case it might help: http://www.spittingllamas.com

#3 @MC_incubus
20 years ago

Add this line to your .htaccess file:

php_flag session.use_trans_sid off

Or alternatively, put this at the top of your index.php file:

ini_set('session.use_trans_sid', false);

See here: http://weblogtoolscollection.com/archives/2004/07/31/gzip-compression-issue-in-wordpress-12-mingus/

#4 @MC_incubus
20 years ago

  • Owner changed from anonymous to MC_incubus
  • Resolution changed from 10 to 70
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.