Skip to:

Install error

  • 807230

    Fatal error: Call to undefined function: hash_hmac() in /mnt/w0205/d37/s17/b02ae5ed/www/ on line 341

    Help don’t know what to do with this…

    Is this because I set-up a separate database for bbpress?

    If so how do I change the database settings?

Viewing 2 replies - 1 through 2 (of 2 total)

  • chrishajer


    I’m not really sure why, but I can guess. Do you have a file in bb-includes called compat.php? /bb-includes/compat.php

    In that file, line 10 says “if this function does not exist, create it.” That PHP function is available in newer PHP versions only (greater than or equal to 5.1.2). So, for compatibility, if the function is not available on your server, bbPress creates it in compat.php.

    Do you have that file, and does line 10 look like this?

    if ( ! function_exists('hash_hmac') ):

    What bbPress version did you install, if it’s not the latest release? Are you certain all the files were uploaded properly?



    There is a slight second possibility.

    Their PHP may actually have that function, but it’s disabled.

    Since the bbPress fallback function only checks if it exists (and it does) it never gets defined. But it’s disabled.

    However your questions need answering too, what version, properly uploaded, etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar