[Skip to main content](#vessel-content)

#   Bug found with geolocation plugin and possibly Gantry 5

##

- **[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")**
- [![simplecms's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32423-simplecms "View simplecms's Profile") Topic Author
- [ Offline](/forum/user/32423-simplecms)

Less More

- Posts: 86
- Thank you received: 11
-
-

8 years 11 months ago [\#282266](#282266) by [simplecms](/forum/user/32423-simplecms "View simplecms's Profile")  *[Bug found with geolocation plugin and possibly Gantry 5](/forum/2-general-talk-about-hikashop/892719-bug-found-with-geolocation-plugin-and-possibly-gantry-5#282266 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2  Just wanted to report a bug that Rockettheme found. Geolocation plugin is overriding the outline used to Default somehow regardless of what outline you have selected.  Thread:   www.rockettheme.com/forum/joomla-templat...d-in?start=0#1367927")* was created by *[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2

Just wanted to report a bug that Rockettheme found. Geolocation plugin is overriding the outline used to Default somehow regardless of what outline you have selected.

Thread: [ www.rockettheme.com/forum/joomla-templat...d-in?start=0#1367927](http://www.rockettheme.com/forum/joomla-template-versla/273200-acl-particle-weirdness-no-particles-on-outline-unless-signed-in?start=0#1367927)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjcxOS1idWctZm91bmQtd2l0aC1nZW9sb2NhdGlvbi1wbHVnaW4tYW5kLXBvc3NpYmx5LWdhbnRyeS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

8 years 11 months ago [\#282271](#282271) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bug found with geolocation plugin and possibly Gantry 5](/forum/2-general-talk-about-hikashop/892719-bug-found-with-geolocation-plugin-and-possibly-gantry-5#282271 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2  Just wanted to report a bug that Rockettheme found. Geolocation plugin is overriding the outline used to Default somehow regardless of what outline you have selected.  Thread:   www.rockettheme.com/forum/joomla-templat...d-in?start=0#1367927")*

Hi,

I'm sorry but I don't understand what you mean and the link you gave require a user account which we don't have so we can't look at it.
Could you provide more information please ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjcxOS1idWctZm91bmQtd2l0aC1nZW9sb2NhdGlvbi1wbHVnaW4tYW5kLXBvc3NpYmx5LWdhbnRyeS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")**
- [![simplecms's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32423-simplecms "View simplecms's Profile") Topic Author
- [ Offline](/forum/user/32423-simplecms)

Less More

- Posts: 86
- Thank you received: 11
-
-

8 years 11 months ago [\#282307](#282307) by [simplecms](/forum/user/32423-simplecms "View simplecms's Profile")  Replied by *[simplecms](/forum/user/32423-simplecms "View simplecms's Profile")* on topic *[Bug found with geolocation plugin and possibly Gantry 5](/forum/2-general-talk-about-hikashop/892719-bug-found-with-geolocation-plugin-and-possibly-gantry-5#282307 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2  Just wanted to report a bug that Rockettheme found. Geolocation plugin is overriding the outline used to Default somehow regardless of what outline you have selected.  Thread:   www.rockettheme.com/forum/joomla-templat...d-in?start=0#1367927")*

Gantry 5 particles were not displaying on the Home Outline unless the user was logged in. Disabling geolocation plugin fixed the problem. Here's Rockettheme's response:

The page was showing using the "default" outline rather than the "home" outline which is assigned to the "home" default menu item. So the incorrect outline was being used. As documented here [ docs.gantry.org/gantry5/troubleshooting/assignment-issues](http://docs.gantry.org/gantry5/troubleshooting/assignment-issues) when this happens it is always a badly written plugin causing this and you have to spend time finding the culprit. I have done this for you and the culprit is a plugin called "Hikashop geolocation plugin" - once I disabled that then everything works as it should. You need to report this to Hikashop.

I've left your site online and with that plugin disabled so you can see for yourself.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjcxOS1idWctZm91bmQtd2l0aC1nZW9sb2NhdGlvbi1wbHVnaW4tYW5kLXBvc3NpYmx5LWdhbnRyeS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

8 years 11 months ago [\#282332](#282332) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Bug found with geolocation plugin and possibly Gantry 5](/forum/2-general-talk-about-hikashop/892719-bug-found-with-geolocation-plugin-and-possibly-gantry-5#282332 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2  Just wanted to report a bug that Rockettheme found. Geolocation plugin is overriding the outline used to Default somehow regardless of what outline you have selected.  Thread:   www.rockettheme.com/forum/joomla-templat...d-in?start=0#1367927")*

> when this happens it is always a badly written plugin causing this

:lol: :woohoo:

Well, thanks for the "bug" report.
Too bad rockettheme didn't provide any precise information as to what is bad with the plugin...
The plugin works fine with all the other templates so hard to see what we should change.
We don't even know how their outline system works. We could say the same and that the problem must come from how they wrote their outline system...
We'll be happy to look into the issue if they can provide more precise information.

But all that "badly written" plugin is doing is to determine the user location and put a "zone id" and a "currency id" in the user session. It do not interact with other elements so...

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjcxOS1idWctZm91bmQtd2l0aC1nZW9sb2NhdGlvbi1wbHVnaW4tYW5kLXBvc3NpYmx5LWdhbnRyeS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

8 years 11 months ago [\#282415](#282415) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bug found with geolocation plugin and possibly Gantry 5](/forum/2-general-talk-about-hikashop/892719-bug-found-with-geolocation-plugin-and-possibly-gantry-5#282415 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2  Just wanted to report a bug that Rockettheme found. Geolocation plugin is overriding the outline used to Default somehow regardless of what outline you have selected.  Thread:   www.rockettheme.com/forum/joomla-templat...d-in?start=0#1367927")*

Hi,

We were able to reproduce a bug which looks similar to what you're describing on our end.
Our conclusion is this:
Something changed with Joomla 3.7 which creates an issue when you ask joomla for the current template when the routing of the SEF URL hasn't been done yet.
Apparently, this is linked to the new routing system added in Joomla.
We've added on our end for the next version of HikaShop some check to not ask Joomla the current template when the routing hasn't been done yet.
Also, in the geolocation plugin, there is an option "after initialize". If you change it, it should still work fine even without the patch we'll add in the next version.
So I would recommend to try that, and supposing that it is the same bug, it will fix the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg5MjcxOS1idWctZm91bmQtd2l0aC1nZW9sb2NhdGlvbi1wbHVnaW4tYW5kLXBvc3NpYmx5LWdhbnRyeS01P3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
