1
Im using XOOPS v2.2.4 with multiMenu v1.8 on a Linux server running PHP 4.4.2.
It works great and for my main menu block im using the "Drop down Vertical" which utilises this template multimenu_dyn_vert.html.
I have the cache set to be 1 week, but if someone makes changes to the menu, I added a hack so it would refresh the cache.
using this XOOPS function:
xoops_template_clear_module_cache($xoopsModule->mid());
That all works fine. However I have been noticing that on a few of the websites Ive built with multiMenu like this, it sometimes displays a different block template, for no apparent reason - multimenu_list.html.
Here is the serialized array from the top of the multiMenu block that gets cached successfully.
Quote:
a:4:{s:8:"template";a:2:{s:26:"db:multimenu_block_01.html";b:1;s:26:"db:multimenu_dyn_vert.html";b:1;}s:9:"timestamp";i:1167943791;s:7:"expires";i:1168548591;s:13:"cache_se
rials";a:0:{}}
And here is what the cache file changes to on a website where Ive noticed this issue.
Quote:
a:4:{s:8:"template";a:2:{s:26:"db:multimenu_block_01.html";b:1;s:22:"db:multimenu_list.html";b:1;}s:9:"timestamp";i:1168172890;s:7:"expires";i:1168777690;s:13:"cache_serial
s";a:0:{}}
Note that the arrays are from 2 separate websites, but they are built identical in every way. And Ive seen the issue occur on about 4 of my websites all built like this.
Anyone have an idea why this would happen, or how I could go about tracking down this bug?