WordPress.org

Ready to get started?Download WordPress

Forums

WP-DBManager
[resolved] Plugin could not be activated because it triggered a fatal error... (4 posts)

  1. PositiveClicks
    Member
    Posted 4 months ago #

    Hello,

    I am on a v3.9 WordPress website with PHP v5.3.3 and MYSQL v5.1.73

    Trying to activate (install) WP-DBManager
    and the message appears:

    Plugin could not be activated because it triggered a fatal error.

    Any ideas?

    Thank you in advance

    https://wordpress.org/plugins/wp-dbmanager/

  2. Lester Chan
    Member
    Plugin Author

    Posted 4 months ago #

    Sorry, I can't reproduce this problem on my end. I tried a fresh copy of the plugin and activated fine.

    You might want to try http://wordpress.org/plugins/debug-plugin-activation-errors/ to see what the actual error was.

    Also ensure that your PHP Notices are turned off http://stackoverflow.com/questions/2867057/how-do-i-turn-off-php-notices

  3. PositiveClicks
    Member
    Posted 4 months ago #

    Hello again,

    It seems that the conflict is with suhosin.

    I use zpanel and there is a line in VHOST configuration file (httpd-vhosts.conf) of each domain:

    php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"

    Suhosin uses this to disable some php functions.

    So i just commented the line and WP-dbmanager installed and worked OK...

    Do you have any idea how to fix this without commenting this line? or just delete a part of it and not all of it? Which function from the above is the problem?

    Thank you in advance...

  4. PositiveClicks
    Member
    Posted 4 months ago #

    Update:

    I had issues with WP-DBManager and WP-ServerInfo plugins

    Edited:

    /etc/zpanel/configs/apache/httpd-vhosts.conf

    and deleted passthru, exec, system from line:

    php_admin_value suhosin.executor.func.blacklist "passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec"

    and now they both work OK ...

Reply

You must log in to post.

About this Plugin

About this Topic