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 Always Shows "Invalid Location"
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  01:00:19  Show Profile
I don't know if anyone else is experiencing this problem. But I implemented the MOD with little trouble. The problem is, when anyone surfs to any topic in the entire forum, the Active Users page shows them as being in an unknown location every time. Has anyone else experienced this?

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 April 2002 :  01:42:01  Show Profile  Visit Nathan's Homepage
Yes, there is a small bug, but only some multipage threads are affected by it.

Fix here --> http://forum.snitz.com/forum/topic.asp?TOPIC_ID=26355#123902

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  01:54:50  Show Profile
Just tried that and I'm still having the same problem. Everything keeps showing up as unknown location :(

Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 April 2002 :  02:00:18  Show Profile  Visit Nathan's Homepage
What database type are you useing?

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  02:03:51  Show Profile
MS SQL 2000. I'm looking in the database and the string is in there.

Go to Top of Page

HarshReality
Junior Member

USA
128 Posts

Posted - 20 April 2002 :  02:16:14  Show Profile  Visit HarshReality's Homepage  Send HarshReality an AOL message  Send HarshReality an ICQ Message  Send HarshReality a Yahoo! Message
I have noticed a few problems with "whoisinside"
since it is using the ONLINE table removed in AU4

Oh what wonders await we the ****ed in exile, for in a single act of rage I have slain what little humanity I have left and all that remains is the beast....
Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  02:18:19  Show Profile
I wish I could figure this out...the old Active Users always worked just fine. This new one is a lot nicer though. I just need to fix this "Invalid Location" proglem. BTW...I don't have the Whosinside MOD installed...not yet at least ;)

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 April 2002 :  03:16:13  Show Profile
It might help if you would post the URL of the forum where you are having the problem.
Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  11:36:10  Show Profile
Ok, I'll give you what is in the database and the current URL that the user is at.

Current URL of user:
http://www.mydomain.com/web/asp/forum/topic.asp?TOPIC_ID=222

Database Info:
AU_LASTPAGE = topic.asp
AU_QUERYSTRING=TOPIC_ID=222

When I goto the Active Users Page, it shows Unknown Location for this user. What do you guys think?



Edited by - mikey344 on 20 April 2002 11:38:24
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 April 2002 :  14:41:31  Show Profile  Visit Nathan's Homepage
Like richard said, it might be helpful if we could see the forum.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  18:42:56  Show Profile
Oh, I'm sorry...I thought you wanted the strings in the database with the problem. Here is the link to the forum...

http://www.epartment54.com/web/asp/forum/default.asp



Edited by - mikey344 on 20 April 2002 18:43:26
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 April 2002 :  18:49:23  Show Profile  Visit Nathan's Homepage
There is somthing weird going on there, it doesn't seem to be handeling the analyzequery function. If you email me your active_users.asp page I will add a few diagnostics to it and send it back. Then I can get a better idea about whats going on/wrong. --> snitz@ls3k.com

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 20 April 2002 :  21:19:23  Show Profile
I'll send you the file first thing tomorrow.

Go to Top of Page

mikey344
Starting Member

48 Posts

Posted - 21 April 2002 :  14:19:28  Show Profile
I sent it to you...I'll wait to here back from you to try the diagnostic file.

Go to Top of Page

SPulley
Starting Member

USA
46 Posts

Posted - 24 April 2002 :  02:36:39  Show Profile  Visit SPulley's Homepage  Send SPulley an AOL message
I've been digging into this one for a few hours now.. I'm having the same problem. I'm using NT4.0 with SQL server 7.. The site traffic is load balanced across 3 servers accessing the same SQL database.

http://stage.mylargescale.com/forum/active_users.asp

From what I can tell, the problem isn't in the analyzequery function, nor does it lie in the Whatpage function, but higher than that. If I add:

response.write "Querystring = " & fQuery


At line 357 in active_users.asp where it is supposed to analyze the forum id comes up with nada.. Just "Querystring ="

Movin on up higher in the file,

If I add the following on line 186:

response.write "arrAM(6,c) = " & arrAM(6,c)
response.write "arrAM(7,c) = " & arrAM(7,c)


It yields this:


arrAM(6,c) = post.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = forum.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = active.asp
arrAM(7,c) =

arrAM(6,c) = Default.asp
arrAM(7,c) =

arrAM(6,c) = forum.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = forum.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = topic.asp
arrAM(7,c) =

arrAM(6,c) = active.asp
arrAM(7,c) =

arrAM(6,c) = post.asp
arrAM(7,c) =

arrAM(6,c) = forum.asp
arrAM(7,c) =


So, the entry in the array is empty.. Either you're calling the wrong record in the array, or your'e not putting the querystring in the correct space in the array.

Question.. Why are things getting moved into the array instead of coming straight out of the recordset? That slightly baffles me.. I'm no asp expert, but it seems redundant. It looks like you're trying to keep guests and members separate. Why not create 2 recordsets and populate the table out of the recordsets?

P.S. I really like the MOD.. It rocks.. Just a couple bugs to work out.

Have fun and be good!!

Shad Pulley
shadstrains@mylargescale.com
www.mylargescale.com/forum




Edited by - spulley on 24 April 2002 02:48:01
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 24 April 2002 :  18:48:34  Show Profile  Visit Nathan's Homepage
quote:

So, the entry in the array is empty.. Either you're calling the wrong record in the array, or your'e not putting the querystring in the correct space in the array.
Its never being pulled from the database. Is the querystring in the database at all??

quote:
Question.. Why are things getting moved into the array instead of coming straight out of the recordset? That slightly baffles me.. I'm no asp expert, but it seems redundant.
I'm using the getRows function, it can speed the script up by dumping the RS into an array and closing the RS quickly. I made a vesion of the file with this function removed, thinking it may be the culprit, and sent it to mikey344 but same result.
quote:
It looks like you're trying to keep guests and members separate. Why not create 2 recordsets and populate the table out of the recordsets?
No, thats not the point. In fact, I couldn't combine those if I wanted to without some super fancy SQL.

I just dunno why this is affecting you guys an no one else. . . and what the heck is causing it. Are the querystrings actually in the database?? Are they not being extracted with the recordset?

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07