View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
06749Bug reportsOtherpublic2012-10-24 14:16
ReporterNidhi Assigned Toc_schmitz  
PriorityurgentSeverityminor 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06749: Registration Error Message not appeating on regsistration Page
Description

Here is registerController.php
$query = "SELECT email FROM {{tokens_$surveyid}}\n"
. "WHERE email = '".sanitize_email(Yii::app()->request->getPost('register_email'))."'";
//$result = dbExecuteAssoc($query) or show_error("Unable to execute this query : \n <br />".$query."<br />"); //Checked)
$result = dbExecuteAssoc($query) or safe_die ($query."".$connect->ErrorMsg());
if (($result->count()) > 0)
{
$register_errormsg = $clang->gT("The email you used has already been registered.");
$SESSION['survey'.$surveyid]['register_errormsg']=$register_errormsg;

         Yii::app()->request->redirect(Yii::app()->createUrl('survey/index/sid/'.$surveyid));
       /* include &quot;index.php&quot;;
        exit;*/

The email you used has already been registered. is not appearing on my site

TagsNo tags attached.
Attached Files
defaultmsg.png (23,103 bytes)   
defaultmsg.png (23,103 bytes)   
Bug heat4
Complete LimeSurvey version number (& build)121019
I will donate to the project if issue is resolvedNo
Browser
Database type & version5
Server OS (if known)Linux
Webserver software & version (if known)5
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

Nidhi

Nidhi

2012-10-22 14:44

reporter   ~21534

"The email you used has already been registered." this message is not coming.

The same way i created one more attribute mobile no and kept it mandatory that message is also not coming.

c_schmitz

c_schmitz

2012-10-22 14:49

administrator   ~21535

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=9972

Nidhi

Nidhi

2012-10-22 17:03

reporter   ~21542

After doing the mentioned changes now the Error Message is comming on Page Load Itself before click on continue.

c_schmitz

c_schmitz

2012-10-22 18:36

administrator   ~21545

Yes, that's how it is intended to be.

c_schmitz

c_schmitz

2012-10-24 14:16

administrator   ~21609

LimeSurvey 2.00+ Build 121024 released. Please update.

Related Changesets

LimeSurvey: master 37decb9e

2012-10-22 05:49:31

c_schmitz

Details Diff
Fixed issue 06749: Registration error message not appearing on registration page Affected Issues
06749
mod - application/controllers/RegisterController.php Diff File
mod - application/helpers/replacements_helper.php Diff File

Issue History

Date Modified Username Field Change
2012-10-22 13:46 Nidhi New Issue
2012-10-22 14:33 c_schmitz Assigned To => c_schmitz
2012-10-22 14:33 c_schmitz Status new => assigned
2012-10-22 14:44 Nidhi Note Added: 21534
2012-10-22 14:49 c_schmitz Changeset attached => LimeSurvey master 37decb9e
2012-10-22 14:49 c_schmitz Note Added: 21535
2012-10-22 14:49 c_schmitz Resolution open => fixed
2012-10-22 14:49 c_schmitz Status assigned => resolved
2012-10-22 14:49 c_schmitz Fixed in Version => 2.00+
2012-10-22 17:03 Nidhi Note Added: 21542
2012-10-22 17:03 Nidhi Status resolved => feedback
2012-10-22 17:03 Nidhi Resolution fixed => reopened
2012-10-22 17:03 Nidhi File Added: defaultmsg.png
2012-10-22 18:36 c_schmitz Note Added: 21545
2012-10-22 18:36 c_schmitz Status feedback => resolved
2012-10-22 18:36 c_schmitz Resolution reopened => fixed
2012-10-24 14:16 c_schmitz Note Added: 21609
2012-10-24 14:16 c_schmitz Status resolved => closed