MyBB Community Forums

Full Version: Lack of access to acp after installation cloudflare
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello
I have a problem with the plugin cloudflare after installation, you can not get to acp.
http://community.mybb.com/mods.php?action=view&pid=651

[attachment=35856]
plugin coder had suggested this commit - check if it fixes referred issue
the addition of these fixes when you try to configure the plugin I have the next error

Fatal error: Call to undefined function cloudflare_is_installed() in /home/xxx/domains/xxx/public_html/admin/modules/cloudflare/module_meta.php on line 111
^ that looks strange. the function is defined in the plugin file ~/inc/plugins/cloudflare.php

would you like to PM me temporary access to forum admin panel & files (FTP) to check
you can give your own credentials and change them later
I sent pm to data access, website www.project-games.eu

Problem solved
Error stemmed from providing erroneous api account cloudflare
(2016-02-25, 01:20 PM)Szogi1910 Wrote: [ -> ]I sent pm to data access, website www.project-games.eu

Problem solved
Error stemmed from providing erroneous api account cloudflare

That was part of the issue. The real issue is that I've used $this (which is the current object in the main class that the plugin uses) and it should be changed to $cloudflare

So line 111 would change from:
$zone_id = $this->get_cloudflare_zone_id();
to:
$zone_id = $cloudflare->get_cloudflare_zone_id();


I'll fix and push a commit later today.