Error

Call to undefined function somethingtobroke()

/media/shnoulle/data/webdev/master/application/controllers/admin/Authentication.php(49)

37     {
38         // if the session is not readeable clear browser cookies
39         if (!session_id()) {
40             App()->request->cookies->clear();
41         }
42         /* Set adminlang to the one set in dropdown */
43         if (Yii::app()->request->getParam('loginlang', 'default') != 'default') {
44             Yii::app()->session['adminlang'] = Yii::app()->request->getParam('loginlang', 'default');
45             Yii::app()->setLanguage(Yii::app()->session["adminlang"]);
46         }
47         // The page should be shown only for non logged in users
48         $this->redirectIfLoggedIn();
49         somethingtobroke();
50         // Result can be success, fail or data for template
51         $result = self::prepareLogin();
52 
53         $isAjax = isset($_GET['ajax']) && $_GET['ajax'] == 1;
54         $succeeded = isset($result[0]) && $result[0] == 'success';
55         $failed = isset($result[0]) && $result[0] == 'failed';
56 
57         // If Ajax, echo success or failure json
58         if ($isAjax) {
59             Yii::import('application.helpers.admin.ajax_helper', true);
60             if ($succeeded) {
61                 ls\ajax\AjaxHelper::outputSuccess(gT('Successful login'));

Stack Trace

#2
+
 /media/shnoulle/data/webdev/master/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal()
78             $oMethod = new ReflectionMethod($this, $sDefault);
79         }
80 
81         // We're all good to go, let's execute it
82         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
83         return parent::runWithParamsInternal($this, $oMethod, $params);
84     }
85 
86     /**
87      * Some functions have different parameters, which are just an alias of the
88      * usual parameters we're getting in the url. This function just populates
#6
+
 /media/shnoulle/data/webdev/master/application/controllers/AdminController.php(202): CController->run()
197         }
198 
199         $this->runModuleController($action);
200 
201 
202         return parent::run($action);
203     }
204 
205     /**
206      * Starting with LS4, 3rd party developer can extends any of the LimeSurve controllers.
207      *
#10
+
 /media/shnoulle/data/webdev/master/index.php(161): CApplication->run()
156 require_once APPPATH . 'core/LSYii_Application' . EXT;
157 
158 $config = require_once(APPPATH . 'config/internal' . EXT);
159 
160 Yii::$enableIncludePath = false;
161 Yii::createApplication('LSYii_Application', $config)->run();
162 
163 /* End of file index.php */
164 /* Location: ./index.php */
2023-11-15 10:37:36 nginx/1.22.1 Yii Framework/1.1.28