Skip to:
Content
Pages
Categories
Search
Top
Bottom

support forum plugin fatal error


  • 12thharmonic
    Member

    @12thharmonic

    “Plugin could not be activated; it produced a Fatal Error.”

    I am running BBPress 0.8.3.1

    I have re downlodad the plugin in case of a bad copy. Still no joy.

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

  • chrishajer
    Participant

    @chrishajer

    Did you download the legacy 2.3 version for bbPress versions prior to .9, or are you trying to run v3?

    https://plugins-dev.bbpress.org/browser/support-forum/branches/2.3


    12thharmonic
    Member

    @12thharmonic

    I am running version 3. Should I go with the 2.3 then?


    Sam Bauers
    Participant

    @sambauers

    Yes, use the older one (2.3) for bbPress versions earlier than 0.9

    Functionally there is little difference and you can upgrade both bbPress and Support Forum together later on without loss of data.

    Thanks for pointing in the right direction chrishajer.


    12thharmonic
    Member

    @12thharmonic

    OK, Thanks for all that. The plugin now works!

    One issue remains.

    The image URI seems to be missing ‘my-plugins’ from the string.

    http://headonradionetwork.com/forum//support-forum-no.png

    I attempted to edit the plugin. Line 283

    $this->iconPath = str_replace(rtrim(BBPLUGINDIR, ‘/’), ”, dirname(__FILE__)) . ‘/’;

    adding ‘myplugins’

    like this:

    $this->iconPath = str_replace(rtrim(BBPLUGINDIR, ‘/my-plugins’), ”, dirname(__FILE__)) . ‘/’;

    gave me this:

    http://headonradionetwork.com/forum/um/my-plugins/support-forum-no.png

    I am bewildered by that one.

    I can cope till version 9 comes and I can upgrade to 3.0 of the plugin. The status text is there. Not earth shatteringly horrible. Not even public yet. But soon!

    Thanks for the help sambauers and chrishajer. Having been a WP person for a while now, BBPress follows in the great tradition. I knew this was the right way to go.


    Sam Bauers
    Participant

    @sambauers

    I can’t say for sure what is happening for you, but you can just define this constant in your config.php file and it should override that calculated path.

    define('SUPPORT_FORUM_ICON_URI', 'http://headonradionetwork.com/forum/my-plugins/');

    .

    This is not a hack, the plugin was built to allow overrides on that value because of circumstances like yours.


    Sam Bauers
    Participant

    @sambauers

    The new version of the plugin has a better way of calculating that value by the way.


    12thharmonic
    Member

    @12thharmonic

    Thank you very much. That worked a treat!

    Youse Kick Arse!

    ;)

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