PHP notice

Undefined variable: xssfilter

/home/soundguy95/surveys.lyceum.ws/ls/application/controllers/admin/surveyadmin.php(1559)

1547             'surveyls_title' => $sTitle,
1548             'surveyls_description' => $sDescription,
1549             'surveyls_welcometext' => $sWelcome,
1550             'surveyls_language' => $_POST['language'],
1551             'surveyls_urldescription' => $_POST['urldescrip'],
1552             'surveyls_endtext' => $_POST['endtext'],
1553             'surveyls_url' => $_POST['url'],
1554             'surveyls_dateformat' => (int) $_POST['dateformat'],
1555             'surveyls_numberformat' => (int) $_POST['numberformat']
1556             );
1557 
1558             $langsettings = new Surveys_languagesettings;
1559             $langsettings->insertNewSurvey($aInsertData, $xssfilter);
1560 
1561             Yii::app()->session['flashmessage'] = $this->getController()->lang->gT("Survey was successfully added.");
1562 
1563             // Update survey permissions
1564             Survey_permissions::model()->giveAllSurveyPermissions(Yii::app()->session['loginID'], $iNewSurveyid);
1565 
1566             $this->getController()->redirect($this->getController()->createUrl('admin/survey/view/surveyid/' . $iNewSurveyid));
1567         }
1568     }
1569 
1570     /**
1571     * Renders template(s) wrapped in header and footer

Stack Trace

#2
+
 /home/soundguy95/surveys.lyceum.ws/ls/application/core/Survey_Common_Action.php(82): CAction->runWithParamsInternal(SurveyAdmin, ReflectionMethod, array("sa" => "insert"))
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/soundguy95/surveys.lyceum.ws/ls/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/soundguy95/surveys.lyceum.ws/ls/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-20 19:45:45 Apache Yii Framework/1.1.10