Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/sahlevs/public_html/framework/web/CHttpRequest.php on line 124

Warning: Cannot modify header information - headers already sent by (output started at /home/sahlevs/public_html/framework/web/CHttpRequest.php:124) in /home/sahlevs/public_html/framework/base/CErrorHandler.php on line 293
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/home/sahlevs/public_html/framework/web/CHttpRequest.php(124)

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

Stack Trace

#7
+
 /home/sahlevs/public_html/index.php(43): YiiBase::createWebApplication(array("basePath" => "/home/sahlevs/public_html/protected/config/..", "name" => "360 shinbaza", "defaultController" => "site", "preload" => array("log"), ...))
38 // Include Yii framework
39     require_once( $yii );
40 
41 // Run application
42     $config = CMap::mergeArray( $configMain, $configServer );
43     Yii::createWebApplication( $config )->run();
2021-07-23 23:08:16 Apache Yii Framework/1.1.16