Hope someone could be of help :) After updating to Pandora FMS 6.0 it seems as the sytem don't take notice of what refresh value I set in the code "$sub["operation/agentes/group_view"]["refr"] = 0". This line of code is placed in menu.php, what is wrong after the update?
Setting refresh in menu.php
EasyMan · 4 nov 2015, 11:24 · 4 mensajes · 62 visitas
- Inicio del debate
Hello EasyMan, I'm not that much into the code :( But I've been doing my homework :D Have you changed the value on both "pandora_console/operation/menu.php" and "pandora_console/godmode/menu.php"? Maybe that's the problem! And maybe you can try something like adding the value to the url like this: pandora_console?sec=...&sec2=...&refr=30 for example. Hope that hleps ;) Regards, Emilio.
Hello EasyMan, I'm not that much into the code :( But I've been doing my homework :D Have you changed the value on both "pandora_console/operation/menu.php" and "pandora_console/godmode/menu.php"? Maybe that's the problem! And maybe you can try something like adding the value to the url like this: pandora_console?sec=...&sec2=...&refr=30 for example. Hope that hleps ;) Regards, Emilio.
Thanks for your response Emilio. Sorry but your suggestion do not work, as the group_view does not exist in godmode/menu.php. Adding the refr=30 to the URL in the code will make a line break in the menu, but it does work. Changing in the code worked prior to 6.0, but I can se that there have been an addition of a new array in menu.php and I think thats the problem elsewhere in the code.
Hello EasyMan, I'm glad that the parameter at the url works! There's nothing else that I can actually tell to help you with this, let's see if someone else have something to say ;) Regards, Emilio.
Entra en tu cuenta para publicar.
