• Resolved Dariusz

    (@idarek)


    Hello,
    After a long time of using Cloudflare, I would like to give a go with Hummingbird as well (for a second time due to previous issues). I have enabled everything as it shall be and go to connecting CloudFlare account in Caching sub-page but after that I still got information

    It appears you have no active zones available. Double check your domain has been added to Cloudflare and try again.

    Tried to reset Global API key, and use a new one, but still that same, any ideas?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @idarek,

    Does your website domain in Cloudflare match your current domain?

    Best regards,
    Anton

    Thread Starter Dariusz

    (@idarek)

    Yes, @vanyukov

    Also, tried to purche cache on cloudflare and do recheck, but nothing changed.

    Have a look as well on: Screenshot

    • This reply was modified 8 years, 6 months ago by Dariusz.

    @idarek,

    Please give us some time to debug the issue. I will get back to you in this thread once I have more info.

    Best regards,
    Anton

    Thread Starter Dariusz

    (@idarek)

    Ok, thank you.
    In meantime, just to let you know, that official CloudFlare plugin after logging in using email and API key showing correct Zone straight away in a top left corner in plugin settings.

    Thanks for the info!

    Hi @idarek,

    We found the issue. It will be fixed in the 1.7.1 update. If you want to make the fix yourself, you need to edit the file hummingbird-performance/admin/views/caching/browser-caching-configure-meta-box.php:
    After this (line number 376):
    <# var zone = false; #>
    Add:
    <# var current_host = location.host.indexOf('www.') && location.host || location.host.replace(/^www\./,''); #>
    And after (next line):
    <# for( var i = 0, len = data.zones.length; i < len; i++ ) { #>
    Exchange:
    <# if( data.zones[i].label === window.location.hostname ) { #>
    With:
    <# if( data.zones[i].label === current_host ) { #>
    So at the end you end up with the next block of code:

    <# var zone = false; #>
    <# var current_host = location.host.indexOf('www.') && location.host || location.host.replace(/^www\./,''); #>
    <# for( var i = 0, len = data.zones.length; i < len; i++ ) { #>
        <# if( data.zones[i].label === current_host ) { #>
            <# zone = true; #>
            <# break; #>
        <# } #>
    <# } #>

    Best regards,
    Anton

    Thread Starter Dariusz

    (@idarek)

    Sorted, thank you for your help.

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

The topic ‘CloudFlare integration’ is closed to new replies.