PHP notice

Undefined index:

/srv/www/htdocs/survey/application/views/admin/quotas/viewquotasrowsub_view.php(3)

01 <tr class="evenrow">
02     <td align="center">&nbsp;</td>
03     <td align="center"><?php echo $question_answers[$quota_questions['code']]['Title'];?></td>
04     <td align="center"><?php echo $question_answers[$quota_questions['code']]['Display'];?></td>
05     <td align="center">&nbsp;</td>
06     <td align="center">&nbsp;</td>
07     <td style="padding: 3px;" align="center">
08         <?php echo CHtml::form(array("admin/quotas/sa/delans/surveyid/{$iSurveyId}"), 'post'); ?>
09             <input name="submit" type="submit" class="submit" value="<?php $clang->eT("Remove");?>" />
10             <input type="hidden" name="sid" value="<?php echo $iSurveyId;?>" />
11             <input type="hidden" name="action" value="quotas" />
12             <input type="hidden" name="quota_member_id" value="<?php echo $quota_questions['id'];?>" />
13             <input type="hidden" name="quota_qid" value="<?php echo $quota_questions['qid'];?>" />
14             <input type="hidden" name="quota_anscode" value="<?php echo $quota_questions['code'];?>" />
15             <input type="hidden" name="subaction" value="quota_delans" />

Stack Trace

#4
+
 /srv/www/htdocs/survey/application/controllers/admin/quotas.php(133): CController->render("/admin/quotas/viewquotasrowsub_view", array("surveyid" => "164157", "iSurveyId" => "164157", "clang" => Limesurvey_lang, "aLangs" => array("sr-Latn"), ...), true)
128                 foreach ($aResults2 as $aQuotaQuestions)
129                 {
130                     $aQuestionAnswers = self::getQuotaAnswers($aQuotaQuestions['qid'], $iSurveyId, $aQuotaListing['id']);
131                     $aData['question_answers'] = $aQuestionAnswers;
132                     $aData['quota_questions'] = $aQuotaQuestions;
133                     $aViewUrls['output'] .= $this->getController()->render('/admin/quotas/viewquotasrowsub_view', $aData, true);
134                 }
135             }
136         }
137         else
138         {
#7
+
 /srv/www/htdocs/survey/application/core/Survey_Common_Action.php(82): CAction->runWithParamsInternal(quotas, ReflectionMethod, array("surveyid" => "164157", "sa" => "index", "iSurveyId" => "164157", "iSurveyID" => "164157"))
77             $oMethod = new ReflectionMethod($this, $sDefault);
78         }
79 
80         // We're all good to go, let's execute it
81         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
82         return parent::runWithParamsInternal($this, $oMethod, $params);
83     }
84 
85     /**
86     * Some functions have different parameters, which are just an alias of the
87     * usual parameters we're getting in the url. This function just populates
#11
+
 /srv/www/htdocs/survey/application/controllers/AdminController.php(169): CController->run("quotas")
164                     $this->redirect($this->createUrl('/admin/authentication/sa/login'));
165                 }
166                 
167             }
168 
169             return parent::run($action);
170     }
171 
172     /**
173     * Routes all the actions to their respective places
174     *
2012-12-15 15:04:35 Apache/2.2.21 (Linux/SUSE) Yii Framework/1.1.10