Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Active Users 4.0.14 - Invalid use of Null
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Kal Corp
Average Member

USA
878 Posts

Posted - 22 August 2002 :  21:04:32  Show Profile  Visit Kal Corp's Homepage
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  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 August 2002 :  21:10:08  Show Profile  Visit Kal Corp's Homepage
Looks like others have it too.

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=32669

I will try on default Snitz 3.4, but i belive it was there too. I will check again thanks

sorry i didnt have 4.0 in the past, just when 3.4 came out i installed 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:16:33
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 August 2002 :  21:48:27  Show Profile  Visit Kal Corp's Homepage
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
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 August 2002 :  21:55:39  Show Profile  Visit Kal Corp's Homepage
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
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 August 2002 :  22:00:08  Show Profile  Visit Kal Corp's Homepage
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
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 22 August 2002 :  23:32:24  Show Profile  Visit Kal Corp's Homepage
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}
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 23 August 2002 :  01:01:59  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 23 August 2002 :  07:34:45  Show Profile  Visit Kal Corp's Homepage
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}
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 23 August 2002 :  12:07:48  Show Profile  Visit Nathan's Homepage
Thats like the wierdest thing ever. I think I had that problem back in development.

Nathan Bales
CoreBoard | Active Users Download
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 23 August 2002 :  14:58:09  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07