Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/web/CHttpRequest.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/web/CHttpRequest.php:130) in /var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/base/CErrorHandler.php on line 293
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/var/www/vhosts/ipomea.main/creditpmi.it/it/yii18/web/CHttpRequest.php(130)

118         parent::init();
119         $this->normalizeRequest();
120     }
121 
122     /**
123      * Normalizes the request data.
124      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
125      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
126      */
127     protected function normalizeRequest()
128     {
129         // normalize request
130         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
131         {
132             if(isset($_GET))
133                 $_GET=$this->stripSlashes($_GET);
134             if(isset($_POST))
135                 $_POST=$this->stripSlashes($_POST);
136             if(isset($_REQUEST))
137                 $_REQUEST=$this->stripSlashes($_REQUEST);
138             if(isset($_COOKIE))
139                 $_COOKIE=$this->stripSlashes($_COOKIE);
140         }
141 
142         if($this->enableCsrfValidation)

Stack Trace

#7
+
 /var/www/vhosts/ipomea.main/creditpmi.it/it/index.php(18): YiiBase::createWebApplication("/var/www/vhosts/ipomea.main/creditpmi.it/it/protected/config/mai...")
13 // specify how many levels of call stack should be shown in each log message
14 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 0);
15 
16 require_once($yii);
17 
18 $app = Yii::createWebApplication($config);
19 
20 //Yii::registerAutoloader(array('YiiExcel', 'autoload'), true);
21 //PHPExcel_Shared_ZipStreamWrapper::register();
22 //
23 //if (ini_get('mbstring.func_overload') & 2) {
2025-09-14 01:54:12 Apache Yii Framework/1.1.18