View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
04853Bug reportsSurvey takingpublic2011-01-12 18:05
Reporterbprado Assigned Tomdekker  
PriorityurgentSeveritycrash 
Status closedResolutionfixed 
Product Version1.91beta 
Fixed in Version1.91RC2 
Summary04853: Couldn't make any surveys to work properly
Description

I have a working 1.90+ version and recently tried to install 1.9.1 beta and 1.9.1 rc1. Everything works fine but when I create a test survey, I cant use it.

If I let "Show Welcome Screen" Yes, it shows the default welcome page and when I start the survey, I receive "Session Expired" message. If I change my config to "Show Welcome Screen" No, I get the following error:

PHP Notice: Undefined variable: utquery in ... common_functions.php on line 7972

If I try to create a survey without tokens, and with "Show Welcome Screen" No, i get the following error:

PHP Notice: Undefined variable: token in ... group.php on line 364

In a survey without tokens and with "Show Welcome Screen" Yes, I get the "Session Expired" message.

Steps To Reproduce

If I let "Show Welcome Screen" Yes, it shows the default welcome page and when I start the survey, I receive "Session Expired" message. If I change my config to "Show Welcome Screen" No, I get the following error:

PHP Notice: Undefined variable: utquery in ... common_functions.php on line 7972

If I try to create a survey without tokens, and with "Show Welcome Screen" No, i get the following error:

PHP Notice: Undefined variable: token in ... group.php on line 364

In a survey without tokens and with "Show Welcome Screen" Yes, I get the "Session Expired" message.

Additional Information

Tried both clean installs and upgrades from 1.90+ and failed in both cases.
I have a 1.90 working on same server and config's.

TagsNo tags attached.
Attached Files
phpinfo.htm (124,570 bytes)
Bug heat8
Complete LimeSurvey version number (& build)9696
I will donate to the project if issue is resolvedNo
BrowserConfirmed on IExplorer, Chrome and FireFox
Database type & versionmySql
Server OS (if known)Windows
Webserver software & version (if known)IIS 6
PHP Version5.2.12

Users monitoring this issue

bprado

Activities

c_schmitz

c_schmitz

2011-01-07 22:55

administrator   ~13859

Last edited: 2011-01-07 22:58

The 'Session expired' message is caused by an old invalid cookie. Clear your cookies and it should go away.

I can reproduce the problem if the 'Show welcome screen' is set to off.

Menno, can you have a look at this as soon as possible, please?

c_schmitz

c_schmitz

2011-01-08 16:07

administrator   ~13866

I have no clue why you have the session problem. Looks like a general session problem because it works just fine here. Check your error logs.

bprado

bprado

2011-01-08 16:12

reporter   ~13867

Thank you. Any hints on what log's should I check? Are there any Limesurvey specific log's?

mdekker

mdekker

2011-01-10 09:00

reporter   ~13871

I will focus on the obvious errors first, utquery looks like a merge error to me. will give an update here when i fixed some things.

mdekker

mdekker

2011-01-10 09:59

reporter   ~13872

I think I fixed the problem, had to do with incorrect checking if there are usesleft for a token and trying to always insert a token even when there was none.

The session thing might be related to starting a survey, receiving and error and continue. I didn't see anything related to session after the patch was done so please try it.

@bprado, can you use subversion or should i attach the changed files here for you?

bprado

bprado

2011-01-11 15:36

reporter   ~13877

Thank you @mdekker !!!
I can use subversion. Will update and post the results as soon as I can.

bprado

bprado

2011-01-11 19:52

reporter   ~13879

Got the new version and everything is working !!! Thank you very much !!
To solve the session problem, I had to change hosting provider.
The old host had register_globals = on (the new one is set to off). Don't know if its related.

Issue History

Date Modified Username Field Change
2011-01-06 23:09 bprado New Issue
2011-01-06 23:12 bprado Issue Monitored: bprado
2011-01-07 20:36 c_schmitz Assigned To => c_schmitz
2011-01-07 20:36 c_schmitz Status new => assigned
2011-01-07 22:53 c_schmitz Assigned To c_schmitz => Evan
2011-01-07 22:55 c_schmitz Note Added: 13859
2011-01-07 22:58 c_schmitz Note Edited: 13859
2011-01-07 22:59 c_schmitz Assigned To Evan => mdekker
2011-01-08 01:12 bprado File Added: phpinfo.htm
2011-01-08 16:07 c_schmitz Note Added: 13866
2011-01-08 16:12 bprado Note Added: 13867
2011-01-08 16:12 bprado Note View State: 13867: private
2011-01-10 09:00 mdekker Note Added: 13871
2011-01-10 09:59 mdekker Note Added: 13872
2011-01-11 15:36 bprado Note Added: 13877
2011-01-11 16:29 bprado Note View State: 13867: public
2011-01-11 19:52 bprado Note Added: 13879
2011-01-11 21:23 mdekker Status assigned => resolved
2011-01-11 21:23 mdekker Fixed in Version => 1.91RC2
2011-01-11 21:23 mdekker Resolution open => fixed
2011-01-12 18:05 c_schmitz Status resolved => closed
2021-08-05 09:19 guest Bug heat 6 => 8