Pandora FMS Community

All my Agent Detail pages are blank with a JavaScript Error?

JonRussell · 15 may 2023, 18:49 · 5 mensajes · 84 visitas

consoleerrorjavascript
  1. Inicio del debate

    Hi,

    After a recent update (not sure which one exactly, but probably this year) all of my Agent Detail pages are now blank with a JavaScript error.

    See attached screen shots.

    The JavaScript error is:

    "GET https://pandora.xxxxxxxxxx.co.uk/pandora\_console/index.php?sec=estado&sec2=operation/agentes/ver\_agente&id\_agente=2 500 (Internal Server Error)"

    and

    "jquery.current.js?v=:2 Uncaught TypeError: Cannot read properties of undefined (reading 'split')"

    Any ideas?

    Thanks.

    Jon.

    Pandora-Agent-Detail.png19 KB · PNG
    Pandora-Agent-Detail.png
    Pandora-Agent-Detail-JS.png54 KB · PNG
    Pandora-Agent-Detail-JS.png
  2. Hello Jon,

    Which version of PandoraFMS and PHP do you currently have installed atm?

    Please paste here a screencapture of the About window, and execute this command in the server terminal

    php --version

    Then simply paste here another screenshot with the result.

    Thanks in advance.

    Kind regards,

    Sergio B.

  3. Hi Sergio,

    [centos@pandora ~]$ php --version

    PHP 8.0.28 (cli) (built: Feb 14 2023 11:05:44) ( NTS gcc x86_64 )

    Copyright (c) The PHP Group

    Zend Engine v4.0.28, Copyright (c) Zend Technologies

    Thanks.

    Jon.

    PandoraAbout.png12 KB · PNG
    PandoraAbout.png
  4. Hi Sergio,

    Did you have a chance to look at this too?

    Thanks!

    Jon.

  5. Hi, I have the same problem. I've noticed that if I create a new agent, it loads fine. So it seems that old agents have some problem after updating from 762 to 772.2. Any help please?

Entra en tu cuenta para publicar.