Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

It doesn't wort with Vanilla 2.5

edited February 2018 in Vanilla 2.0 - 2.8

Hi!

When I try to enable this plugin in Vanilla 2.5 I get an error in php log:
2018/02/07 19:57:57 [error] 9661#9661: *1708652 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function ip_in_range() in /var/www/mydomen.com/www/forum/plugins/CloudflareSupport/class.cloudflaresupport.plugin.php:74
Stack trace:
0 /var/www/mydomen.com/www/forum/vendor/vanilla/garden-container/src/Container.php(546): CloudflareSupportPlugin->__construct()
1 /var/www/mydomen.com/www/forum/vendor/vanilla/garden-container/src/Container.php(695): Garden\Container\Container->createSharedInstance('CloudflareSuppo...', Array, Array)

Please fix it.

Comments

  • @Ivan_Gurin said:
    Hi!

    When I try to enable this plugin in Vanilla 2.5 I get an error in php log:
    2018/02/07 19:57:57 [error] 9661#9661: *1708652 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function ip_in_range() in /var/www/mydomen.com/www/forum/plugins/CloudflareSupport/class.cloudflaresupport.plugin.php:74
    Stack trace:
    0 /var/www/mydomen.com/www/forum/vendor/vanilla/garden-container/src/Container.php(546): CloudflareSupportPlugin->__construct()
    1 /var/www/mydomen.com/www/forum/vendor/vanilla/garden-container/src/Container.php(695): Garden\Container\Container->createSharedInstance('CloudflareSuppo...', Array, Array)

    Please fix it.

    see if the one on github works -

    https://github.com/vanilla/addons/tree/master/plugins/CloudflareSupport

    if not file issue.

    Pragmatism is all I have to offer. Avoiding the sidelines and providing centerline pro-tips.

  • edited February 2018

    Yes, it works if additionally add function ip_in_range() from https://github.com/cloudflare/CloudFlare-Tools/blob/master/cf-joomla/plgCloudFlare/ip_in_range.php

    Why this function doesn't present in addon by default?

Sign In or Register to comment.