IP logging problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Albasoul
    Member
    • Jul 2002
    • 51

    IP logging problem

    My IP logging is not working anymore as it should. I receive this warning when I try to see all the IP-s for a specific user from the control panel:

    Warning: Address is not a valid IPv4 or IPv6 address in /home/virtual/site*/fst/var/www/html/admin/user.php on line 1288



    IP logging was working fine before, I disabled it for some time, and now that I reenabled it, it gives me that warning. I opened user.php to see what that line of code is:

    echo "<li>$ip[ipaddress] (".gethostbyaddr($ip[ipaddress]).") ".makelinkcode("find more users for this ip","user.php?s=$session[sessionhash]&action=doips&ipaddress=$ip[ipaddress]")."</li>\n";




    I am running:

    VBulletin 2.26
    PHP 4.2.2 with PHP Accelerator 1.3 installed

    Could someone figure out the problem?

    Thanks
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    If you check the database, what IP's are logged?
    Maybe the logging give an error. Maybe it is the host's IPv6 stack that is bugging up .. I don't know for sure what it could be. Sorry.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...