Menu items disappearing/reappearing Topic is solved

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
starlir
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jul 01, 2011 5:58 am

Menu items disappearing/reappearing

Post by starlir » Thu May 06, 2021 7:44 pm

After update from 3.9.9 to 3.9.26 the menu system on my site www.cosss.co.uk has become unusable. The left hand navigator has two modules 'Main Menu' and 'Resources'. The Resources options generally remains static and this works as before with a consistent list of menu options appearing throughout any navigation of the site. My problems started when I edited a static article for the menu option 'Training Alterations' and found that the old version of the content was being displayed on the site despite clearing browser and site caches etc. I discovered that the menu option was pointing to a new alias which was constructed as the old alias with a '-2' appended to the end. Several other menu items in the Main Menu had also been changed. I wanted to add a new menu item called 'Temp Group Training Times' and in the end had to delete all the menu items in the module and reconstruct them (I called this module New Main Menu to avoid name clashes with the old Main Menu but once happy I had captured all the necessary menu options I deleted the old Main Menu and renamed New Main Menu to Main Menu). Now I'm in a position where selecting an item from the Resources section will display all the items in the Main Menu sometimes but not every time. Clicking the Home option will always display the first few items of the Main Menu with the 'New Main Menu' outdated title for the module. I have run fix database, no change. I now suspect there must be some database corruption/issue but would be grateful for any pointers as to what might be going on.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27826
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Menu items disappearing/reappearing

Post by Per Yngve Berg » Fri May 07, 2021 3:47 am

Is all menu items at the same level or is there Child items?

Children are only shown when the parentes is aktive.

starlir
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jul 01, 2011 5:58 am

Re: Menu items disappearing/reappearing

Post by starlir » Fri May 07, 2021 5:00 am

There are children but it’s also 1st level items that go missing as well. This morning from my iPad the menu appears to have refreshed to my rebuilt version and seems to work, leading me to believe that there is some kind of caching issue. I have to add that mobile devices appear to work slightly better than desktop browsers i.e. they show more of the menu items than desktop browsers (safari and chrome on Mac and edge on win10) Also some of my other modules are not displaying now and I need to look at that also. This site has worked for several years with no issue so it’s all a little odd. I’ve upgraded PHP to 7.4 from 7.3 and that has made no difference. I’ve browsed the database and the menu file looks ok to my inexperienced eye.

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3995
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: Menu items disappearing/reappearing

Post by abernyte » Fri May 07, 2021 6:59 am

Your site is delivered via a CDN, can you clear the cache with it and see if it displays correctly?
What we obtain too cheap, we esteem too lightly…Thomas Paine

starlir
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jul 01, 2011 5:58 am

Re: Menu items disappearing/reappearing

Post by starlir » Sat May 08, 2021 10:06 am

Yes I've done that. This morning the menus appear to be OK but on trying to make my 'missing' modules appear I am having to set them to appear on All menu options and on one module just now on attempting to save changes in the backend my hosting provider GoDaddy is throwing a cross-site scripting error. Last week they screwed up my security certificate renewal and created a new one and deployed that to their firewall. I am now starting to suspect firewall issues are at play as the reason I upgraded to 3.9.26 was because they wanted to rule that out before they did their job and realised that it was their firewall issue causing my problem (i.e. white screen and no site displayed). So my next port of call is GoDaddy support......

starlir
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jul 01, 2011 5:58 am

Re: Menu items disappearing/reappearing

Post by starlir » Sat May 08, 2021 10:09 am

So the cross-site scripting error has been fixed by my whitelisting the website IP address and I can now change my module menu assignments to All and they are now appearing. However I am still clueless as to the root cause of this issue.

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3995
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: Menu items disappearing/reappearing

Post by abernyte » Sat May 08, 2021 10:25 am

You will find few cheerleaders on here for GoDaddy. They do seem to be a common denominator in many issues although cause and effect are not always synonymous.
What we obtain too cheap, we esteem too lightly…Thomas Paine

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3995
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: Menu items disappearing/reappearing

Post by abernyte » Sat May 08, 2021 10:34 am

I am now starting to suspect firewall issues
You site is delivered via the Sucuri Firewall CDN but I think Sucuri was bought by GoDaddy. Are you allowed access to configure that?
What we obtain too cheap, we esteem too lightly…Thomas Paine

starlir
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jul 01, 2011 5:58 am

Re: Menu items disappearing/reappearing

Post by starlir » Sat May 08, 2021 10:49 am

You are right it is Securi buy GoDaddy have a website Security dashboard that enables certain parameters to be configured, the whitelist is one of those. I’m sure there are still cacheing issues somewhere, making it difficult to see if changes have worked or not. I’ve changed the global caches from 900 to 60 but not sure how much difference that has made.

starlir
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Fri Jul 01, 2011 5:58 am

Re: Menu items disappearing/reappearing

Post by starlir » Sat May 08, 2021 8:48 pm

abernyte, thank you! You pointed me in the right direction! In the last few days my 'website security deluxe' was renewed, around the same time as I had my SSL certificate issues, I suspect the two are linked.... I researched my hunch about caching and sure enough caching had been enabled on the securi firewall, I've disabled it and bingo the changes I make are now immediately reflected. I've been making changes and then chasing my tail because I didn't think they were working, I had cleared browser cache and changed Joomla caching strategy without even considering it may be a firewall caching issue.

User avatar
abernyte
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3995
Joined: Fri May 15, 2009 2:01 pm
Location: Écosse - Scozia - Escocia - Škotija -स्कॉटलैंड

Re: Menu items disappearing/reappearing

Post by abernyte » Sun May 09, 2021 7:20 am

Good work, I am glad you have it sorted. It is always worth remembering that CND's are now fairly common for delivering even small sites where they were once the preserve of the large high bandwidth creations.
What we obtain too cheap, we esteem too lightly…Thomas Paine


Post Reply

Return to “Administration Joomla! 3.x”