From: Jeff D. <da...@da...> - 2001-11-04 03:38:25
|
On Sat, 3 Nov 2001 16:18:10 -0500 "Roger H. Goun" <ro...@bc...> wrote: > Further investigation left me none the wiser. Could someone please > enlighten me as to what I've done wrong? You've done nothing wrong --- other than uncover a bug. I think the fix is to change the the first two lines of lib/pgsql.php from: <!-- $Id: pgsql.php,v 1.4.2.2 2001/09/21 21:57:07 wainstead Exp $ --> <?php to: <?php rcs_id('$Id: pgsql.php,v 1.4.2.2 2001/09/21 21:57:07 wainstead Exp $'); (You could just omit the second ("rcs_id(...)") line.) (What's happening is that text output is starting with the first line of lib/pgsql.php (an html comment containing the rcs $Id$ string.) Later, admin.php is trying to set the HTTP status and a HTTP in order to request authentication login adn password. The problem is that once the body output has started, PHP can not go back and modify the headers it has sent.) Jeff |