Skip to:
Content
Pages
Categories
Search
Top
Bottom

Install error


  • 807230
    Inactive

    Fatal error: Call to undefined function: hash_hmac() in /mnt/w0205/d37/s17/b02ae5ed/www/horsepages.ca/bbpress/bb-includes/pluggable.php 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
    Participant

    @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 0.9.0.2 release? Are you certain all the files were uploaded properly?


    _ck_
    Participant

    @_ck_

    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