PHP notice

Undefined variable: aData

/home/www/questionnaires/application/controllers/admin/surveyadmin.php(142)

130         $aData = array_merge($aData, $this->_generalTabEditSurvey($iSurveyID, $esrow));
131         $aData = array_merge($aData, $this->_tabPresentationNavigation($esrow));
132         $aData = array_merge($aData, $this->_tabPublicationAccess($esrow));
133         $aData = array_merge($aData, $this->_tabNotificationDataManagement($esrow));
134         $aData = array_merge($aData, $this->_tabTokens($esrow));
135         $aData = array_merge($aData, $this->_tabPanelIntegration($esrow));
136         $aData = array_merge($aData, $this->_tabResourceManagement($iSurveyID));
137 
138         $oResult = Questions::model()->getQuestionsWithSubQuestions($iSurveyID, $esrow['language'], "({{questions}}.type = 'T'  OR  {{questions}}.type = 'Q'  OR  {{questions}}.type = 'T' OR {{questions}}.type = 'S')");
139 
140         $aData['questions'] = $oResult;
141         $aData['display']['menu_bars']['surveysummary'] = "editsurveysettings";
142         $aData['data'] = $aData;
143 
144         $this->_renderWrappedTemplate('survey', 'editSurvey_view', $aData);
145     }
146 
147     /**
148     * Function responsible to import survey resources from a '.zip' file.
149     *
150     * @access public
151     * @return void
152     */
153     function importsurveyresources()
154     {

Stack Trace

#2
+
 /home/www/questionnaires/application/core/Survey_Common_Action.php(82): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("surveyid" => "463348", "sa" => "editsurveysettings", "iSurveyId" => "463348", "iSurveyID" => "463348"))
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
#6
+
 /home/www/questionnaires/application/controllers/AdminController.php(158): CController->run("survey")
153                 Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri;
154 
155                 $this->redirect($this->createUrl('/admin/authentication/login'));
156             }
157 
158             return parent::run($action);
159     }
160 
161     /**
162     * Routes all the actions to their respective places
163     *
#10
+
 /home/www/questionnaires/index.php(171): CApplication->run()
166  *
167  */
168 require_once BASEPATH . 'yii' . EXT;
169 require_once APPPATH . 'core/LSYii_Application' . EXT;
170 
171 Yii::createApplication('LSYii_Application', APPPATH . 'config/config' . EXT)->run();
172 
173 /* End of file index.php */
174 /* Location: ./index.php */
2012-07-19 11:22:38 Apache/2.2.9 (Debian) DAV/2 PHP/5.2.6-1+lenny16 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 Yii Framework/1.1.10