Forum Counter (Site Statistic) - problem - Posted (2108 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
Average Member
modifichicci
Posts: 787
787
I have put the file in the upload dir, and choosing instead the database option. It works properly using database and the text link is ineffective, but necessary to the code.<
Posted
Junior Member
hans_
Posts: 161
161
Thank you for tip, I tried it also.
But problem is, that the forum has a problem: "The Path you have specified for the storage place, does not include the file!"
I tried to put the same path of the field Path of the sitestat.txt: directly in the adress field in the browser and the content of the file sitestat.txt is displayed correctly. Where can be the problem? Thanks<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Average Member
modifichicci
Posts: 787
787
Try writing just sitestat.txt in the request field and put a copy of the file in the main forum dir and another copy in your upload dir. That is what i have done and it works<
Posted
Junior Member
hans_
Posts: 161
161
I will try it thank you for tip!<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Junior Member
hans_
Posts: 161
161
I tried it and I have the same error on the default site:

Code:
Microsoft VBScript runtime error '800a0005' 

Invalid procedure call or argument

/2004/v_01/forum/inc_sitestat.asp, line 367
If I set the Admin Options the "Use Snitz Database: ON", than is the "Configuration Posted!" but on the site default.asp is still the error, what I posted. The path is just sitestat.txt.
Where could be the problem?
Thanks<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Average Member
modifichicci
Posts: 787
787
I haven't my file with me, i am on vacation... Check the table and the fields value in db, i remember i had to insert something by hand, but now i cannot verify it.. <
Posted
Junior Member
hans_
Posts: 161
161
Thank You modifichicci for you answer. I will try it today evening.
If am I not sucesfull, can you help me later?
Bell' vacanza!wink

Originally posted by modifichicci
I haven't my file with me, i am on vacation... Check the table and the fields value in db, i remember i had to insert something by hand, but now i cannot verify it..
<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Posted
Junior Member
hans_
Posts: 161
161
Must I have FSO (FileSystemObject) enabled for tis MOD? I dont have it on webserver. Why can´t use I the Admin Options the "Use Snitz Database: ON" ? sad Or exist any other MOD for Forum Counter (Site Statistic)?
Thanks<
I am still learning. Sorry for my stupid questions (sometimes) and bad English.
Posted
Average Member
modifichicci
Posts: 787
787
Yes you need FSO to use txt file, but not with db. Try to comment the lines after the else, and look what happens.(fro 361 to 400)<
You Must enter a message