HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

2021.025 FIX Uncaught Error: Call to undefined function fnmatch()

fnmatch

Warning: For now, this function is not available on non-POSIX compliant systems except Windows.


Maybe you need to add this in the file library/core/functions.general.php

if(!function_exists('fnmatch')) {

    function fnmatch($pattern, $string) {
        return preg_match("#^".strtr(preg_quote($pattern, '#'), array('\*' => '.*', '\?' => '.'))."$#i", $string);
    } // end

} // end if


Comments

  • Options

    update from 012, should exec sqls

    ALTER TABLE `GDN_ConversationMessage` CHANGE `Body` `Body` MEDIUMINT NOT NULL;
    
    ALTER TABLE `GDN_User` ADD INDEX `IX_User_Deleted` (`Deleted`);
    
    ALTER TABLE `GDN_ActivityComment` CHANGE `Body` `Body` MEDIUMINT NOT NULL;
    
    
    ALTER TABLE `GDN_Ban` CHANGE `BanType` `BanType` ENUM('IPAddress','Name','Email','Fingerprint') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'IPAddress';
    
    
    
    ALTER TABLE `GDN_Discussion` ADD `statusID` INT(11) NULL DEFAULT NULL AFTER `RegardingID`;
    
    ALTER TABLE `GDN_Discussion` CHANGE `statusID` `statusID` INT(11) NULL DEFAULT '0';
    
    ALTER TABLE `GDN_Discussion` ADD INDEX `IX_Discussrion_statusID` (`statusID`);
    
    ALTER TABLE `GDN_TagDiscussion` ADD INDEX `IX_TagDiscussion_DiscussionID` (`DiscussionID`);
    
    
Sign In or Register to comment.