| Additional Information | PHP notice
Undefined index: datestamp
/home/haha110110/survey/application/helpers/expressions/em_manager_helper.php(3409)
3397 }
3398 }
3399 }
3400 }
3401 if ($bQuotaMatched)
3402 {
3403 check_quota('enforce',$this->sid); // will create a page and quit.
3404 }
3405 else
3406 {
3407 if ($finished) {
3408 $sQuery = 'UPDATE '.$this->surveyOptions['tablename'] . " SET "
3409 .dbQuoteID('submitdate') . "=" . dbQuoteAll($_SESSION['datestamp'])
3410 ." WHERE ID=".$_SESSION[$this->sessid]['srid'];
3411 dbExecuteAssoc($sQuery); // Checked
3412 }
3413 }
3414
3415 }
3416 if (($this->debugLevel & LEM_DEBUG_VALIDATION_SUMMARY) == LEM_DEBUG_VALIDATION_SUMMARY) {
3417 $message .= $query;
3418 }
3419 }
3420 return $message;
3421 }
Stack Trace
#0
–
/home/haha110110/survey/application/helpers/expressions/em_manager_helper.php(3037): LimeExpressionManager->_UpdateValuesInDatabase(array("952936X1X1" => array("type" => "!", "value" => "1"), "952936X1X2" => array("type" => "G", "value" => "F"), "952936X1X95" => array("type" => "S", "value" => "1"), "952936X1X3" => array("type" => "N", "value" => 1), ...), true)
3032 }
3033 else
3034 {
3035 $finished = true;
3036 }
3037 $message .= $LEM->_UpdateValuesInDatabase($updatedValues,$finished);
3038 $LEM->runtimeTimings[] = array(METHOD,(microtime(true) - $now));
3039 $LEM->lastMoveResult = array(
3040 'finished'=>$finished,
3041 'message'=>$message,
3042 'gseq'=>1,
#1
–
/home/haha110110/survey/application/helpers/SurveyRuntimeHelper.php(185): LimeExpressionManager::NavigateForwards()
180 }
181 if (isset($move) && ($move == 'movesubmit'))
182 {
183 if ($surveyMode == 'survey')
184 {
185 $moveResult = LimeExpressionManager::NavigateForwards();
186 }
187 else
188 {
189 // may be submitting from the navigation bar, in which case need to process all intervening questions
190 // in order to update equations and ensure there are no intervening relevant mandatory or relevant invalid questions
#2
–
/home/haha110110/survey/application/controllers/survey/index.php(664): SurveyRuntimeHelper->run("952936", array("surveyid" => "952936", "thistpl" => "/home/haha110110/survey/templates/default", "totalquestions" => null, "thissurvey" => array("surveyls_survey_id" => "952936", "surveyls_language" => "zh-Hans", "surveyls_title" => "桥梁网用户调查", "surveyls_description" => "<p style="text-align: center; "> 桥梁网有奖调查...", ...), ...))
659 //Send local variables to the appropriate survey type
660 unset($redata);
661 $redata = compact(array_keys(get_defined_vars()));
662 Yii::import('application.helpers.SurveyRuntimeHelper');
663 $tmp = new SurveyRuntimeHelper();
664 $tmp->run($surveyid,$redata);
665
666 if (isset($_POST['saveall']) || isset($flashmessage))
667 {
668 echo "<script type='text/javascript'> $(document).ready( function() { alert('".$clang->gT("Your responses were successfully saved.","js")."');}) </script>";
669 }
#3
+
/home/haha110110/survey/application/controllers/survey/index.php(20): index->action()
#4
+
/home/haha110110/survey/framework/web/actions/CAction.php(75): index->run()
#5
+
/home/haha110110/survey/framework/web/CController.php(309): CAction->runWithParams(array())
#6
+
/home/haha110110/survey/framework/web/CController.php(287): CController->runAction(index)
#7
+
/home/haha110110/survey/framework/web/CController.php(266): CController->runActionWithFilters(index, array())
#8
+
/home/haha110110/survey/framework/web/CWebApplication.php(276): CController->run("index")
#9
+
/home/haha110110/survey/framework/web/CWebApplication.php(135): CWebApplication->runController("survey/index")
#10
+
/home/haha110110/survey/framework/base/CApplication.php(162): CWebApplication->processRequest()
#11
+
/home/haha110110/survey/index.php(171): CApplication->run()
2012-06-06 14:23:30 Apache/2.2.17 (Ubuntu) Yii Framework/1.1.10 |
|---|