File List

Fatal error


Fatal error: Cannot redeclare hex2bin() in [DocumentRoot]/pukiwiki/lib/func.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/lib/func.php

該当箇所をコメントアウトする

  • 関数:---
    -// Inversion of bin2hex()
    -function hex2bin($hex_string)
    -{
    -    // preg_match : Avoid warning : pack(): Type H: illegal hex digit ...
    -    // (string)   : Always treat as string (not int etc). See BugTrack2/31
    -    return preg_match('/^[0-9a-f]+$/i', $hex_string) ?
    -        pack('H*', (string)$hex_string) : $hex_string;
    -}
    _/_/_/_/_/
    +// Inversion of bin2hex()
    +/*
    +function hex2bin($hex_string)
    +{
    +    // preg_match : Avoid warning : pack(): Type H: illegal hex digit ...
    +    // (string)   : Always treat as string (not int etc). See BugTrack2/31
    +    return preg_match('/^[0-9a-f]+$/i', $hex_string) ?
    +        pack('H*', (string)$hex_string) : $hex_string;
    +}
    +*/





Fatal error: Call-time pass-by-reference has been removed in [DocumentRoot]/pukiwiki/plugin/ls2.inc.php on line "xxx"

# vi [DocumentRoot]/pukiwiki/plugin/ls2.inc.php
  • 関数:plugin_ls2_convert()
    -    array_walk($args, 'plugin_ls2_check_arg', & $params);
    _/_/_/_/_/
    +    array_walk($args, 'plugin_ls2_check_arg', $params);