Welcome, Guest
Username: Password: Remember me

TOPIC: Public Registration Validation Error Message Not coming.

Public Registration Validation Error Message Not coming. 1 year 6 months ago #87152

  • Nidhi
  • Nidhi's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
$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.");

Even though above code is lying with the RegisterController.php Error Message is not appearing on the screen
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.098 seconds
Donation Image