cancel
Showing results for 
Search instead for 
Did you mean: 

No IP and last URL on Online Customers after 1.9.2 update

SOLVED

No IP and last URL on Online Customers after 1.9.2 update

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?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: No IP and last URL on Online Customers after 1.9.2 update

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".

View solution in original post

10 REPLIES 10

Re: No IP and last URL on Online Customers after 1.9.2 update

Hi @Solide, what version are you upgrading from?

--

Developer Relations, Adobe Experience Cloud
Problem solved? Click Accept as Solution!
Still stuck? Check out our documentation: https://magento.com/resources/technical

Re: No IP and last URL on Online Customers after 1.9.2 update

@sherrie, all 4 upgrades where made from 1.9.1.1.

Re: No IP and last URL on Online Customers after 1.9.2 update

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".

Re: No IP and last URL on Online Customers after 1.9.2 update

Indeed it helps! But in 1.9.1.1 it was not necessary to change settings

 

 

Re: No IP and last URL on Online Customers after 1.9.2 update

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.

Re: No IP and last URL on Online Customers after 1.9.2 update


@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!

Dan Lewis
Lead Technician - Fix'D

Re: No IP and last URL on Online Customers after 1.9.2 update

Worked for me too 

Re: No IP and last URL on Online Customers after 1.9.2 update

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.

 

 

Re: No IP and last URL on Online Customers after 1.9.2 update

 

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.