View Issue Details

This bug affects 1 person(s).
 254
IDProjectCategoryView StatusLast Update
06351Bug reportsSecuritypublic2012-08-03 13:44
Reporteruser20590Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Fixed in Version2.00RC8 
Summary06351: I get this error when I delete an user.
Description

Cannot modify header information - headers already sent by (output started at ./framework/web/CController.php:794)


/home/japerez/workspace/bugsurvey200rc4/application/core/Survey_Common_Action.php(204)

192
193 if (!empty($sAction))
194 {
195 $sViewPath .= $sAction . '/';
196 }
197
198
199
200 // Header
201 if(!isset($aData['display']['header']) || $aData['display']['header'] !== false)
202 {
203 // Send HTTP header
204 header("Content-type: text/html; charset=UTF-8"); // needed for correct UTF-8 encoding
205 Yii::app()->getController()->_getAdminHeader();
206 }
207
208
209 // Menu bars
210 if (!isset($aData['display']['menu_bars']) || ($aData['display']['menu_bars'] !== false && (!is_array($aData['display']['menu_bars']) || !in_array('browse', array_keys($aData['display']['menu_bars'])))))
211 {
212 Yii::app()->getController()->_showadminmenu(!empty($aData['surveyid']) ? $aData['surveyid'] : null);
213
214 if (!empty($aData['surveyid']))
215 {
216


Steps To Reproduce
  • Login with superadmin user
  • Create user with any privileges.
  • Delete this user.
TagsNo tags attached.
Bug heat254
Complete LimeSurvey version number (& build)12062
I will donate to the project if issue is resolvedNo
BrowserFirefox 13.0
Database type & versionMysql 14.14
Server OS (if known)Ubuntu 12.04
Webserver software & version (if known)Apache 2
PHP VersionPHP 5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-07-20 12:20

administrator   ~19868

I am sorry but I cannot reproduce this. Which LimeSurvey version do you use?

user20590

2012-07-20 12:22

  ~19869

Sorry. The version is 2.00RC4

c_schmitz

c_schmitz

2012-07-23 09:08

administrator   ~19920

Please update to RC7 and let us know if the issue is gone.

user20590

2012-07-23 09:39

  ~19924

Still not working. I get the same error.

c_schmitz

c_schmitz

2012-07-24 20:20

administrator   ~19949

It is totally weird, because I cannot reproduce it. Can you try and re-install RC7 on an empty database and try again?

user20590

2012-07-25 10:45

  ~19959

I have commented this line:

./application/controllers/admin/useraction.php:249

// $this->_renderWrappedTemplate('user', $aViewUrls);

I think that this function is called 2 timed and so get this error.

This working fine. Think you it's a good solution?

Thanks

c_schmitz

c_schmitz

2012-07-26 10:01

administrator   ~19976

Thank you!

c_schmitz

c_schmitz

2012-07-26 10:01

administrator   ~19977

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9137

c_schmitz

c_schmitz

2012-08-03 13:44

administrator   ~20150

2.00RC8 released

Related Changesets

LimeSurvey: Yii 59d567c2

2012-07-26 01:01:22

c_schmitz

Details Diff
Fixed issue 06351: Error when deleting a user Affected Issues
06351
mod - application/controllers/admin/useraction.php Diff File
mod - index.php Diff File

Issue History

Date Modified Username Field Change
2012-07-20 11:51 user20590 New Issue
2012-07-20 12:20 c_schmitz Note Added: 19868
2012-07-20 12:20 c_schmitz Assigned To => c_schmitz
2012-07-20 12:20 c_schmitz Status new => feedback
2012-07-20 12:22 user20590 Note Added: 19869
2012-07-20 12:22 user20590 Status feedback => assigned
2012-07-23 09:08 c_schmitz Note Added: 19920
2012-07-23 09:08 c_schmitz Status assigned => feedback
2012-07-23 09:39 user20590 Note Added: 19924
2012-07-23 09:39 user20590 Status feedback => assigned
2012-07-24 20:20 c_schmitz Note Added: 19949
2012-07-25 10:45 user20590 Note Added: 19959
2012-07-26 10:01 c_schmitz Note Added: 19976
2012-07-26 10:01 c_schmitz Changeset attached => LimeSurvey Yii 59d567c2
2012-07-26 10:01 c_schmitz Note Added: 19977
2012-07-26 10:01 c_schmitz Resolution open => fixed
2012-07-26 10:02 c_schmitz Status assigned => resolved
2012-07-26 10:02 c_schmitz Fixed in Version => 2.00+
2012-08-03 13:44 c_schmitz Fixed in Version 2.00+ => 2.00RC8
2012-08-03 13:44 c_schmitz Note Added: 20150
2012-08-03 13:44 c_schmitz Status resolved => closed