PHP notice

Undefined index: holdname

/usr/share/nginx/html/lsurveymaster/application/helpers/frontend_helper.php(624)

612     
613     $homeurl=Yii::app()->createAbsoluteUrl('/admin');
614     $clang = Yii::app()->lang;
615     $sitename = Yii::app()->getConfig("sitename");
616 
617     $debug=Yii::app()->getConfig('debug');
618     $bIsHTML = ($thissurvey['htmlemail'] == 'Y');
619 
620     $aReplacementVars=array();
621 
622     if ($thissurvey['allowsave'] == "Y" && isset($_SESSION['survey_'.$surveyid]['scid']))
623     {
624         $aReplacementVars['RELOADURL']="".Yii::app()->getController()->createUrl("/survey/index/sid/{$surveyid}/loadall/reload/scid/".$_SESSION['survey_'.$surveyid]['scid']."/loadname/".urlencode($_SESSION['survey_'.$surveyid]['holdname'])."/loadpass/".urlencode($_SESSION['survey_'.$surveyid]['holdpass'])."/lang/".urlencode($clang->langcode));
625         if ($bIsHTML)
626         {
627             $aReplacementVars['RELOADURL']="<a href='{$aReplacementVars['RELOADURL']}'>{$aReplacementVars['RELOADURL']}</a>";
628         }
629     }
630     else
631     {
632         $aReplacementVars['RELOADURL']='';
633     }
634 
635     if (!isset($_SESSION['survey_'.$surveyid]['srid']))
636         $srid = null;

Stack Trace

#0
+
 /usr/share/nginx/html/lsurveymaster/application/helpers/SurveyRuntimeHelper.php(598): sendSubmitNotifications("369689")
593                         submittokens();
594                     }
595 
596                     //Send notifications
597 
598                     sendSubmitNotifications($surveyid);
599 
600 
601                     $content = '';
602 
603                     $content .= templatereplace(file_get_contents($sTemplatePath."startpage.pstpl"), array(), $redata, 'SubmitStartpage', false, NULL, array(), true );
#1
+
 /usr/share/nginx/html/lsurveymaster/application/controllers/survey/index.php(579): SurveyRuntimeHelper->run("369689", array("surveyid" => "369689", "thissurvey" => array("sid" => 369689, "owner_id" => 1, "admin" => "Administrator", "active" => "Y", ...), "thisstep" => "3", "tokensexist" => 0, ...))
574         //Send local variables to the appropriate survey type
575         unset($redata);
576         $redata = compact(array_keys(get_defined_vars()));
577         Yii::import('application.helpers.SurveyRuntimeHelper');
578         $tmp = new SurveyRuntimeHelper();
579         $tmp->run($surveyid,$redata);
580 
581         if (isset($_POST['saveall']) || isset($flashmessage))
582         {
583             echo "<script type='text/javascript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>";
584         }
#2
+
 /usr/share/nginx/html/lsurveymaster/application/controllers/survey/index.php(46): index->action()
41             App()->getClientScript()->render($buffer);
42             App()->getClientScript()->reset();
43             return $buffer;
44         });
45         ob_implicit_flush(false);
46         $this->action();
47         ob_flush();
48     }
49 
50     function action()
51     {
2015-01-12 01:04:44 nginx/1.4.6 Yii Framework/1.1.15