Skip to main content

Wrong timestamp shown in Visitor

Comments

6 comments

  • cPanelMichael
    Hello, I've been unable to reproduce this issue on a test server. Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • Osama Tariq
    Isn't possible to investigate the issue without opening the ticket ?
    0
  • cPanelMichael
    I've been unable to reproduce the issue, as when I test this the correct date/time appears in "cPanel >> Vistors". Opening a support ticket will allow us to take a closer look at your system to determine why this is happening. Thank you.
    0
  • Infopro
    The date 1/1/70 is "epoch date" en.wikipedia.org/wiki/Unix_time#History Something else going on there.
    0
  • xprt5
    Look at your domlogs file and you will see it lists two IP's in the front of each line and should only be one, the visitors. Check your LogFormat settings in Apache and you will find it set incorrectly. Should look like this with %a %l %u %t LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%a %l %u %t \"%r\" %>s %b" common Your LogFormat is incorrect and causing latest visitors date/time to show incorrectly as it reads entries from the domlogs file by "spaces" and the extra local IP is throwing off the format. Edit httpd.conf with above and restart apache then check latest visitors again.
    0
  • xprt5
    Also, you will need to manually edit the domlog files removing the 2nd local IP addresess, a quick sed search/replace will do this and new entries will be added correctly via Apache.
    0

Please sign in to leave a comment.