Hallo!

I upgradede from 4.4.2 -> 4.5.1 on Debian Sarge (php 4.3.9, mysql 4.0.x) and though lets see what htmltidy (4.5.0) does in addition to just having htmlarea. tidy is installed from Debian package and seems to work in itself all right; also it tidies normal output with Drupal. But when submitting text i get error like this

warning: Cannot modify header information - headers already sent by (output started at /home/www.ww/html/drupal/modules/htmltidy/htmltidy.module:167) in /home/www.ww/html/drupal/includes/common.inc on line 155.

Havent digging into a problem, but it cant be too hard to solve.

Best regards, Imre

tidy has the following config

output-encoding: latin1

version
arvuti:~# tidy -version
HTML Tidy for Linux/x86 released on 1st August 2004

Comments

thesaint_02’s picture

I had the same problem with a freshly installed Drupal Version 4.5.2. Additionally, all pages were blank until I removed Htmltidy

rubicon-1’s picture

Same problem here running Drupal 4.52. Let me know if you want details about what I'm running.

TheLibrarian’s picture

Component: Miscellaneous » Code
Assigned: Unassigned » TheLibrarian
Priority: Normal » Critical

This is problem only crops up when drupal_goto() is called. The redirect header is sent after we've already started output because drupal_goto() calls out _exit() function. I'll look into fixing this today.

TheLibrarian’s picture

I fixed this in CVS... can some people please test the code against 4.5.0 to see if I can tag it for release?

TheLibrarian’s picture

We're done here.