[xdebug-dev] Bug 0000087: Warning about headers when "register_shutdown_function" used

From: <xdebug-dev[@]lists.xdebug.org>
Date: Tue, 21 Feb 2006 22:34:07 +0100

The following bug has been REOPENED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000087
======================================================================
Reporter: emgie
Handler: derick
======================================================================
Project: Xdebug
Bug ID: 87
Category: Usage problems
Reproducibility: unable to duplicate
Severity: minor
Priority: normal
Status: feedback
Operating System: Fedora Core 1
PHP Version: 4.3.0
Xdebug Version: 2.0-dev
======================================================================
Date Submitted: 2004-08-11 09:25 CEST
Last Modified: 2006-02-21 22:34 CET
======================================================================
Summary: Warning about headers when "register_shutdown_function" used
Description:
When "register_shutdown_function" is used in the code, the following
warning is issued:

--
Warning: Cannot modify header information - headers already sent in
Unknown on line 0
--
All goes well when xdebug.so is not used.
This bug causes PEAR packages to have problems
======================================================================
----------------------------------------------------------------------
 derick - 2004-08-23 09:15 CEST 
----------------------------------------------------------------------
I can not reproduce this with your code, it works fine. Can you please give
me a list of all xdebug related settings that show up in phpinfo() output?
----------------------------------------------------------------------
 emgie - 2004-08-23 13:52 CEST 
----------------------------------------------------------------------
xdebug
xdebug support => enabled
Version => 2.0.0dev
Supported protocols => Revision
DBGp - Common DeBuGger Protocol => $Revision: 1.55 $
GDB - GNU Debugger protocol => $Revision: 1.76 $
PHP3 - PHP 3 Debugger protocol => $Revision: 1.19 $
Directive => Local Value => Master Value
xdebug.allowed_clients => no value => no value
xdebug.auto_trace => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => Off => Off
xdebug.collect_return => Off => Off
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no value => no value
xdebug.dump.FILES => no value => no value
xdebug.dump.GET => no value => no value
xdebug.dump.POST => no value => no value
xdebug.dump.REQUEST => no value => no value
xdebug.dump.SERVER => no value => no value
xdebug.dump.SESSION => no value => no value
xdebug.dump_globals => On => On
xdebug.dump_once => On => On
xdebug.dump_undefined => Off => Off
xdebug.extended_info => On => On
xdebug.idekey => maciek => whatever
xdebug.manual_url => http://www.php.net => http://www.php.net
xdebug.max_nesting_level => 100 => 100
xdebug.profiler_enable => Off => Off
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => crc32 => crc32
xdebug.remote_enable => On => On
xdebug.remote_handler => gdb => gdb
xdebug.remote_host => localhost => localhost
xdebug.remote_mode => req => req
xdebug.remote_port => 9000 => 9000
xdebug.show_local_vars => Off => Off
xdebug.show_mem_delta => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /tmp
xdebug.trace_output_name => crc32 => crc32
Environment
XDEBUG_CONFIG => remote_handler=gdb
----------------------------------------------------------------------
 derick - 2005-03-10 22:42 CET 
----------------------------------------------------------------------
Is this still a problem with the latest CVS version of Xdebug?
----------------------------------------------------------------------
 emgie - 2005-03-17 16:22 CET 
----------------------------------------------------------------------
Today I've tried the latest Xdebug version and I can reproduce the error,
however only using php command line program. PHP module for apache seems
to work well. Tried with PHP 5.0 and 4.3.3.
I will be trying to reproduce this at home, on Mandrake Linux 9.1.
----------------------------------------------------------------------
 derick - 2006-01-17 21:30 CET 
----------------------------------------------------------------------
I can still not reproduce this, so I'm marking this bug as "unable to
duplicate". If you can provide more information, please reopen.
----------------------------------------------------------------------
 derick - 2006-02-21 22:34 CET 
----------------------------------------------------------------------
I did see this error when running Xdebug with Komodo, so it seems to be
valid. Will need to dig into this though.
Bug History
Date Modified  Username       Field                    Change              
======================================================================
2004-08-11 09:25emgie          New Bug                                      
2004-08-23 09:15derick         Bugnote Added: 0000182                       
2004-08-23 13:52emgie          Bugnote Added: 0000184                       
2005-03-10 22:42derick         Bugnote Added: 0000248                       
2005-03-10 22:42derick         PHP Version              5.0.0-dev => 4.3.0  
2005-03-10 22:42derick         Reproducibility          always => unable to duplicate
2005-03-10 22:42derick         Status                   new => feedback     
2005-03-17 16:22emgie          Bugnote Added: 0000250                       
2006-01-17 21:30derick         Bugnote Added: 0000340                       
2006-01-17 21:30derick         Assigned To               => derick          
2006-01-17 21:30derick         Resolution               open => unable to duplicate
2006-01-17 21:30derick         Status                   feedback => resolved
2006-02-21 22:34derick         Bugnote Added: 0000371                       
2006-02-21 22:34derick         Resolution               unable to duplicate => reopened
2006-02-21 22:34derick         Status                   resolved => feedback
======================================================================
Received on Tue Feb 21 2006 - 22:34:08 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST