View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05292Bug reportsSurvey takingpublic2011-06-23 00:19
Reportertobyrhodes Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version1.91+ 
Summary05292: Fatal error on registration
Description

I am trying public registration for the first time.
I have set up a new survey with the default template.
On completing the registration form and pressing [Continue], I get the following error:

Fatal error: Call to undefined function randomkey() in /home/wechange/public_html/sv/register.php on line 102

Steps To Reproduce

Public registration page: http://ml11.net/sv/index.php?sid=99187&lang=en
Fill in all fields
Click [continue] button.

TagsNo tags attached.
Attached Files
common_functions.php (333,309 bytes)
common.php (12,800 bytes)
register.php (7,265 bytes)
Bug heat8
Complete LimeSurvey version number (& build)10267
I will donate to the project if issue is resolvedNo
BrowserFirefox v4.01
Database type & versionwechange_lime2 & MySQL 5.0.91
Server OS (if known)Linux
Webserver software & version (if known)Apache: 1.3.42,
PHP Version5.2.5
Git branch / Pull Request URL

Users monitoring this issue

greg_d

Activities

tobyrhodes

tobyrhodes

2011-06-21 15:12

reporter   ~15546

I have upgraded to build 10315, but error persists.
I think my version of common.php is missing the function "Randomkey" ... is there a later version of this file?
I have uploaded my common.php and common_functions.php
Cheers
Toby

greg_d

greg_d

2011-06-21 15:21

reporter   ~15547

Toby, is there everything ok with your update procedure?
Line 102 of register.php file in both 10315 and 10267 build does not contain Randomkey function but:

$newtoken = sRandomChars(15);
c_schmitz

c_schmitz

2011-06-22 21:38

administrator   ~15555

Yes, looks like an incomplete update. Please update manually to the latest version and report if the issue persists.

tobyrhodes

tobyrhodes

2011-06-22 22:28

reporter   ~15560

Thanks guys.
I am just starting to do a manual upgrade.
Just in case you need it, I have uploaded the old register.php
cheers
Toby

tobyrhodes

tobyrhodes

2011-06-22 22:50

reporter   ~15562

I have completed a manual upgrade, and all seems to be working fine now.
Many thanks for the suggestion.
Please mark this issue as resolved.
cheers
Toby

Issue History

Date Modified Username Field Change
2011-06-20 19:21 tobyrhodes New Issue
2011-06-21 11:54 greg_d Issue Monitored: greg_d
2011-06-21 15:12 tobyrhodes Note Added: 15546
2011-06-21 15:12 tobyrhodes File Added: common_functions.php
2011-06-21 15:13 tobyrhodes File Added: common.php
2011-06-21 15:21 greg_d Note Added: 15547
2011-06-22 21:38 c_schmitz Note Added: 15555
2011-06-22 21:38 c_schmitz Assigned To => c_schmitz
2011-06-22 21:38 c_schmitz Status new => feedback
2011-06-22 22:28 tobyrhodes File Added: register.php
2011-06-22 22:28 tobyrhodes Note Added: 15560
2011-06-22 22:28 tobyrhodes Status feedback => assigned
2011-06-22 22:50 tobyrhodes Note Added: 15562
2011-06-23 00:19 c_schmitz Status assigned => closed
2011-06-23 00:19 c_schmitz Resolution open => unable to reproduce