Forum Counter (Site Statistic) - problem - Posted (2106 Views)
Junior Member
hans_
Posts: 161
161
I tried to install this MOD http://www.snitzbitz.com/mods/details.asp?Version=All&mid=110 This topic about this MOD is lockedhttp://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=38997&whichpage=11sad And I have the similar problem. I want to use Use Snitz Database. I tried setting the SiteStats mod to use the forum database instead of the text file to store data - the system seemed to still require that I specify a path to a text file for some reason. How can I solve it please?
The statistic is not displayed and I have this error:
Code:

Microsoft VBScript runtime error '800a0005' 

Invalid procedure call or argument

/2004/v_01/forum/inc_sitestat.asp, line 367

On line 367 i found this code:
Code:
    set file = fso.OpenTextFile(strCounterTxtPath,1,true)
I need to use Snitz Database.
Please help.<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Junior Member
hans_
Posts: 161
161
I tried to set i on Snitz dtb and sitestat.asp has following error:
Code:
ADODB.Field error '800a0bcd' 

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

/2004/v_01/forum/inc_sitestat.asp, line 309

Can you help me please?
<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Junior Member
hans_
Posts: 161
161
I see numbers now, it looks, that is finaly works! [^]
Originally posted by hans_
I solved the problem with the error. The problem was with FSO and bad path to the TXT file. Now runs the counter over TXT, because with Snitz dtb displayed the page some errors. Now I have the sitecount on the page. But instead numbers I see character #
Is it OK?

Thanks



<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Posted
Junior Member
hans_
Posts: 161
161
Finally! thank you for your unselfish help modifichicci!<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Member Locked
jamesdavis
Posts: 26
26
The real issue that is easily and quickly addressed is that the filename provided in the distribution has 'sitestat.txt' misspelled. (It comes preconfigured to use 'sitetstat.txt' and because it is misspelled the config code will not complete. Just change the spelling using the admin program. (The test is made whether or not you use db or text file.
At least one page must be opened by a user in order to populate the db. (That happens when any page is looked at and inc_header.asp is executed from within the page code.)

By commenting out the error test you<
Posted
Junior Member
PPSSWeb
Posts: 312
312
Does anyone have a link to the most recent version of this mod? The above referenced links are not working.
Thanks<
Posted
Development Team Leader
Classicmotorcycling
Posts: 2085
2085
Try clicking on this: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=110 (the first link) I just did and then clicked on the link to Download at Snitzbitz.com and it worked for me, it is still there and working.<
Cheers,

David Greening
You Must enter a message