Ad Widget

Collapse

Can't login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nikolay
    Junior Member
    • Mar 2005
    • 2

    #1

    Can't login

    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
    Junior Member
    • Jan 2006
    • 1

    #2
    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



    any help ?
    Last edited by christophe_pub; 19-01-2006, 16:30.

    Comment

    • edeus
      Senior Member
      • Aug 2005
      • 120

      #3
      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?

      Comment

      • pdwalker
        Senior Member
        • Dec 2005
        • 166

        #4
        Originally posted by Nikolay[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
        Follow the instructions as listed in the error message and alter your php.ini.

        That will fix your problem for now.

        - Paul

        Comment

        • ilya
          Junior Member
          • Mar 2006
          • 3

          #5
          allow_call_time_pass_reference = On

          setting it true did not resolve the porblem for me

          Comment

          • shalako
            Member
            • Apr 2006
            • 30

            #6
            can't login as admin

            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.

            Comment

            • qbxk
              Junior Member
              • Mar 2007
              • 5

              #7
              allow_call_time_pass_reference = ?....

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

              Comment

              Working...