a bug in the Hikashop Geolocation Plugin

  • Posts: 49
  • Thank you received: 0
8 years 3 months ago #224037

-- url of the page with the problem -- : market.zaihaiwai.net
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5.9
-- Browser(s) name and version -- : chrome 47
-- Error-message(debug-mod must be tuned on) -- : a bug in the Hikashop Geolocation Plugin

the main site(zaihaiwai.net) is using template A, and the part, market.zaihaiwai.net is using template B , however,If the Set currency in the Hikashop Geolocation Plugin enabled, every fist time the market. zaihaiwai.net was opened , the template A was loaded. Then the page was refreshed or opened again, it will runs correctly with template B loaded.
disable the Set currency in the Hikashop Geolocation Plugin, all runs well again.

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
8 years 3 months ago #224039

Hi,

Please provide details about your geolocation plugin configuration.

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
8 years 3 months ago #224087



If the "Set currency" set "yes", the problem which i said before will happen.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
8 years 3 months ago #224104

Hi,

The only thing that setting does is that it initialize the HikaShop library and set the current currency based on the IP address of the customer.
It doesn't touch at anything relative to the template used.
So I guess that the problem is with the way the template switching is done based on the domain name used to access the website.
I think the best would be to contact the developer of the extension you're using to do that switch. Normally, having HikaShop loaded or not shouldn't make a difference for it.

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
8 years 3 months ago #224211

Hi,nicolas

the subdomain name, market.zaihaiwai.net is only a URL redirection to zaihaiwai.net/index.php/market-home(there is no any components or plugin doing the template switching), the section of market was using template B. there are also a few section in the same website with different templates, however, they are all run well. Only the market section with the "Set currency" enabled would have the issue.
Please help me find what cause this problem
thank you~

Please Log in or Create an account to join the conversation.

  • Posts: 49
  • Thank you received: 0
8 years 3 months ago #224450

I forgot an important part.
the URL redirection is not via the domain management, but a component which named virtual domains.
I think the problem may be caused by the conflict from Hikashop Geolocation Plugin and virtual domains

File Attachment:

File Name: pkg_virtua...r204.zip
File Size:123 KB


can you fInd what cause the conflict ?
thank you~

Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum