Author |
Topic |
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 22 August 2002 : 21:04:32
|
Active Users 4.0.14 - Invalid use of Null
when i view the users with Current Page on. I get this
Microsoft VBScript runtime error '800a005e' Invalid use of Null active_users.asp, line 637
Looks like when any user is in forums or topics. i get it.
I had this error from the other version of 4.0 too.
And on other systems and forums. I just download 14 , thought it would help
I have not seen this working or the Active Users Record:
Could i be doing something wrong?
I wanted to ask before i look into the code. Im working my code now, just dont have the time.
|
{VAS}-Kal Corp VAS Development NetWork - Forums for old Snitz Mods! Creator of all things {VAS}
|
Edited by - Kal Corp on 22 August 2002 21:05:29 |
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 22 August 2002 : 21:09:16
|
Kal, I am going to suggest that this is a result of other modifications you have made to your code . . .
quote: I had this error from the other version of 4.0 too.
. . . because everyone else has been using other versions of 4.0 since March without this error. |
Nathan Bales CoreBoard | Active Users Download |
Edited by - Nathan on 22 August 2002 21:09:30 |
|
|
Kal Corp
Average Member
USA
878 Posts |
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 22 August 2002 : 21:48:27
|
Now i am lost
See this code.
function WhatPage(fScript, fQuery) response.write "fScript="&fScript&" fQuery="&fQuery&" *<BR>" response.write "fScript="&fScript&" fQuery="&fQuery&" *<BR>"
Should get same thing on both lines right?
This is what i get! fScript=forum.asp fQuery=FORUM_ID=47 * fScript=forum.asp fQuery= *
wtf where is "FORUM_ID=47"? is becomes null.
am i loosing it? |
{VAS}-Kal Corp VAS Development NetWork - Forums for old Snitz Mods! Creator of all things {VAS}
|
Edited by - Kal Corp on 22 August 2002 21:51:55 |
|
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 22 August 2002 : 21:55:39
|
Check this out too
function WhatPage(fScript, fQuery) test = fQuery response.write "fScript="&fScript&" fQuery="&fQuery&" test="&test&" *<BR>" response.write "fScript="&fScript&" fQuery="&fQuery&" test="&test&" *<BR>"
I get
fScript=forum.asp fQuery= test=FORUM_ID=47 * fScript=forum.asp fQuery= test=FORUM_ID=47 *
fQuery turns to null the first time its used , funny shit? |
{VAS}-Kal Corp VAS Development NetWork - Forums for old Snitz Mods! Creator of all things {VAS}
|
Edited by - Kal Corp on 22 August 2002 21:55:56 |
|
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 22 August 2002 : 22:00:08
|
Just a FYI this fixed the problem in active_users.asp
changed
function WhatPage(fScript, fQuery)
To
function WhatPage(fScript, WTF) fQuery = WTF
Can anyone tell me why? Please......
Also this was a good one, bring them on
now for the Active Users Record: 0 | Record Set On: //0 at ::
Update!
The Record set was my bad! updated the file but forgot the manualy update of functions :-(
Looking good now.
Just cant explain that issue above |
{VAS}-Kal Corp VAS Development NetWork - Forums for old Snitz Mods! Creator of all things {VAS}
|
Edited by - Kal Corp on 22 August 2002 22:33:19 |
|
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 22 August 2002 : 23:32:24
|
What sould i do about
Guest accounts that get entered as a new guest everytime they go to a page? might want to filter it by ip? or this a bug?
|
{VAS}-Kal Corp VAS Development NetWork - Forums for old Snitz Mods! Creator of all things {VAS}
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 23 August 2002 : 01:01:59
|
That sounds like a bug, probably a result of the fact that 3.4 treats guests as member id -1 instead of 0, I'll check that out. |
Nathan Bales CoreBoard | Active Users Download |
|
|
Kal Corp
Average Member
USA
878 Posts |
Posted - 23 August 2002 : 07:34:45
|
quote: Originally posted by Nathan
That sounds like a bug, probably a result of the fact that 3.4 treats guests as member id -1 instead of 0, I'll check that out.
did you see the other stuff above? whats up with that? |
{VAS}-Kal Corp VAS Development NetWork - Forums for old Snitz Mods! Creator of all things {VAS}
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 23 August 2002 : 12:07:48
|
Thats like the wierdest thing ever. I think I had that problem back in development. |
Nathan Bales CoreBoard | Active Users Download |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 23 August 2002 : 14:58:09
|
Ok, I used the solution that I had to do when I was first making the function back in Febuary. Which is exactly what you did with the "WTF" variable, only I used a nicer name.
Since I wan't getting this bug locally, yall are going to have to tell me if it works now.
4.0.15 uploaded. |
Nathan Bales CoreBoard | Active Users Download |
|
|
|
Topic |
|