Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 500 on index.php
#1
Hi,

I have updated my Pandora FMS Server to the 5.2 version (Pandora FMS v5.1SP2 - Build PC150304) and I can't login properly anymore. When I try to login, the screen become blank. If I refresh the page, it opens properly.

I have seen on the developer tools that the login is resulting on a 500 error on index.html during the POST, but I can't get enough information even setting the apache log to debug or turning the display_errors option on in the php.ini file.

Does anyone get the same problem? Can someone please help me?


Regards,
Thiago Lima


Attached Files


.png   error500.png (Size: 123.83 KB / Downloads: 148)
 Reply
#2
Hi Thiago,

Have you updated both the pandora console and the pandora server?

Regards,
Antonio.
 Reply
#3
Hi antonio.s,

Thank you for your reply. Actually the package pandorafms-server was on the version 5.1-SP2 but the packages pandorafms-console and pandorafms-agent-unix wasn't.

I have updated both of them to the version 5.1-SP2 but yet still the problem persists.

I can't understand why it's happening since I can get the page completely loaded with a simple refresh after the failure...


Regards,
Thiago Lima
 Reply
#4
Hi all,

After further investigation, I could see that there's an option inside the index.php file named develop_bypass which is 0 by default. After changing it for 1 I could be able to see errors messages on the browser (Learned lesson!);

So, after the login, the error message "Call to undefined function issset() in pandora_console/include/functions_update_manager.php on lin  238" was shown on the screen. Looking at the specified line of the mentioned file, I could see that the function was really mistyped as issset instead of isset.

After that, the login could be made normally!

Looking for this line on GIT, I could see that this is already solved but isn't available yet (at least on my last update to version #150313).

Here's the link on GIT showing the fix: https://github.com/pandorafms/pandorafms...26377fb0e1


Thank you all for your help. Regards,
Thiago Lima
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes