================================================================================ Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/auser/www/html/testing-center/f-data/test1129/NFSRL-221/ais/admin/mod/dtable/CDTable.class.php on line 276 -------------------------------------------------------------------------------- BEFORE $dsv = explode(":",$sort_val); -------------------------------------------------------------------------------- AFTER $dsv = $sort_val?explode(":",$sort_val):array("",""); ================================================================================ Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/auser/www/html/testing-center/f-data/test1129/NFSRL-221/ais/admin/mod/base/CObject.class.php on line 13 -------------------------------------------------------------------------------- BEFORE return htmlspecialchars($s); -------------------------------------------------------------------------------- AFTER return $s?htmlspecialchars($s):""; -------------------------------------------------------------------------------- 厳密には以下が正しいが... return !is_null($s)?htmlspecialchars($s):""; 整数の0を表示するケースがないので直さなくても問題ない。 ================================================================================ web/install/mode/setup/CConfigDbFile.class.php -------------------------------------------------------------------------------- BEFORE public static function save( $px ) { $sx = array(); $sx[] = ""; $txt = implode("\r\n",$sx); $path = self::pathFile(); file_put_contents($path,$txt); } -------------------------------------------------------------------------------- AFTER public static function save( $px ) { $sx = array(); $sx[] = ""; $txt = implode("\r\n",$sx); $path = self::pathFile(); file_put_contents($path,$txt); } ================================================================================ This is MSAIX-221J version only (2024-03-09) -------------------------------------------------------------------------------- Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/auser/www/html/testing-center/f-data/test1131/MSAIX-221J/ais/lib/sys/CPreProc.class.php:39 Stack trace: #0 /home/auser/www/html/testing-center/f-data/test1131/MSAIX-221J/ais/lib/sys/index.inc.php(26): CPreProc::reverseMagicQuote() #1 /home/auser/www/html/testing-center/f-data/test1131/MSAIX-221J/ais/install/startup.inc.php(12): include_once('...') #2 /home/auser/www/html/testing-center/f-data/test1131/MSAIX-221J/ais/install/index.php(11): include_once('...') #3 {main} thrown in /home/auser/www/html/testing-center/f-data/test1131/MSAIX-221J/ais/lib/sys/CPreProc.class.php on line 39 -------------------------------------------------------------------------------- BEFORE 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 ); } } -------------------------------------------------------------------------------- AFTER public static function reverseMagicQuote() { $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 ); } } ================================================================================