Deprecated: Function get_magic_quotes_gpc() is deprecated in /homepages/36/d656621714/htdocs/yii/framework/yiilite.php on line 2328

Warning: Cannot modify header information - headers already sent by (output started at /homepages/36/d656621714/htdocs/yii/framework/yiilite.php:2328) in /homepages/36/d656621714/htdocs/yii/framework/base/CErrorHandler.php on line 293
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/homepages/36/d656621714/htdocs/yii/framework/yiilite.php(2328)

2316     private $_preferredLanguages;
2317     private $_csrfToken;
2318     private $_restParams;
2319     private $_httpVersion;
2320     public function init()
2321     {
2322         parent::init();
2323         $this->normalizeRequest();
2324     }
2325     protected function normalizeRequest()
2326     {
2327         // normalize request
2328         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
2329         {
2330             if(isset($_GET))
2331                 $_GET=$this->stripSlashes($_GET);
2332             if(isset($_POST))
2333                 $_POST=$this->stripSlashes($_POST);
2334             if(isset($_REQUEST))
2335                 $_REQUEST=$this->stripSlashes($_REQUEST);
2336             if(isset($_COOKIE))
2337                 $_COOKIE=$this->stripSlashes($_COOKIE);
2338         }
2339         if($this->enableCsrfValidation)
2340             Yii::app()->attachEventHandler('onBeginRequest',array($this,'validateCsrfToken'));

Stack Trace

#7
+
 /homepages/36/d656621714/htdocs/www/index.php(20): YiiBase::createWebApplication("/homepages/36/d656621714/htdocs/www/protected/config/main.php")
15     defined('YII_DEBUG') or define('YII_DEBUG',false);
16 }
17 
18 
19 require_once($yii);
20 Yii::createWebApplication($config)->run();
2021-05-08 09:18:29 Apache Yii Framework/1.1.20