Register   Login
     
  Latest Posts  
RE: Introducing the most powerful News Slider for Ventrian News Articles
by jhoelz on 3/19/2010 9:29 PM
Rich Snippets for Review, Ratings etc!
by georgelew on 3/19/2010 7:49 PM
Recently created articles are not shown in list
by atriage on 3/19/2010 11:18 AM
RE: News Articles Tokens
by spirit on 3/19/2010 10:43 AM
Author post count and link in listing.item.html
by mattbunce on 3/19/2010 10:18 AM
RE: News Article Detail and Lightbox
by spirit on 3/19/2010 10:12 AM
RE: News Article Detail and Lightbox
by ray-isc on 3/19/2010 9:49 AM
Using custom profile properties with [AUTHOR:XXX]
by mattbunce on 3/19/2010 9:34 AM
RE: NA Latest - Template question
by Blondie on 3/19/2010 9:23 AM
skin disfigured after click on article link
by jsw on 3/19/2010 9:11 AM
  Forums  
Subject: WAT and UsersOnline Blank.
Prev Next
You are not authorized to post a reply.

Author Messages
chattersUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:7

1/13/2009 7:08 AM  

This is a odd one that has me completely stumped.

We have 3 versions of a site (dev,staging,production).

Currently the WAT and UsersOnline works fine on Dev and Staging

but on Production , we get 0's
I went table by table, and each stored proc and do not see anything that would be different.

 

My settings:

Disable Users Online? is Not checked.

DotNetNuke.Entities.Users.PurgeUsersOnline, DOTNETNUKE checked Every 4 Minutes Every 5

Membership:

Latest: US319385

New Today: 0

New Yesterday: 0

Overall: 589


People Online:

Visitors: 0

Members: 0

Total: 0

  Online Now:

 

I've hit the webconfig, restarted the application, even had the schedule do a catch up. Nothing..
it's odd because Staging and Production are the same database, only thing different is servers..

any idea's? I've run out of them :(


http://www.rkgamers.com
http://www.rchatter.com
BarrySUser is Offline
Registered Users
Ventrian Wiz
Ventrian Wiz
Posts:155


1/13/2009 10:55 AM  

Which version of dnn are you running, there are issues with WAT in 4.9 owing to scheduler see www.dotnetnuke.com/Comm.../Default.aspx

chattersUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:7

1/13/2009 12:17 PM  
Version 4.8.2

Seems like a stored proc is erroring on insert into the UsersOnline table, as that table is blank.

http://www.rkgamers.com
http://www.rchatter.com
chattersUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:7

1/13/2009 2:00 PM  

Found the problem.
Our production environment has a different timezone then the database.

so when :

DELETE from dbo.UsersOnline WHERE LastActiveDate < DateAdd(minute, -@TimeWindow, GetDate())

is called, getdate() uses the timezone of the DB, not the timezone of the DNN site.
So it sees the user as having a last activity of min a hour and deletes them.


Might want to pass in a date with UTC time instead?


http://www.rkgamers.com
http://www.rchatter.com
You are not authorized to post a reply.
Forums > Modules > Where Are They > WAT and UsersOnline Blank.



ActiveForums 3.7