Make WordPress Core

Opened 19 years ago

Closed 19 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:


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
19 years ago

  • Patch set to No

#2 @Taranis
19 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:

#3 @MC_incubus
19 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:

#4 @MC_incubus
19 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.