PDA

View Full Version : Admin login problem


jwilliam
10-03-2005, 22:36
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
11-03-2005, 11:06
It is already fixed in 1.1 alphas.

Neo
02-07-2005, 08:47
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.