bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Install error

(3 posts)
  • Started 3 months ago by Pony Girl
  • Latest reply from _ck_
  • This topic is not resolved
  1. Anonymous
    Unregistered

    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?

    Posted 3 months ago #
  2. 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?

    Posted 3 months ago #
  3. 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.

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.