PHP Error

Function get_magic_quotes_gpc() is deprecated

/home/yamabush/yii/framework/web/CHttpRequest.php(88)

076         parent::init();
077         $this->normalizeRequest();
078     }
079 
080     /**
081      * Normalizes the request data.
082      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.
083      * It also performs CSRF validation if {@link enableCsrfValidation} is true.
084      */
085     protected function normalizeRequest()
086     {
087         // normalize request
088         if(function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc())
089         {
090             if(isset($_GET))
091                 $_GET=$this->stripSlashes($_GET);
092             if(isset($_POST))
093                 $_POST=$this->stripSlashes($_POST);
094             if(isset($_REQUEST))
095                 $_REQUEST=$this->stripSlashes($_REQUEST);
096             if(isset($_COOKIE))
097                 $_COOKIE=$this->stripSlashes($_COOKIE);
098         }
099 
100         if($this->enableCsrfValidation)

Stack Trace

#7
+
 /home/yamabush/public_html/apps/pedigree/index.php(16): YiiBase::createWebApplication("/home/yamabush/public_html/apps/pedigree/protected/config/main.p...")
11 defined('YII_DEBUG') or define('YII_DEBUG',true);
12 // specify how many levels of call stack should be shown in each log message
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
14 
15 require_once($yii);
16 Yii::createWebApplication($config)->run();
2024-03-28 17:10:07 Apache Yii Framework/1.1.7