How can we help?
If you are looking for support for our PokaTheme, this is the place!
Home › Forums › PokaTheme support › Wrong location with WP Rocket
Tagged: failed installation
- This topic has 9 replies, 6 voices, and was last updated 1 week ago by
clickingmedia.
-
AuthorPosts
-
January 30, 2023 at 2:59 pm #17575
elix4r
ParticipantHey there!
I am using latest version of PokaTheme and it seems like there is some kind of trouble when you use Geo Location and WP Rocket caching plugin altogether.
Geo location plugin show an incorrect location – so for example if I am residing in Latvia, the plugin show that I’m resident of USA.
I’ve tried to clear cache in WP Rocket plugin itself, and in GEO plugin as well. Also I’ve tried to check my site using Chrome, Opera browsers and in incognito mode. The issue still exists.
I would appreciate any help with this.
Thank you in advance.
January 31, 2023 at 8:06 am #17577C
ParticipantFollowing this thread.
February 2, 2023 at 10:12 am #17589elix4r
ParticipantI’ve got in touch with WP Rocket and their response was;
Rosa from WP Rocket here. Thanks for contacting us!
I have checked your website
I can notice what you mention. This usually happens when the plugin uses PHP to do the geolocation and when WP Rocket is activated the cache system starts working, so, if the page is cached, the PHP will never be executed.This is how caching works, avoiding PHP execution to reduce the loading time. This is the normal way WP Rocket (And other caching plugins) works.
Explaining a bit more, the PHP code will run only once (for the first visitor), and for the upcoming visitors will appear the cache version with the flag of the previous visitor.
To solve it, you can:
Using Geolocation/Geotargeting plugins with WP Rocket – poka’s geolocation plugin is not compatible with WP Rocket, but you can switch to a compatible one.
Disable page cache and keep optimizations globally on your site.
Disable the page cache feature in the affected pages.Please keep in mind when you disable the cache feature, the performance of your website will be affected.
If your geolocation feature is using cookies then you might want to try the alternate method below:
Create Different Cache Files with Dynamic and Mandatory CookiesLet me know if you need any further assistance, I am happy to help.😊
Best Regards,I have disabled caching and it seems like GEO location is now shown correctly.
February 2, 2023 at 11:04 am #17591admin
KeymasterHello,
There is a conflict between GEOLocation and cache plugins, we have added in our task list to prepare a fix fir this in the next version release of the GEOLocation plugin and of PokaTheme4 (which has the GEOLocation feature built-in).
Our suggestion for now is to disable caching or (as mentioned by the WP Rocket team) disable the page cache feature in the affected pages.
March 6, 2023 at 4:14 pm #17666clickingmedia
ParticipantHello PokaTheme developers,
I’m facing the same Geolocation issue with Cloudflare APO and cache.
I hope you find a solution soon 🙂Thank you for your support and amazing theme,
Jaume S.
March 8, 2023 at 9:08 am #17668mavenad
ParticipantHello I just purchased and downloaded the theme and when attempting to install it it says “installation failed no style.css file found”
March 10, 2023 at 10:54 am #17672admin
KeymasterHello,
We are still working on it and I believe we will be able to deliver the next theme version which will include a fix for this. Thank you!
March 10, 2023 at 10:56 am #17673admin
KeymasterHello mavenad,
You are trying to install the wrong ZIP.
First, you need to unzip the ZIP you downloaded. Then, you should install “pokatheme.zip”.
Check our documentation as well: https://pokatheme.com/pokatheme-documentation/
March 17, 2023 at 12:19 pm #17686JT
ParticipantSame conflict with LiteSpeed Cache, GEO is cached and only the location where it was generated is shown.
March 17, 2023 at 4:29 pm #17687clickingmedia
ParticipantHello admin,
Do you have any deadline for the new theme version with the GEO cache fix?
Meanwhile, I’ve disabled the GEO location feature because the website load was slower without a cache.Thank you,
Jaume S,
-
AuthorPosts
- You must be logged in to reply to this topic.