[phpa] Re: Headers already sent problem

  • From: "Chris James" <chris.james@xxxxxxxxx>
  • To: <phpa@xxxxxxxxxxxxx>
  • Date: Tue, 25 Dec 2001 12:23:12 -0000

Andreas

Just got this from an earlier mail to this list from Nick:

>
> I've just uploaded the latest development
> version of 1.2. This fixes a bug that could
> cause random and incorrect errors reporting
> headers as being already sent, and has a
> a few additional minor additions and changes.
>

Am I right in thinking you're using 1.1pl1? If so, try 1.2dev.

HTH.

Chris.





> -----Original Message-----
> From: phpa-bounce@xxxxxxxxxxxxx [mailto:phpa-bounce@xxxxxxxxxxxxx]On
> Behalf Of Andreas Otto
> Sent: 24 December 2001 14:29
> To: phpa@xxxxxxxxxxxxx
> Subject: [phpa] Headers already sent problem
>
>
> Hi,
>
> looks like I have some problems using phpa. Despite other
> information on the
> list I still get the "Headers already sent" warning.
>
> The first time I hit the page, it displays and _no_error is being
> written to
> the php_error_log. The second or third time, the error starts
> appearing in
> the log.
>
> There is nothing special in the file apart from the printf() function ;-)
> which is on the line the warning complains about.
>
> PHPA settings are es follows:
>
> [php.ini]
> ; PHP Accelerator extension
> zend_extension="/usr/share/php_extensions/php_accelerator_1.1p1.so"
> phpa.c0_logging = "On"
>
> [virtual host setting]
> # PHP Accellerator settings
> php_value phpa "On"
> php_value phpa.cache_dir "/usr/local/httpd/test/tmp"
> php_value phpa.c0_ttl "1d"
>
> Despite having acitavated the logging no messages are appearing
> in the apache
> error_log.
>
> I am running SuSE 7.3 which is using glibc-2.2.
>
> [/var/log/httpd/error_log]
> [Mon Dec 24 15:13:48 2001] [notice] Apache/1.3.20 (Linux/SuSE) PHP/4.0.6
> configured -- resuming normal operations
> [Mon Dec 24 15:13:48 2001] [notice] suEXEC mechanism enabled (wrapper:
> /usr/sbin/suexec)
>
> [/home/andreaso/projects/t/test/php_error_log]
> [24-Dec-2001 15:14:49] PHP Warning:  Cannot add header
> information - headers
> already sent by (output started at
> /usr/local/httpd/test/www/phpa/page03.php:17) in Unknown on line 0
> [24-Dec-2001 15:15:06] PHP Warning:  Cannot add header
> information - headers
> already sent by (output started at
> /usr/local/httpd/test/www/phpa/page03.php:17) in Unknown on line 0
>
>
> I hope that someone could give me a hint what might go wrong here.
>
>
> Merry Christmas,
> Andreas
>
> --
> Andreas Otto <andreas@xxxxxxxxxx>
> Using PHP on Windows? www.php4win.de
>
>
> -- HTML Attachment decoded to text by Listar --
> -- File: page03.php
>
> start(); } ?> [phpa]
>
>
>
>
>
> index.php[1] stop(); printf ("
>
> Time elapsed: %s", $timer->timeElapsed()); } ?>
>
> --- Links ---
>    1 index.php
>
> ------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
> To post, send email to phpa@xxxxxxxxxxxxx
> To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
>
>

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: