Guests have IPs but Members dont?

Started by kittonium, April 20, 2018, 01:22:39 AM

Previous topic - Next topic

kittonium

Hi, I have a problem with my SMF forum



As you can see in the picture, users do not have IP's (0.0.0.0)
but guests have valid IP's.

How can I fix this?
what are the files that set a members ip so i can undo changes that a mod mightve done?

Deaks

is your admin error log showing any errors?  what did you do on your forum before this started showing?  Have you tried running the maintenance through the admin panel??
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Illori

it is possible those with 0.0.0.0 ip addresses have ipv6 ip addresses and SMF 2.0 does not support that.

kittonium

Hi, I made a fix

replaced all the
$_SERVER['HTTP_X_FORWARDED_FOR']

with

$_SERVER['REMOTE_ADDR']

now everything works :)

Advertisement: