Now THAT was a tricky problem ... there are two potential methods to fix this, I'll present both :
A. In cal.asp, replace all instances of
topic_ID="
with
TOPIC_ID="
(it is only a change in case, and there should be two instances to change, green->red)
B. In active_users.asp, find :
function analyzeQuery(strQuery, varName)
strQuery = Mid(strQuery, instr(strQuery, varName)+1+Len(varName))
if instr(strQuery, "&") then
strQuery = Mid(strQuery, 1, instr(strQuery, "&"))
strQuery = Mid(strQuery, 1, Len(strQuery)-1)
end if
analyzeQuery = strQuery
end function
replace with
function analyzeQuery(strQuery, varName)
strQuery = Mid(strQuery, instr(1,strQuery, varName,1)+1+Len(varName))
if instr(strQuery, "&") then
strQuery = Mid(strQuery, 1, instr(strQuery, "&"))
strQuery = Mid(strQuery, 1, Len(strQuery)-1)
end if
analyzeQuery = strQuery
end function
The original code is case sensitive, so it only searches for TOPIC_ID and not topic_ID, so I prefer this solution because it guards against further case insensitive mods.
Hope it helps