Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/customer/www/mr-wash.eu/public_html/yiiframework/web/CHttpRequest.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/mr-wash.eu/public_html/yiiframework/web/CHttpRequest.php:130) in /home/customer/www/mr-wash.eu/public_html/yiiframework/base/CErrorHandler.php on line 293
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/home/customer/www/mr-wash.eu/public_html/yiiframework/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
+
 /home/customer/www/mr-wash.eu/public_html/index.php(64): YiiBase::createWebApplication("/home/customer/www/mr-wash.eu/public_html/protected/config/main....")
59 // include Yii bootstrap file
60 require_once(dirname(__FILE__).'/yiiframework/yii.php');
61 $config=dirname(__FILE__).'/protected/config/main.php';
62 
63 // create a Web application instance and run
64 Yii::createWebApplication($config)->run();
2021-06-17 01:06:03 Apache Yii Framework/1.1.17