• Resolved George

    (@quantum_leap)


    It’s been going on for a long while now and i had no response from the developers. I have set my CloudFlare Domain Name and CloudFlare API Key but when I set my CloudFlare API Email and click Update options the CloudFlare API Email field gets blank. Under the CloudFlare Domain Name field I get confirmation that my domain has been verified. Also at the bottom of the CloudFlare API Key and CloudFlare API Email fields I get confirmations that my key has been verified!

    At the top of the screen I get these notifications:

    Plugin Status: True visitor IP is being restored

    Options Saved

    Enter your CloudFlare domain name, e-mail address and API key below

    Plugin Status: CloudFlare will NOT be notified when you mark comments as spam, enter your API details below

    As a result I cannot activate Development Mode.

    What is going on with this thing?!

    https://wordpress.org/plugins/cloudflare/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    What version of the plugin are your running?

    Thanks,
    John

    Thread Starter George

    (@quantum_leap)

    Latest 1.3.24 version.

    Are there any errors in the php error log?

    Thread Starter George

    (@quantum_leap)

    Some notices that are not related with the plugin:

    [28-Jun-2016 22:52:41 UTC] PHP Notice:  register_sidebar was called <strong>incorrectly</strong>. No <code>id</code> was set in the arguments array for the "Sidebar 1" sidebar. Defaulting to "sidebar-1". Manually set the <code>id</code> to "sidebar-1" to silence this notice and keep existing sidebar content. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.2.0.) in siteroot\wp-includes\functions.php on line 3897
    
    [28-Jun-2016 22:52:41 UTC] PHP Notice:  The called constructor method for WP_Widget in wp_my_plugin is <strong>deprecated</strong> since version 4.3.0! Use <pre>__construct()</pre> instead. in siteroot\wp-includes\functions.php on line 3718
    
    [28-Jun-2016 22:52:43 UTC] PHP Notice:  register_sidebar was called <strong>incorrectly</strong>. No <code>id</code> was set in the arguments array for the "Sidebar 1" sidebar. Defaulting to "sidebar-1". Manually set the <code>id</code> to "sidebar-1" to silence this notice and keep existing sidebar content. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.2.0.) in siteroot\wp-includes\functions.php on line 3897

    It’s happening to all my sites, local installs too.

    Its possible those errors are the root cause of your issue. If you fix them it will be easier to determine whether or not this is a CloudFlare issue.

    If you log into CloudFlare.com do you see the settings as you expect even if the plugin isn’t displaying them correctly?

    Thread Starter George

    (@quantum_leap)

    Hmmm, I don’t think so, it happens to all my sites, you see. In one of my live sites I get a few messages as described in my first post, the email address does not get saved, when saving the page and also the development mode status is not saved either(it doesn’ matter if I select On or Off, after save none is selected).

    On another site I get an error at the top:
    Warning: Problem with the SSL CA cert (path? access rights?) in /siteroot/wp-content/plugins/cloudflare/cloudflare.php on line 406

    and further down
    Unable to get current development mode status - Problem with the SSL CA cert (path? access rights?)

    Development mode is not saved here either but email gets saved in the email field!

    I have just installed the plugin in a fresh WP install locally, no other plugin installed, using a default theme. Same problem like the first case!

    It can’t be just me, can it??

    On Cloudflare.com everything looks fine.

    Warning: Problem with the SSL CA cert (path? access rights?) in /siteroot/wp-content/plugins/cloudflare/cloudflare.php on line 406

    The error is due to corrupt or missing SSL chain certificate files in the PKI directory.

    I’m not sure exactly what is wrong but its a server configuration issue and not an issue with the plugin itself. You can try something like this:
    http://blog.unixy.net/2013/08/curl-77-problem-with-the-ssl-ca-cert-path-access-rights-resolved/

    Thanks,
    John

    The CloudFlare API calls happen over HTTPS and those calls are failing because your server can’t verify the authenticity of the certificates.

    Thread Starter George

    (@quantum_leap)

    Ok, does that mean that I need to be running an SSL certificate on my server myself?

    No but the SSL configuration on that server appears to be broken.

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

The topic ‘CloudFlare API Email not saved / Cannot activate development mode’ is closed to new replies.