Ad Widget

Collapse

Admin login problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jwilliam
    Junior Member
    • Mar 2005
    • 4

    #1

    Admin login problem

    Just wanted to give a heads up for anyone using PHP-5.0.3. I could not login with the default user/pass. (Admin/nopass) I had no errors and had everything set up properly. I found the problem to be with php.ini. By default register_long_arrays = Off which disables arrays like HTTP_POST_VARS, which Zabbix uses. You need to set register_long_arrays = On to login.

    PHP says that the long vars are depreciated and affect performance. So maybe Zabbix will switch to the new superglobals style in the next release.

    You will need to restart Apache when you make the change.

    Not sure if the problem is in all versions of PHP5, just found it in 5.0.3.

    John
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It is already fixed in 1.1 alphas.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Neo
      Member
      • Jun 2005
      • 59

      #3
      Thanks for this tip man. That was what was wrong with my installation of Zabbix I use php 5.0.4.
      Thanks a lot man.

      Comment

      Working...