I'm running Nop 3.50 (cannot upgrade due to many customizations that were done on this version). When I go to the online customers section, I can see the customer and guests logged in, but the Location column is always empty. Any ideas how to enable it so that it shows the users' locations?
not sure if 3.5 works exactly the same as 4.3+, but I imagine it's close enough. The location is determined by the GeoLookupService and gets the Country Name associated with the IP address in /App_Data/GeoLite2-Country.mmdb
I would guess that your Geo file is either very outdated (IP address ranges can change on a monthly time scale) or perhaps missing. Assuming 3.5 uses it, you can get an updated copy here:https://dev.maxmind.com/geoip/geoip2/geolite2/
also double check that your website has read permissions for that file. It has to have permissions already for /App_Data, otherwise the site wouldn't work, but if the Geo db underneath has been updated, well, I've seen stranger things.
It never worked. Ever. Is there an easy way to make sure and/or enable the permission to read that file? Everything else works great but the location does not appear. It is blank.
If it's never worked I doubt it's permissions. Do you have the source code for your installation?
To check permissions it depends on the server, but for Windows (assuming you have RDP access) just right click and go to the Security tab. Highlight your site's user and Edit:
Thanks but I had seen this post before. I don't think it provides an actual solution as to how to block or see the actual IP. It appears that topic only explains how to delete these users, no?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.