Like the title says, I have upgraded 4 installations to Magento 1.9.2.0 and all 4 are now not showing the IP and the Last URL on the Online Customer transaction.
Although I can imaging this is some security setting I was unable to find anything in the release notes or in the configuration. Is this a bug of Magento 1.9.2?
Solved! Go to Solution.
This is how we solved the problem:
In the backend go to System -> Configuration -> Advanced -> System -> Log.
Then set "Enable Log" to "yes" instead of "Visitors only".
Hi @Solide, what version are you upgrading from?
@sherrie, all 4 upgrades where made from 1.9.1.1.
Indeed it helps! But in 1.9.1.1 it was not necessary to change settings
Although I dont quite understand the difference between "Yes" and "Visitors only" it does seem to solve the issue and I have accepted it as the solution.
@iToffice wrote:This is how we solved the problem:
In the backend go to System -> Configuration -> Advanced -> System -> Log.
Then set "Enable Log" to "yes" instead of "Visitors only".
I couldn't figure this out until I realized you were talking about Advanced -> System and not Advanced -> Developer, both of which have a separate log setting. This worked for me as well, thank you!
Worked for me too
And me.
This feels like it is a bug. Having "Visitors only" for that setting omitted IPs and Last URLs, and setting to "Yes" started showing IP/Last URL for the same sessions. This doesn't seem like how an "Enable Logs" setting would behave.
Thanks for posting this thread OP, was messing around with log_visitor_online and other less helpful suggestions before finding this thread.
This isn't a solution for me. It just fixed the url part not the Ip address.
What I have found so far..
Magento now uses the function inet_ntop() to convert the address and the database now expects a varchar field, before it was a bigint field translated by the function long2ip(). I believe that the problem is with the function that populates the table log_client_online. Anyone could help me find the function that populate this table? Which means, the function that gets the new customer and gets its information (ip address). Thank you.