[Tickets #9117] cookie attempting to be set after headers sent when using SQL auth

bugs at horde.org bugs at horde.org
Tue Jun 29 22:43:21 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9117
------------------------------------------------------------------------------
  Ticket             | 9117
  Created By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | cookie attempting to be set after headers sent when
                     | using SQL auth
  Queue              | Horde Base
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Horde Developers, Jan Schneider
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2010-06-29 18:43) wrote:

Probably a side effect of moving the sidebar out of the frameset, but  
when using SQL authentication, after logging in, I get the following  
error due to the fact that IMP is trying to set the default_imp_view  
cookie after headers have already been sent:

Warning: Cannot modify header information - headers already sent by  
(output started at  
/usr/local/horde/horde/horde/templates/common-header.inc:8) in  
/usr/local/horde/horde/imp/lib/Auth.php on line 481
Call Stack
#	Time	Memory	Function	Location
1	0.0003	622192	{main}( )	../index.php:0
2	0.5251	12633048	require(  
'/usr/local/horde/horde/horde/templates/menu/menu.inc' )	../index.php:65
3	0.5910	12986320	require(  
'/usr/local/horde/horde/horde/services/portal/sidebar.php'  
)	../menu.inc:13
4	0.5914	12986320	sidebar( )	../sidebar.php:284
5	0.6818	16966424	Horde_Block_Collection::getBlock( $app = 'imp',  
$name = 'tree_folders', $params = ???, $row = ???, $col = ???  
)	../sidebar.php:221
6	0.6827	17025376	Horde_Registry->pushApp( $app = 'imp', $options =  
??? )	../Collection.php:162
7	0.6830	17026504	Horde_Registry->hasPermission( $app = 'imp', $perms  
= 4 )	../Registry.php:1093
8	0.6830	17026816	Horde_Registry->isAuthenticated( $options = array  
('app' => 'imp') )	../Registry.php:1222
9	0.6847	17028632	Horde_Core_Auth_Application->transparent(  
)	../Registry.php:1678
10	0.8458	21144648	Horde_Core_Auth_Application->_setAuth(  
)	../Application.php:307
11	0.8483	21146056	Horde_Registry->callAppMethod( $app = 'imp', $call  
= 'authAuthenticateCallback', $options = array ('noperms' => TRUE)  
)	../Application.php:586
12	0.8531	21163912	call_user_func_array ( array (0 => class  
IMP_Application { public $ajaxView = TRUE; public $mobileView = TRUE;  
public $version = 'H4 (5.0-git)'; public $disabled = array (0 =>  
'authAddUser', 1 => 'authRemoveUser', 2 => 'authUserList'); public  
$initParams = array (); protected $_initDone = TRUE }, 1 =>  
'authAuthenticateCallback'), array () )	../Registry.php:884
13	0.8531	21163944	IMP_Application->authAuthenticateCallback(  
)	../Registry.php:0
14	0.8532	21163944	IMP_Auth::authenticateCallback( )	../Application.php:336
15	0.8633	21419216	setcookie ( 'default_imp_view', 'imp', 1280443135,  
'/horde', '' )	../Auth.php:481






More information about the bugs mailing list