najpovoljnije.ba Open in urlscan Pro
136.243.76.141  Public Scan

URL: https://najpovoljnije.ba/
Submission Tags: krdprod
Submission: On January 29 via api from JP — Scanned from JP

Form analysis 0 forms found in the DOM

Text Content

PHP ERROR

Function get_magic_quotes_gpc() is deprecated

/home/najpovol/public_html/framework/web/CHttpRequest.php(122)

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



STACK TRACE

#0
+
–
 /home/najpovol/public_html/framework/web/CHttpRequest.php(111):
CHttpRequest->normalizeRequest()

106      * the user request data.
107      */
108     public function init()
109     {
110         parent::init();
111         $this->normalizeRequest();
112     }
113 
114     /**
115      * Normalizes the request data.
116      * This method strips off slashes in request data if get_magic_quotes_gpc() returns true.


#1
+
–
 /home/najpovol/public_html/framework/base/CModule.php(387):
CHttpRequest->init()

382             if(!isset($config['enabled']) || $config['enabled'])
383             {
384                 Yii::trace("Loading \"$id\" application component",'system.CModule');
385                 unset($config['enabled']);
386                 $component=Yii::createComponent($config);
387                 $component->init();
388                 return $this->_components[$id]=$component;
389             }
390         }
391     }
392 


#2
+
–
 /home/najpovol/public_html/framework/base/CApplication.php(513):
CModule->getComponent("request")

508      * Returns the request component.
509      * @return CHttpRequest the request component
510      */
511     public function getRequest()
512     {
513         return $this->getComponent('request');
514     }
515 
516     /**
517      * Returns the URL manager component.
518      * @return CUrlManager the URL manager component


#3
+
–
 /home/najpovol/public_html/framework/web/CWebApplication.php(545):
CApplication->getRequest()

540      */
541     protected function init()
542     {
543         parent::init();
544         // preload 'request' so that it has chance to respond to onBeginRequest event.
545         $this->getRequest();
546     }
547 }


#4
+
–
 /home/najpovol/public_html/framework/base/CApplication.php(165):
CWebApplication->init()

160 
161         $this->configure($config);
162         $this->attachBehaviors($this->behaviors);
163         $this->preloadComponents();
164 
165         $this->init();
166     }
167 
168 
169     /**
170      * Runs the application.


#5
+
–
 /home/najpovol/public_html/framework/YiiBase.php(125):
CApplication->__construct(array("theme" => "lightblue", "language" => "bs",
"name" => "Najpovoljnije.ba", "preload" => array("log"), ...))

120      * to the constructor of the application class.
121      * @return mixed the application instance
122      */
123     public static function createApplication($class,$config=null)
124     {
125         return new $class($config);
126     }
127 
128     /**
129      * Returns the application singleton or null if the singleton has not been created yet.
130      * @return CApplication the application singleton, null if the singleton has not been created yet.


#6
+
–
 /home/najpovol/public_html/framework/YiiBase.php(98):
YiiBase::createApplication("CWebApplication",
"/home/najpovol/public_html/protected/config/main.php")

093      * If not, the directory will be defaulted to 'protected'.
094      * @return CWebApplication
095      */
096     public static function createWebApplication($config=null)
097     {
098         return self::createApplication('CWebApplication',$config);
099     }
100 
101     /**
102      * Creates a console application instance.
103      * @param mixed $config application configuration.


#7
+
–
 /home/najpovol/public_html/index.php(13):
YiiBase::createWebApplication("/home/najpovol/public_html/protected/config/main.php")

08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();

2022-01-29 00:06:12 Apache Yii Framework/1.1.14