Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

problem after upgrade to 2.1.8p2 security update

hi,
i have been told to open a new topic to get the problem solved after the upgrade to 2.1.8p2.

i get

failure
the update was not successful

i have been told to paste the php error log, here is what is logged:

[16-Jan-2015 02:16:17 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:16:17 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:16:18 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:16:20 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:16:45 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:16:46 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:04 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:06 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:12 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:18 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:36 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:42 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1
[16-Jan-2015 02:17:45 UTC] PHP Fatal error:  Call to undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1

Comments

  • Please post the contents of /conf/config.php but remove sensitive information like database account information, salt, and other secrets.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • ChalipaChalipa New
    edited January 2015
    <?php if (!defined('APPLICATION')) exit();
    
    // Conversations
    $Configuration['Conversations']['Version'] = '2.1.6';
    
    // Database
    $Configuration['Database']['Name'] = '_ _';
    $Configuration['Database']['Host'] = 'localhost';
    $Configuration['Database']['User'] = '_ _';
    $Configuration['Database']['Password'] = '_ _';
    
    // EnabledApplications
    $Configuration['EnabledApplications']['Conversations'] = 'conversations';
    $Configuration['EnabledApplications']['Vanilla'] = 'vanilla';
    
    // EnabledPlugins
    $Configuration['EnabledPlugins']['HtmLawed'] = 'HtmLawed';
    $Configuration['EnabledPlugins']['timeago'] = TRUE;
    $Configuration['EnabledPlugins']['Facebook'] = TRUE;
    
    // Garden
    $Configuration['Garden']['Title'] = '_ _ Forum';
    $Configuration['Garden']['Cookie']['Salt'] = 'UOQCC4RMMY';
    $Configuration['Garden']['Cookie']['Domain'] = '';
    $Configuration['Garden']['Registration']['ConfirmEmail'] = '1';
    $Configuration['Garden']['Registration']['ApplicantRoleID'] = 0;
    $Configuration['Garden']['Registration']['DefaultRoles'] = array('2');
    $Configuration['Garden']['Registration']['ConfirmEmailRole'] = '1';
    $Configuration['Garden']['Registration']['Method'] = 'Captcha';
    $Configuration['Garden']['Registration']['CaptchaPrivateKey'] = '_ _j';
    $Configuration['Garden']['Registration']['CaptchaPublicKey'] = '_ _';
    $Configuration['Garden']['Registration']['InviteExpiration'] = '-1 week';
    $Configuration['Garden']['Registration']['InviteRoles']['1'] = '0';
    $Configuration['Garden']['Registration']['SendConnectEmail'] = '1';
    $Configuration['Garden']['Email']['SupportName'] = '_ _ Forum';
    $Configuration['Garden']['Email']['SupportAddress'] = 'forum@_ _';
    $Configuration['Garden']['Email']['UseSmtp'] = '1';
    $Configuration['Garden']['Email']['SmtpHost'] = 'smtp.gmail.com';
    $Configuration['Garden']['Email']['SmtpUser'] = 'forum@_ _';
    $Configuration['Garden']['Email']['SmtpPassword'] = '_ _';
    $Configuration['Garden']['Email']['SmtpPort'] = '465';
    $Configuration['Garden']['Email']['SmtpSecurity'] = 'ssl';
    $Configuration['Garden']['InputFormatter'] = 'Html';
    $Configuration['Garden']['Version'] = '2.1.8p2';
    $Configuration['Garden']['RewriteUrls'] = TRUE;
    $Configuration['Garden']['Cdns']['Disable'] = FALSE;
    $Configuration['Garden']['CanProcessImages'] = TRUE;
    $Configuration['Garden']['Installed'] = TRUE;
    $Configuration['Garden']['InstallationID'] = '_ _';
    $Configuration['Garden']['InstallationSecret'] = '_ _';
    $Configuration['Garden']['HomepageTitle'] = '_ _';
    $Configuration['Garden']['Description'] = '';
    $Configuration['Garden']['Format']['Hashtags'] = FALSE;
    $Configuration['Garden']['Theme'] = 'bootstrap';
    $Configuration['Garden']['Messages']['Cache'] = array('[Base]');
    $Configuration['Garden']['ThemeOptions']['Name'] = 'Bootstrap';
    $Configuration['Garden']['ThemeOptions']['Styles']['Key'] = 'Cerulean';
    $Configuration['Garden']['ThemeOptions']['Styles']['Value'] = '%s_cerulean';
    $Configuration['Garden']['Html']['SafeStyles'] = TRUE;
    
    // Plugins
    $Configuration['Plugins']['GettingStarted']['Dashboard'] = '1';
    $Configuration['Plugins']['GettingStarted']['Categories'] = '1';
    $Configuration['Plugins']['GettingStarted']['Profile'] = '1';
    $Configuration['Plugins']['GettingStarted']['Registration'] = '1';
    $Configuration['Plugins']['GettingStarted']['Plugins'] = '1';
    $Configuration['Plugins']['GettingStarted']['Discussion'] = '1';
    $Configuration['Plugins']['StopForumSpam']['UserID'] = 2613;
    $Configuration['Plugins']['StopForumSpam']['IPThreshold1'] = '5';
    $Configuration['Plugins']['StopForumSpam']['EmailThreshold1'] = '20';
    $Configuration['Plugins']['StopForumSpam']['IPThreshold2'] = '20';
    $Configuration['Plugins']['StopForumSpam']['EmailThreshold2'] = '50';
    $Configuration['Plugins']['AddRegistrationQuestion']['SecretCode'] = '_ _';
    $Configuration['Plugins']['AddRegistrationQuestion']['Label'] = '_ _';
    $Configuration['Plugins']['Facebook']['ApplicationID'] = '_ _';
    $Configuration['Plugins']['Facebook']['Secret'] = '_ _';
    $Configuration['Plugins']['Facebook']['UseFacebookNames'] = '1';
    $Configuration['Plugins']['Facebook']['SocialReactions'] = '1';
    $Configuration['Plugins']['Facebook']['SocialSharing'] = '1';
    $Configuration['Plugins']['ReportSpam']['APIKey'] = '_ _';
    
    // Routes
    $Configuration['Routes']['DefaultController'] = array('discussions', 'Internal');
    
    // Vanilla
    $Configuration['Vanilla']['Version'] = '2.1.6';
    $Configuration['Vanilla']['AdminCheckboxes']['Use'] = TRUE;
    $Configuration['Vanilla']['Discussions']['Layout'] = 'modern';
    $Configuration['Vanilla']['Categories']['Layout'] = 'table';
    $Configuration['Vanilla']['Discussion']['SpamCount'] = '2';
    $Configuration['Vanilla']['Discussion']['SpamTime'] = '60';
    $Configuration['Vanilla']['Discussion']['SpamLock'] = '180';
    $Configuration['Vanilla']['Comment']['SpamCount'] = '3';
    $Configuration['Vanilla']['Comment']['SpamTime'] = '60';
    $Configuration['Vanilla']['Comment']['SpamLock'] = '180';
    $Configuration['Vanilla']['Comment']['MaxLength'] = '8000';
    
    // Last edited by Admin (_ _)2015-01-18 00:02:18
    
  • $Configuration['Garden']['RewriteUrls'] = TRUE;

    Please post the contents of the htaccess file...

  • You've posted your question on the 18th and the error log is from the 16th. From the error message undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1 I would suspect that the first line from config.php which should read <?php if (!defined('APPLICATION')) exit(); has for some reason been overwritten with rubbish and now reads like that: <?php if (!bfined('APPLICATION')) exit();, but you've posted your config.php and the first line is all right.

    Conclusion: the error log from the 16th has nothing to do with your current problem.

  • Sorry if I've missed something but could you please describe what exactly you have done (updated from which version by doing what) and what your problem is (blank screen, error messages, etc)?

  • @R_J said:
    You've posted your question on the 18th and the error log is from the 16th. From the error message undefined function bfined() in /home/forum2/public_html/main/conf/config.php on line 1 I would suspect that the first line from config.php which should read <?php if (!defined('APPLICATION')) exit(); has for some reason been overwritten with rubbish and now reads like that: <?php if (!bfined('APPLICATION')) exit();, but you've posted your config.php and the first line is all right.

    Conclusion: the error log from the 16th has nothing to do with your current problem.

    I concur.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.