Installed, and upon trying to update/install the database, I get this error
The last update process reported a problem: Warning; unable to update the Maxmind mmdb data file:
File upload (CURL) error: Could not resolve host: geolite.maxmind.com for https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz (HTTP status 0)
If a previously installed valid Maxmind look-up file exists then it will continue to be used. See CCA “Country” or Country Caching “Support” tabs for more information.”
Any ideas?
]]>Hi,
I am using wp rocket plugin cache my website .
Can I use your plugin to show ads by country?
Hi, after updating the plugin i’ve received this email, but maxmind database have been updated ok, (at least data file is modified):
Warning; unable to update the Maxmind mmdb data file:<br>Error uncompressing tar.gz: phar “/httpdocs/foro-psicologia/wp-content/cca_maxmind_data/GeoLite2-Country.tar” exists and must be unlinked prior to conversion<br>If a previously installed valid Maxmind look-up file exists then it will continue to be used. See CCA “Country” or Country Caching “Support” tabs for more information.<br>Email sent by the CCA or Country Caching plugin Sat, 07 Jul 2018 19:12:22 +0000
]]>Hi there.
I love the simplicity of this plugin. It works great for what I need, which is to display Cookie Notice, but only to EU visitors.
However, either this plugin or Cookie Notice seems to be affecting how Google Analytics is recognizing visitors.
For instance, organic traffic which previously showed up in Google Analytics as:
google / organic
… after using these two plugins, now shows up as:
(direct) / (none)
This seems to be occurring in countries where the Cookie Notice code does show, and also where it does not show.
Any idea what’s happening?
]]>v1.2.2 -> introduces a failure case (WP_CACHE==true)
In a staging environment, I am testing both cookie_notice and category_country_aware
WP_CACHE true, using varnish like facility,
but not using WordPress plugin type cache (comet, supercache, etc.)
Cloudflare enabled, cloudflare geolocation enabled
Cookie_notice enable, cookie_reloaded flag = true
***the cn_reloaded=1 flag is used for improved accuracy of Google Analytics for EU/EEA case of initial request not handled***
v1.2.1, functionality OK:
Within USA, using a Chrome / and/or Safari
always cleared cache/cookies, (incl iOS and Android):
– no cookie notice -> OK
– Google Analytics records the request -> OK
– org. URL is retained, no cn_reloaded=1 ->
Using a VPN (connected to EU/EEA country), cleared cache/cookies, Chrome and/or Safari browser
– cookie notice appears -> OK
– upon acceptance (or scroll), notice disappears, URL is rewritten w/ cn_reloaded=1
– ***this permits Google Analytics to record the initial request (in effect)
– subsequent requests do not have cn_reloaded URL param (Google Analytics OK)
v1.2.2, functionality not OK:
Within USA, using a Chrome / and/or Safari (incl iOS and Android):
always cleared cache/cookies, (incl iOS and Android):
– no cookie notice -> OK
– Google Analytics records the request
– URL is rewritten w/ cn_reloaded=1
– Google Analytics records the subsequent request
Using a VPN (connected to EU/EEA country), cleared cache/cookies, Chrome and/or Safari browser
always cleared cache/cookies, (incl iOS and Android):
– cookie notice appears -> OK
– upon acceptance (or scroll), notice disappears, URL is rewritten w/ cn_reloaded=1
– ***this permits Google Analytics to record the initial request (in effect)
I installed this plugin on my site in order to only serve the Cookie Notice box to EU visitors. I added the US to the list to test it (I am in the US), and everything worked fine, box popped up, etc. However, after I removed “US” and then tried to access the site (from the US), the site keeps trying to refresh and is not accessible at all. In other words, for countries excluded from seeing the notice, the site is not available.
What could be causing this? I tried to purge cache from my browser and also cloudflare after installing the plugins and it did not seem to fix the issue. I have restored the site to a backup point so that it is not down but I need to get this up and running.
Thanks!
]]>I installed the plugin, then went to the settings and checked:
Initialize GeoIP checking this will do the initial install of Country/IP look up files from Maxmind (it takes < 1 second).
along with checking
Update data files now, and add to WP scheduler for auto update every 3 weeks
and saved
Then I checked: Check this box to set Cookie Notice to only display its cookie bar for these countries and this error is occurring
Warning: stristr():Empty needle in wp-content/plugins/category-country-aware/cca_textwidget.php on line 400
this code: $cca_ISOcode = CCAgeoip::do_lookup(‘ccode’); seems to be returning an empty string.
Thanks for the help.
Ryan
]]>Hello, I was wondering if it is possible to hide/show entire posts from countries?
]]>Got an error in Settings > Category Country Aware goodies > Countries
Error Maxmind IPv4 data file has NOT been updated: Failed to fopen sitename/wp-content/plugins/category-country-aware/maxmind/GeoIP.dat.gz for writing: 2 | fopen(/sitename/wp-content/plugins/category-country-aware/maxmind/GeoIP.dat.gz): failed to open stream: Permission denied | /sitename/wp-content/plugins/category-country-aware/inc/update_maxmind.php | 132 Error Maxmind IPv6 data file has NOT been updated: Failed to fopen /sitename/wp-content/plugins/category-country-aware/maxmind/GeoIPv6.dat.gz for writing: 2 | fopen(/sitename/wp-content/plugins/category-country-aware/maxmind/GeoIPv6.dat.gz): failed to open stream: Permission denied | /sitename/wp-content/plugins/category-country-aware/inc/update_maxmind.php | 132
After this i temporarily set the permissions of the plugins to 777. Still i get the error message.
Am i missing something here?
https://www.ads-software.com/plugins/category-country-aware/
]]>