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
 Site Statitistics
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Kagan
Starting Member

33 Posts

Posted - 11 August 2003 :  10:50:29  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
I am trying to implement Site Statistics but I am encountering an error. Two actually. The admin page does not show a place to administrate the counter. If I try to goto my forum I encounter this error.

Microsoft VBScript compilation error '800a0400'

Expected statement

/Forum/default.asp, line 997

" </tr>" & vbNewline


I tried repasting code in default.asp but nothing has changed. Just a note: I did do the mod setup to create the table if that helps. Any help would be appreciated! Oh and running current version of forum.
^

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 11 August 2003 :  11:57:02  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
Can you put a link to a text version of your default?

Steve
Drogheda, Ireland @ www.droghedatown.com
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 11 August 2003 :  12:23:30  Show Profile
I'm guessing the previous line did not end in & _ to continue the last Response.Write over into the next line...

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

Lococoin
Starting Member

38 Posts

Posted - 11 August 2003 :  13:13:05  Show Profile
you pasted in " </tr>" & vbNewline twice..go look at the line of code, above it you will see the exact same line. remove one of them and it will work.
Go to Top of Page

Kagan
Starting Member

33 Posts

Posted - 11 August 2003 :  14:30:23  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
LocoCoin said

"you pasted in " </tr>" & vbNewline twice..go look at the line of code, above it you will see the exact same line. remove one of them and it will work."

That did get my forum back up and running! New problem. At the bottom of the default page it now shows a new error.
Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

/Forum/inc_sitestat.asp, line 367
Go to Top of Page

Kagan
Starting Member

33 Posts

Posted - 11 August 2003 :  14:36:10  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
Here is the link to the default.asp text file
http://www.harvestersheroes.com/default4.txt
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 11 August 2003 :  14:47:13  Show Profile
The error displays in the default.asp page, but as the error message indicates, the real problem is in one of the files default.asp references. Thus, we need you to post the link to a text version of inc_sitestat.asp.

(edited for typos)

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.

Edited by - gelliott on 11 August 2003 16:15:55
Go to Top of Page

Kagan
Starting Member

33 Posts

Posted - 11 August 2003 :  17:35:04  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
http://www.harvestersheroes.com/inc_sitestat.txt

I appreciate the help everyone!
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 11 August 2003 :  20:07:40  Show Profile
This version of the statistics MOD writes data to the server using a FileSystemObject. You must assign write permissions to the folder you will write to for this to work. Your error is occurring at the create-the-file point, so have you set up the appropriate permissions?

I'm not familiar with this mod (I use a different statistics mod), so if that's not it I can't help you much... Perhaps someone else will chime in...

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

Kagan
Starting Member

33 Posts

Posted - 11 August 2003 :  20:18:00  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
Care to tell me what one you use? I will gladly switch. I am past the point of a little frustrated. :)
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 13 August 2003 :  13:02:47  Show Profile
I searched for it when I made the past post, but couldn't find it on Snitz Bitz or anywhere else in this site, although I found several posts asking for help with it. I believe another user emailed it directly to me at my request. It's quite simple and elegant - just two files to upload, and I decided to make a change to inc_header.asp to make it a menu choice for admins. I'll upload it somewhere and post back here, but it may be a day or so - I can't access my ftp from work, and I'll be working late for the next several days (client presentation looms in the near future)...

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 13 August 2003 :  13:14:38  Show Profile
OK, never mind, I just found it. It's by a user named alex042, although it was originally penned (keyed?) by HuwR and others...

Topic: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=34471
Download: http://www.picme.net/downloads/statistics_addon_refreshed_v111.zip

Alex042, would you mind if we posted this to SnitzBitz to save hunting for it again? The link at the topic is broken, although the files are still on the server (for now)...

As far as the changes I made to inc_header.asp, look for "sForumNavigation" subroutine, which ends around line 508 in a fresh Snitz install. Just before the "end sub" line on line 508, I inserted the following:
'########### GREG's STATs LINK  ###########
if mLev = 4 then
	Response.Write	"          |" & vbNewline & _
			"          <a href=""member_stats.asp""" & dWStatus("Site Statistics") & " tabindex=""-1"">Site Statistics</a>" & vbNewLine 
end if
'########### GREG's STATs LINK ###########


Good luck!

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 13 August 2003 :  13:18:06  Show Profile
OK, one more time - nevermind - Alex042 hasn't visited the Snitz Forums site in several months - I'll post it to SnitzBitz with my inc_header data for future reference...

Posted for posterity at: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=148

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.

Edited by - gelliott on 13 August 2003 13:28:40
Go to Top of Page

Kagan
Starting Member

33 Posts

Posted - 13 August 2003 :  15:50:02  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
Thanks All! You guys rock with your quick and willing help!
Go to Top of Page

Kagan
Starting Member

33 Posts

Posted - 13 August 2003 :  19:22:53  Show Profile  Visit Kagan's Homepage  Send Kagan an AOL message  Send Kagan an ICQ Message
Gelliot-It worked like a charm and was completely idiot proof. Perfect for a guy like me! :)
Go to Top of Page

gelliott
Junior Member

USA
268 Posts

Posted - 14 August 2003 :  12:16:55  Show Profile
Glad I could help

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07