Updating to 4.6.2 causes page to change

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 6 months ago #345653

-- url of the page with the problem -- : tasteofport.dk/
-- HikaShop version -- : 4.6.2
-- Joomla version -- : 3.10.11
-- PHP version -- : 7.4

Hi

I have just updated to 4.6.2 and now my frontpage has changed looks.
If I go to the shop and then back to the frontpage the page is ok again.
But this happens on each session ...

If I downgrade the shop to 4.5 this issue isn't there.

It seems like it causes the page to not use the template set for the frontpage.

Any idea why this is?

Regards
Thomas

Last edit: 2 years 6 months ago by Thrane.

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

  • Posts: 83605
  • Thank you received: 13538
  • MODERATOR
2 years 6 months ago #345656

Hi,

I'm not sure. We'll have to investigate. It seems to be linked to using several styles for the same template and joomla not being able to choose the correct one in some cases.
Could you provide a FTP access to do some debugging ?

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

  • Posts: 83605
  • Thank you received: 13538
  • MODERATOR
2 years 6 months ago #345667

Hi,

I've investigated the issue on someone else's website and it seems to happen when the geolocation plugin is used with the option "after initialisation" activated in its settings. This results in HikaShop being loaded really early during the processing of the page, and HikaShop requests at some point the current template from Joomla, but Joomla hasn't had the time to load the correct template based on the Itemid as it didn't parse yet the SEFed URL of the current page and thus it defaults on the default template.
This is fine, but then, this causes Joomla to not recalculate the current template when Joomla has to call the template to display the page.

What's different between the 4.6.2 and previous versions is that in the 4.6.2 we fixed the override of class and controllers which didn't work properly before. And this leads to the template being asked quite early in the process of the page in such a configuration.
So deactivate that setting of the geolocation plugin and it should work fine, supposing that we're talking about the same issue.

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 6 months ago #345807

Thank you for investigating this further!

Seems like deactivating that setting does the trick ...
Will that influence on anything else?

Kind regards
Thomas

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

  • Posts: 83605
  • Thank you received: 13538
  • MODERATOR
2 years 6 months ago #345811

No, it shouldn't.
I would still recommend to check that the geolocation is still working. In some rare cases, when that option is deactivated the geolocation won't work because of SEF extensions. That's why the option is turned on by default.

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

  • Posts: 359
  • Thank you received: 24
  • Hikaserial Standard Hikashop Business
2 years 6 months ago #345816

Thanks!
Great support as always :-)

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

Time to create page: 0.044 seconds
Powered by Kunena Forum