View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04351Bug reportsOtherpublic2010-05-21 19:05
ReporterAbissia Assigned Tolemeur  
PriorityurgentSeveritytweak 
Status closedResolutionfixed 
Product Version1.87+ 
Fixed in Version1.90RC1 
Summary04351: Undefined index: dateformat
Description

When a onetime password's user chooses to edit a survey, it appears this error:

Notice: Undefined index: dateformat in /srv/www/htdocs/rateprof/limesurvey/admin/html.php on line 698

and when he chooses to edit a group of questions, it appears these errors:

Notice: Undefined index: dateformat in /srv/www/htdocs/rateprof/limesurvey/admin/html.php on line 698

Notice: Undefined index: dateformat in /srv/www/htdocs/rateprof/limesurvey/admin/html.php on line 2414

Steps To Reproduce

In my system (in php) there is a link to redirect the users to limesurvey through one time password:

header("location:../limesurvey/admin/admin.php?user=".$_SESSION['users_name']."&onepass=".$_SESSION['password']);

LimeSurvey, when the onetime password's user logs, shows no errors.

The error appears when he chooses a poll from the list on the right

Additional Information

With the admin user does not see this error.

TagsNo tags attached.
Attached Files
onetimepw.php (379 bytes)
Bug heat6
Complete LimeSurvey version number (& build)8518
I will donate to the project if issue is resolved
Browser
Database type & version MYSQL 5.1.30-enterprise-gpl-pro-log
Server OS (if known)linux
Webserver software & version (if known)apache
PHP Version5.1.2

Users monitoring this issue

Abissia

Activities

Mazi

Mazi

2010-05-19 13:03

updater   ~11866

I can reproduce the problem: "Notice: Undefined index: dateformat in C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\html.php on line 852"

Attached is a simple script to write a one time PW into the DB.

lemeur

lemeur

2010-05-21 14:19

developer   ~11899

Mazi,

I've committed a blind fix to rev 8742. Can you test and report back if it's ok now ?

TIA,
Thibault

Mazi

Mazi

2010-05-21 14:30

updater   ~11900

Works like a charm, thanks a lot!

lemeur

lemeur

2010-05-21 19:05

developer   ~11915

1.90 beta3 release

Issue History

Date Modified Username Field Change
2010-05-19 12:30 Abissia New Issue
2010-05-19 12:30 Abissia Status new => assigned
2010-05-19 12:30 Abissia Assigned To => user372
2010-05-19 12:30 Abissia Issue Monitored: Abissia
2010-05-19 13:03 Mazi Note Added: 11866
2010-05-19 13:03 Mazi File Added: onetimepw.php
2010-05-19 13:03 Mazi Assigned To user372 => lemeur
2010-05-21 14:19 lemeur Note Added: 11899
2010-05-21 14:20 lemeur Status assigned => feedback
2010-05-21 14:30 Mazi Note Added: 11900
2010-05-21 14:30 Mazi Status feedback => resolved
2010-05-21 14:30 Mazi Fixed in Version => 1.90RC1
2010-05-21 14:30 Mazi Resolution open => fixed
2010-05-21 19:05 lemeur Note Added: 11915
2010-05-21 19:05 lemeur Status resolved => closed
2021-08-04 03:30 guest Bug heat 4 => 6