• Resolved baltenweck

    (@baltenweck)


    Hello Mathias,

    I get this Message when I try to activate Paymill.

    Das Plugin kann nicht aktiviert werden, da es einen fatalen Fehler erzeugt.

    nothing more.

    WordPress version is 4.0
    Woocommerce version is 2.2.8
    Paymill version is 1.8.0

    1/ I tried including a parse error and there was an error in so my log is correct
    2/ I tried without any plugin and basic theme -> same error
    3/ I tried a new installation with only Woocommerce and minimal configuration -> same error

    I really want to use this Paymill plugin. How can I further analyse the problem?

    Thanks

    https://ww.wp.xz.cn/plugins/paymill/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author straightvisions GmbH

    (@matthias-reuter)

    Hi,

    could you provide me the actual content of that fatal error? You’ll see details in your PHP error log file.

    Kind regards,

    Matthias

    Thread Starter baltenweck

    (@baltenweck)

    The problem is that I have no content for the fatal error

    here is the actual error

    here is when I provoke an error

    I tried with multisite disabled and no luck either.

    Thanks for the quick answer,
    Aymeric

    Plugin Author straightvisions GmbH

    (@matthias-reuter)

    Could you try to rename wp-content/plugins/paymill/lib/debug/PHP_errors.log.rename to PHP_errors.log and give it 777 CHMOD rights? The error should be saved in that file.

    Thread Starter baltenweck

    (@baltenweck)

    Here is the result.

    root@wpprod:/var/www/wp-content/plugins/paymill/lib/debug# tail PHP_errors.log
    Stack trace:
    #0 /var/www/wp-content/plugins/paymill/lib/loader.inc.php(53): require_once()
    #1 /var/www/wp-content/plugins/paymill/paymill.php(66): paymill_loader->__construct()
    #2 /var/www/wp-content/plugins/paymill/lib/setup.inc.php(138): load_paymill()
    #3 /var/www/wp-content/plugins/paymill/lib/setup.inc.php(200): paymill_install()
    #4 /var/www/wp-content/plugins/paymill/paymill.php(84): require_once('/var/www/wp-con...')
    #5 /var/www/wp-admin/plugins.php(151): include('/var/www/wp-con...')
    #6 /var/www/wp-admin/plugins.php(153): plugin_sandbox_scrape('paymill/paymill...')
    #7 {main}
      thrown in /var/www/wp-content/plugins/paymill/lib/api/lib/Paymill/API/Curl.php on line 22
    Plugin Author straightvisions GmbH

    (@matthias-reuter)

    Could you check wether curl is installed in your webspace?

    Thread Starter baltenweck

    (@baltenweck)

    curl isn’t installed,
    that’s a new debian server (VM) with the only extras: ssh, apache2, mysql, php und wordpress.

    Is curl required?

    Plugin Author straightvisions GmbH

    (@matthias-reuter)

    Thread Starter baltenweck

    (@baltenweck)

    Hi Matthias,

    Many thanks for your help. I have missed the Curl-php extension.

    It works.

    Regards

    Hi Matthias,
    I hope it is OK if I tag on, I have the same error but cURL ist installed. This is from the logfile:

    [07-Nov-2014 12:29:29] PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /kunden/domain.de/domain/dev2/wordpress/wp-content/plugins/paymill/lib/loader.inc.php on line 4
    [07-Nov-2014 12:29:33] PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /kunden/domain.de/domain/dev2/wordpress/wp-content/plugins/paymill/lib/loader.inc.php on line 4

    This is a clean install of WordPress 4.0 and WooCommerce 2.2.8 running on Apache 2.2.22, PHP 5.2.17 and MySQL 5.6.19.

    Thanks
    Hendrik

    Plugin Author straightvisions GmbH

    (@matthias-reuter)

    Hi Hendrik,

    your error is a different one and it’s easy to fix: Please upgrade to PHP 5.3 or higher.

    Kind regards,

    Matthias

    Hi Matthias,
    thanks, even while writing it down I didn’t realize how old that php version was. Thanks for the heads up!
    Hendrik

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

The topic ‘can't activate plugin and no error’ is closed to new replies.