==================================================================================== Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/auser/www/html/testing-center/f-data/test1053/LKBDX-223J/iine/lib/sys/CPreProc.class.php:38 Stack trace: #0 /home/auser/www/html/testing-center/f-data/test1053/LKBDX-223J/iine/codegen/startup.inc.php(19): CPreProc::reverseMagicQuote() #1 /home/auser/www/html/testing-center/f-data/test1053/LKBDX-223J/iine/codegen/index.php(11): include_once('...') #2 {main} thrown in /home/auser/www/html/testing-center/f-data/test1053/LKBDX-223J/iine/lib/sys/CPreProc.class.php on line 38 ------------------------------------------------------------------------------------ iine/lib/sys/CPreProc.class.php : reverseMagicQuote ------------------------------------------------------------------------------------ /* public static function reverseMagicQuote() { $func = "reverseMagicQuote_stripslashes_deep"; if ( !function_exists( $func ) && get_magic_quotes_gpc() ) { define( 'REVERSE_MAGIC_QUOTE', $func ); function reverseMagicQuote_stripslashes_deep( $value ) { $value = is_array( $value ) ? array_map( REVERSE_MAGIC_QUOTE, $value ) : stripslashes( $value ); return $value; } $_POST = array_map( $func, $_POST ); $_GET = array_map( $func, $_GET ); $_COOKIE = array_map( $func, $_COOKIE ); $_REQUEST = array_map( $func, $_REQUEST ); } } */ public static function reverseMagicQuote(){ $ver_req="5.4"; $ver_cur=phpversion(); if(strnatcmp($ver_cur,$ver_req)>=0){ // equal or newer }else{ $func="reverseMagicQuote_stripslashes_deep"; if(!function_exists($func)&& function_exists("get_magic_quotes_gpc")&& get_magic_quotes_gpc()){ define('REVERSE_MAGIC_QUOTE',$func); function reverseMagicQuote_stripslashes_deep($value){ $value=is_array($value)? array_map(REVERSE_MAGIC_QUOTE,$value): stripslashes($value); return $value; } $_POST=array_map($func,$_POST); $_GET=array_map($func,$_GET); $_COOKIE=array_map($func,$_COOKIE); $_REQUEST=array_map($func,$_REQUEST); } } } ==================================================================================== Warning: Trying to access array offset on value of type null in /home/auser/www/html/testing-center/f-data/test1053/LKBDX-223J/iine/codegen/mod/btpl/CMPage.class.php on line 74 ------------------------------------------------------------------------------------ iine/codegen/mod/btpl/CMPage.class.php on line 74 ------------------------------------------------------------------------------------ CApp::set( "page-title", $this->item['title'] ); ------------------------------------------------------------------------------------ if($this->item){ CApp::set( "page-title", $this->item['title'] ); } ====================================================================================