Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Pascal Casier

    (@casiepa)

    Hi AmiNimA,
    What PHP version are you running on ? Is it before 5.3 ?
    Pascal.

    Thread Starter Amin

    (@aminima)

    yep
    it’s 5.2.17
    should it be 5.3 and above?

    I called the support center of my webhosting service, they said it’s not possible to change PHP version in DirectAdmin account. 🙁

    Plugin Author Pascal Casier

    (@casiepa)

    Hi,
    I will release a new version of the plugin in 24 hours. That should also fix your issue.

    But please try to get php updated. It s always better to have a recent version.

    Pascal.

    Plugin Author Pascal Casier

    (@casiepa)

    Hi AmiNimA,
    Version 1.0.2 should work on your PHP version now.
    Pascal.

    Thread Starter Amin

    (@aminima)

    Thank you for your support, but now:

    Parse error: syntax error, unexpected T_FUNCTION in ***/wp-content/plugins/bbp-toolkit/bbp-toolkit.php on line 650

    Hey bro, don’t bother yourself. we should change webhosting company. php 5.2! God!!!

    Plugin Author Pascal Casier

    (@casiepa)

    yep, another one hiding there that I didn’t see 🙁
    I fixed it now, will be correct in v1.0.3 (coming in some hours or days depending on how much time I have).

    If you want to change the code yourself, edit bbp-toolkit.php and change the following lines between the end of function bbptoolkit_admin_header and the beginning of function bbptoolkit_basic_sysinfo :

    function bbptoolkit_admin_header() {
    	wp_enqueue_script('bbptoolkitadminjs', plugin_dir_url( __FILE__ ).'js/bbptoolkit-config.js');
    
    }
    
    function bbptoolkit_add_admin_menu() {
    	$confHook = add_management_page('bbP Toolkit', 'bbP Toolkit', 'edit_posts', 'forums_toolkit', 'forums_toolkit_page');
    	add_action("admin_head-$confHook", 'bbptoolkit_admin_header');
    
    }
    add_action('admin_menu', 'bbptoolkit_add_admin_menu');
    
    function bbptoolkit_basic_sysinfo() {

    Sorry for this mess,
    Pascal.

    Thread Starter Amin

    (@aminima)

    changing those lines fixed the problem. Thank you so much.

    Plugin Author Pascal Casier

    (@casiepa)

    OK, enjoy the plugin.

    For your PHP :
    5.2.17 – Released: 06 January 2011

    Only one advice: Upgrade or change provider !

    Pascal.

    Thread Starter Amin

    (@aminima)

    yep, changing provider is on the top of the list.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘error in activating’ is closed to new replies.