Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/vhosts/turkiyegenclikodulleri.com/httpdocs/framework/web/CHttpRequest.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/turkiyegenclikodulleri.com/httpdocs/framework/web/CHttpRequest.php:130) in /var/www/vhosts/turkiyegenclikodulleri.com/httpdocs/framework/base/CErrorHandler.php on line 293
PHP error

PHP error

Function get_magic_quotes_gpc() is deprecated

/var/www/vhosts/turkiyegenclikodulleri.com/httpdocs/framework/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

#4
+
 /var/www/vhosts/turkiyegenclikodulleri.com/httpdocs/index.php(17): CWebApplication->init()
12     {
13         $modules = Module::model()->findAllByAttributes(array('active' => 1));
14         foreach ($modules as $module) {
15             $this->setModules(array($module['name']));
16         }
17         return parent::init();
18     }
19 }
20 
21 $app = new kraftCMS($config);
22 $app->runEnd('front');
#6
+
 /var/www/vhosts/turkiyegenclikodulleri.com/httpdocs/index.php(21): CApplication->__construct(array("name" => "kraftCMS", "language" => "tr", "preload" => array("log"), "import" => array("application.models.*", "application.components.*", "application.helpers.*", "ext.ckeditor.*", ...), ...))
16         }
17         return parent::init();
18     }
19 }
20 
21 $app = new kraftCMS($config);
22 $app->runEnd('front');
23 
2021-11-29 03:12:33 Apache Yii Framework/1.1.20