Author |
Topic |
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 09 July 2005 : 07:26:50
|
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=11 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:
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:
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. |
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 10 July 2005 : 02:32:42
|
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. |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 10 July 2005 : 16:22:24
|
I will try it thank you for tip!< |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 10 July 2005 : 16:36:17
|
I tried it and I have the same error on the default site:
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. |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 11 July 2005 : 09:55:05
|
Thank You modifichicci for you answer. I will try it today evening.
If am I not sucesfull, can you help me later?
Bell' vacanza!
quote: 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. |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 14 July 2005 : 04:39:36
|
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" ?
Or exist any other MOD for Forum Counter (Site Statistic)?
Thanks< |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 19 July 2005 : 12:54:13
|
I tried to set i on Snitz dtb and sitestat.asp has following error:
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. |
Edited by - hans_ on 20 July 2005 03:49:01 |
|
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 19 July 2005 : 15:32:05
|
I see numbers now, it looks, that is finaly works!
quote: 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. |
|
|
modifichicci
Average Member
Italy
787 Posts |
|
hans_
Junior Member
Czech Republic
161 Posts |
Posted - 20 July 2005 : 03:48:33
|
Finally! thank you for your unselfish help modifichicci!< |
I am still learning. Sorry for my stupid questions (sometimes) and bad English. |
|
|
jamesdavis
Starting Member
USA
26 Posts |
Posted - 11 August 2005 : 19:52:29
|
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< |
|
|
Topic |
|