PHP warning

set_time_limit() has been disabled for security reasons

/home/clients/939129089b83c0f6235fc9811f257387/site_dev_kce_be/limesurvey5/application/core/LSYii_Controller.php(108)

096         }
097 
098         if (!function_exists('mb_convert_encoding')) {
099             $dieoutput .= "This script needs the PHP Multibyte String Functions library installed: See <a href='http://manual.limesurvey.org/wiki/Installation_FAQ'>FAQ</a> and <a href='http://de.php.net/manual/en/ref.mbstring.php'>PHP documentation</a><br />";
100         }
101 
102         if ($dieoutput != '') {
103             throw new CException($dieoutput);
104         }
105 
106         if (ini_get("max_execution_time") < Yii::app()->getConfig('max_execution_time')) {
107             try {
108                 set_time_limit(Yii::app()->getConfig('max_execution_time')); // Maximum execution time - works only if safe_mode is off
109             } catch (Exception $e) {
110             };
111         }
112         if (ini_get('memory_limit') != -1 && convertPHPSizeToBytes(ini_get("memory_limit")) < convertPHPSizeToBytes(Yii::app()->getConfig('memory_limit') . 'M')) {
113             try {
114                 ini_set("memory_limit", Yii::app()->getConfig('memory_limit') . 'M'); // Set Memory Limit for big surveys
115             } catch (Exception $e) {
116             };
117         }
118 
119         // The following function (when called) includes FireBug Lite if true
120         defined('FIREBUG') or define('FIREBUG', Yii::app()->getConfig('use_firebug_lite'));

Stack Trace

#0
+
 /home/clients/939129089b83c0f6235fc9811f257387/site_dev_kce_be/limesurvey5/application/core/LSYii_Controller.php(108): set_time_limit(1200)
103             throw new CException($dieoutput);
104         }
105 
106         if (ini_get("max_execution_time") < Yii::app()->getConfig('max_execution_time')) {
107             try {
108                 set_time_limit(Yii::app()->getConfig('max_execution_time')); // Maximum execution time - works only if safe_mode is off
109             } catch (Exception $e) {
110             };
111         }
112         if (ini_get('memory_limit') != -1 && convertPHPSizeToBytes(ini_get("memory_limit")) < convertPHPSizeToBytes(Yii::app()->getConfig('memory_limit') . 'M')) {
113             try {
#1
+
 /home/clients/939129089b83c0f6235fc9811f257387/site_dev_kce_be/limesurvey5/application/controllers/AdminController.php(35): LSYii_Controller->customInit()
30      * @access protected
31      * @return void
32      */
33     protected function customInit()
34     {
35         parent::customInit();
36         App()->getComponent('bootstrap');
37         $this->sessioncontrol();
38 
39         $this->user_id = Yii::app()->user->getId();
40         // Check if the user really exists
#2
+
 /home/clients/939129089b83c0f6235fc9811f257387/site_dev_kce_be/limesurvey5/application/core/LSYii_Controller.php(45): AdminController->customInit()
40         $this->loadHelper('globalsettings');
41         // tracevar function
42         $this->loadHelper('common');
43         $this->loadHelper('expressions.em_manager');
44         $this->loadHelper('replacements');
45         $this->customInit();
46     }
47 
48     /**
49      * Check that installation was already done by looking for config.php
50      * Will redirect to the installer script if not exists.
2022-07-22 09:40:24 Apache Yii Framework/1.1.24-dev