Header – Mega Menu links – wrong urls are cached

ThemeBurn SupportForumsOpenCart ThemesBurnEngineHeader – Mega Menu links – wrong urls are cached

This topic has been marked as not resolved.

Hi Support,

a bug, that happens from time to time to our users is the cache of wrong URLs in the mega menu header.

We have different URLs for the same shop…different top level domains (xxx.hu or xxx.com) and different sub-domains (test.xxx.com, hello.xxx.com). Some are accessed only by bots to crawl certain feeds, others are accessed by users from different regions. Via .htaccess all users, who came from http://www.xxx.com are redirected to xxx.com, so without the www prefix. Different languages are separated by subfolders like xxx.com/en or xxx.com/de – The main language is without a subfolder.

Now, the mega menu sometimes caches these different URLs on a seemingly random basis and displays them to all users, regardless of the domain the chose.

So users, who are coming through xxx.hu, get in the megamenu category links starting with http://www.xxx.hu. Or they are getting sometimes category links with sumdomain.xxx.hu. Only happesn to megamenu links.

If I empty the cache in the burnengine admin, everything seems to work fine.

Now, how can I avoid that bug? How does the caching of the megamenu work? Which files are involved?

Thanks,
axanne

 axanne
June 9, 2016 at 12:53 pm #48620

Hi,

to follow up that problem, I can confirm, that Burnengine caches the wrong menu entries, when using it in a multi-lingual setting.

Still facing problems between 2 languages. When going to the cache system on file level (system/storage/cache/tb), I can see, that for some specific categories/pages, a setting cache file is created:

HU version:
cache.BurnEngine.area_contents.header_global.intro_global.content_category_global.column_right_category_global.footer_category_global.0.hu.category-74.https.HUF.1472469767

EN version:
cache.BurnEngine.area_contents.header_global.intro_global.content_category_global.column_right_category_global.footer_category_global.0.en.category-74.https.HUF.1472474352

So links and titles are set in both files in English.

I am using SEO Megakit Plus – the main language doesn’t have any url suffix, i.e. https://domain.com/ (for Hungarian). For another language like English, we are using https://domain.com/en/

Can you localize the problem? Or point me to the file/method, where those files are created? And at what times these files are created?

  • This reply was modified 2796 days ago by  axanne.
  • This reply was modified 2796 days ago by  axanne.
 axanne
August 29, 2016 at 12:47 pm #50451
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.