Posted - 01/23/2020 : 12:16:21
Hi,
I've got a weird one here. ECT PHP v7.0.7.
If I open the home page, specifically, of my store with no relative page/URI, the *initial generation* of the HTML for the verticalmenu2 dynamic menu has the domain missing so it just shows the relative page as "https://products.php/?cat=...". Chrome shows the source as: a href="\/products.php?cat=..."
*But* if you click on any other page link so a page and the menu is reloaded, then the links are fine from then on!
You can see the effect on our live site. Go to exactly this URL:
https://securityforbikes.com
and before clicking on anything else, click to expand the "Package Deals" link in the left navbar and mouse-over the "Extreme Security Chain and Lock Deals" link to see the URL that is referenced. You should see:
https://products.php/?cat=Extreme+Security+Chain+and+Lock+deals
...which is an invalid link.
The other links from the dynamic menu are also invalid in a similar way.
If you then click on any link in the top navbar, and then repeat the check on the left navbar Package Deals expansion, you should see valid links throughout.
Bizarrely, if you open a new browser tab and enter a full URL for the home page:
https://securityforbikes.com/index.php
it is generated perfectly straight away (even though that is the same page as is opened with just the domain name and no specific page). *This seems like a strong clue what is going on - Perhaps an uninitialised variable somewhere?
Has anyone got any ideas, please? This is actually quite a serious problem as it means that people will get broken links when they first come to our site and use that left navbar. The top navbar works fine (but that's implemented differently).
Similar behaviour with Firefox, Chrome, etc, all bang up-to-date.
Thanks in advance,
Steve.
Pragmasis Limited https://SecurityForBikes.com
|