View Issue Details

This bug affects 1 person(s).
 12
IDProjectCategoryView StatusLast Update
05501Bug reportsOtherpublic2012-03-11 16:32
Reportertpartner Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00a1 
Target Version2.00a1Fixed in Version2.00a2 
Summary05501: Cannot view survey unless activated
Description

When trying to view inactive surveys I get the following PHP warnings:

Severity: Notice
Message: Undefined variable: sessionhandler
Filename: controllers/survey.php
Line Number: 162

Severity: Warning
Message: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent
Filename: controllers/survey.php

Line Number: 166

Additional Information

mot2 says that this is not related to bug 5468 - http://bugs.limesurvey.org/view.php?id=5468

TagsNo tags attached.
Attached Files
Capture2.PNG (21,111 bytes)   
Capture2.PNG (21,111 bytes)   
Bug heat12
Complete LimeSurvey version number (& build)11141
I will donate to the project if issue is resolvedNo
BrowserFF & IE
Database type & versionMySQL 5.1.41
Server OS (if known)Win
Webserver software & version (if known)Apache/2.2.14
PHP Version5.3.1

Users monitoring this issue

c_schmitz

Activities

Mazi

Mazi

2011-10-12 13:59

updater   ~16399

I can't reproduce the problem on build 11144. Can you reproduce it with every survey?

tpartner

tpartner

2011-10-12 14:21

partner   ~16405

See my screenshot when using the attached survey in build 11144.

The problem only exists with inactive surveys.

Mazi

Mazi

2011-10-12 15:01

updater   ~16407

Hmm, I still can't reproduce. Seems like a server setting or something like this.

@mot: Can you reproduce? Do you need any further system information for debugging this?

DenisChenu

DenisChenu

2011-10-13 11:02

developer   ~16410

i have

A PHP Error was encountered
Severity: Notice
Message: Undefined index: USER_RIGHT_PREVIEW
Filename: controllers/survey.php
Line Number: 1020

but survey preview are OK

mot

mot

2011-10-23 21:29

reporter   ~16500

This error is not re-produceable for me any longer.

tpartner

tpartner

2011-10-23 22:38

partner   ~16503

I get the following error when trying to view an inactive survey with (build 11245)

A PHP Error was encountered
Severity: Error
Message: Uncaught exception 'BadMethodCallException' with message 'Session already started.'
Filename: controllers/survey.php
Line Number: 863
Fatal error: Exception thrown without a stack frame in Unknown on line 0
Mazi

Mazi

2011-10-24 11:05

updater   ~16504

Carsten, do you have any hints for us if this is server setting related and if so, if it is a misconfiguration or something we should fix code-wise?!

tpartner

tpartner

2011-10-24 12:21

partner   ~16505

I am using an out-of-the-box configured XAMPP installation.

mot

mot

2011-10-24 17:52

reporter   ~16507

I just updated to build 11245. My current working copy is clean (taking the two config files out). I imported the attached survey and tested it resulting in this link:

http://Limesurvey_CI/index.php/survey/sid/96955/newtest/Y/lang/en

I don't get the error message about the exception.

Can you tell if you have session autostart enabled (it's a PHP setting: session.autostart)?

The exception itself is related to the session handling inside the suvey controller. Please enable PHP error logging with backtraces and add the according backtrace to this ticket if that ini setting is not enabled.

tpartner

tpartner

2011-10-24 19:05

partner   ~16510

With a completely clean install including new database, the problem seems fixed.

Any idea didn't it work when updating the installation with TortoiseSVN? Surley we don't have to start from scratch to update.

c_schmitz

c_schmitz

2012-03-11 16:32

administrator   ~17873

2.00alpha 2 Build 120212 released

Issue History

Date Modified Username Field Change
2011-10-11 20:55 tpartner New Issue
2011-10-12 13:59 Mazi Note Added: 16399
2011-10-12 13:59 Mazi Assigned To => mot
2011-10-12 13:59 Mazi Status new => feedback
2011-10-12 14:19 tpartner File Added: limesurvey_sample_survey_english.lss
2011-10-12 14:20 tpartner File Added: Capture2.PNG
2011-10-12 14:21 tpartner Note Added: 16405
2011-10-12 14:21 tpartner Status feedback => assigned
2011-10-12 15:01 Mazi Note Added: 16407
2011-10-13 11:02 DenisChenu Note Added: 16410
2011-10-23 21:29 mot Note Added: 16500
2011-10-23 21:29 mot Status assigned => feedback
2011-10-23 22:38 tpartner Note Added: 16503
2011-10-23 22:38 tpartner Status feedback => assigned
2011-10-24 11:04 Mazi Issue Monitored: c_schmitz
2011-10-24 11:05 Mazi Note Added: 16504
2011-10-24 12:21 tpartner Note Added: 16505
2011-10-24 17:52 mot Note Added: 16507
2011-10-24 19:05 tpartner Note Added: 16510
2012-01-23 16:59 c_schmitz Status assigned => resolved
2012-01-23 16:59 c_schmitz Fixed in Version => 2.00a2
2012-01-23 16:59 c_schmitz Resolution open => fixed
2012-01-23 16:59 c_schmitz Assigned To mot => c_schmitz
2012-03-11 16:32 c_schmitz Note Added: 17873
2012-03-11 16:32 c_schmitz Status resolved => closed
2021-08-04 04:32 guest Bug heat 10 => 12