- Posts: 366
- Thank you received: 26
Updating to 4.6.2 causes page to change
3 years 11 months ago - 3 years 11 months ago #345653
by Thrane
Updating to 4.6.2 causes page to change was created by Thrane
-- 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
-- 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: 3 years 11 months ago by Thrane.
Please Log in or Create an account to join the conversation.
3 years 11 months ago #345656
by nicolas
Replied by nicolas on topic Updating to 4.6.2 causes page to change
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 ?
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.
3 years 11 months ago #345667
by nicolas
Replied by nicolas on topic Updating to 4.6.2 causes page to change
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.
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.
3 years 11 months ago #345807
by Thrane
Replied by Thrane on topic Updating to 4.6.2 causes page to change
Thank you for investigating this further!
Seems like deactivating that setting does the trick ...
Will that influence on anything else?
Kind regards
Thomas
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.
3 years 11 months ago #345811
by nicolas
Replied by nicolas on topic Updating to 4.6.2 causes page to change
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.
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.
3 years 11 months ago #345816
by Thrane
Replied by Thrane on topic Updating to 4.6.2 causes page to change
Thanks!
Great support as always
Great support as always
Please Log in or Create an account to join the conversation.
Time to create page: 0.241 seconds