Error

Description

Call to undefined function get_magic_quotes_gpc()

Source File

/home/cmfce/smartmarriages.com/framework/prado/framework/Web/THttpRequest.php (195)

0184:             $this->_requestUri=$_SERVER['REQUEST_URI'];
0185:         else  // TBD: in this case, SCRIPT_NAME need to be escaped
0186:             $this->_requestUri=$_SERVER['SCRIPT_NAME'].(empty($_SERVER['QUERY_STRING'])?'':'?'.$_SERVER['QUERY_STRING']);
0187: 
0188:         if(isset($_SERVER['PATH_INFO']))
0189:             $this->_pathInfo=$_SERVER['PATH_INFO'];
0190:         else if(strpos($_SERVER['PHP_SELF'],$_SERVER['SCRIPT_NAME'])===0)
0191:             $this->_pathInfo=substr($_SERVER['PHP_SELF'],strlen($_SERVER['SCRIPT_NAME']));
0192:         else
0193:             $this->_pathInfo='';
0194: 
0195: if(get_magic_quotes_gpc())
0196: { 0197: if(isset($_GET)) 0198: $_GET=$this->stripSlashes($_GET); 0199: if(isset($_POST)) 0200: $_POST=$this->stripSlashes($_POST); 0201: if(isset($_REQUEST)) 0202: $_REQUEST=$this->stripSlashes($_REQUEST); 0203: if(isset($_COOKIE)) 0204: $_COOKIE=$this->stripSlashes($_COOKIE); 0205: } 0206: 0207: $this->getApplication()->setRequest($this);

Stack Trace

#0 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(880): THttpRequest->init(Object(TXmlElement))
#1 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(927): TApplication->applyConfiguration(Object(TApplicationConfiguration), false)
#2 /home/cmfce/smartmarriages.com/framework/prado/framework/TApplication.php(364): TApplication->initApplication()
#3 /home/cmfce/smartmarriages.com/webapp/index.php(30): TApplication->run()
#4 {main}
2023-05-27 16:08 Apache PRADO/3.1.0