PDA

View Full Version : Can't login


Nikolay
17-12-2005, 08:40
Hi All

Folowed your install manual and all when very smooth but can't log to web gui .

appache - 2.0.54 PHP - 5.0.4 mysql Ver 14.7
changed the correct usename and password in /include/db.inc.php

httpd error log :

[client 172.21.34.10] PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would
like to pass it by reference, modify the declaration of eregi(). If you would like to enable call-time pass-by-reference, y
ou can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer
. in /var/www/html/include/hosts.inc.php on line 92, referer: http://192.168.1.114/index.php
[client 172.21.34.10] PHP Notice: Uninitialized string offset: 0 in /var/www/html/include/config.inc.php on line 2483, refe
rer: http://192.168.1.114/index.php

christophe_pub
19-01-2006, 15:11
Hi,

I have the same problem , everything seems to work fine , but I can't login (Admin) .

I've disabled the warning message with putting :
allow_call_time_pass_reference=On in /etc/php.ini
but I still can't log Admin ....

I have installed zabbix 1.0 + PHP 5.0.4 + Mysql 4.1.11 under Fedora Core 4

:confused: :confused:

any help ?

edeus
23-01-2006, 07:26
I have none of the issues above. Standard configuration (from FreeBSD).

Apache/2.0.55, PHP/5.1.1, MySQL 5.

Is this a version problem or simply a configuration one in PHP5?

pdwalker
23-01-2006, 07:30
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would
like to pass it by reference, modify the declaration of eregi(). If you would like to enable call-time pass-by-reference, y
ou can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer

Follow the instructions as listed in the error message and alter your php.ini.

That will fix your problem for now.

- Paul

ilya
30-03-2006, 04:49
setting it true did not resolve the porblem for me

shalako
11-04-2006, 01:43
I was getting this error in php5. Now using php4 and no longer have this problem. However,

I still can not log into the frontend as Admin (no password).

php 4.4.2
mysql 3.23.58
apache 2

I get no errors in any logs when I try to log in. I can log in to the database via command line no problem.

qbxk
24-03-2007, 23:07
Perhaps just a misunderstood suggestion (what was PDWalker suggesting?), but ilya you maybe were close, i set allow_call_time_pass_reference = Off on my gentoo/php5/apach2 box and smoooth sailing, finally.....