Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Forum Counter (Site Statistic) - problem
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

hans_
Junior Member

Czech Republic
161 Posts

Posted - 09 July 2005 :  07:26:50  Show Profile  Visit hans_'s Homepage  Reply with Quote
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

Posted - 09 July 2005 :  15:04:03  Show Profile  Visit modifichicci's Homepage  Reply with Quote
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.<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 10 July 2005 :  02:32:42  Show Profile  Visit hans_'s Homepage  Reply with Quote
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.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 10 July 2005 :  15:08:25  Show Profile  Visit modifichicci's Homepage  Reply with Quote
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<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 10 July 2005 :  16:22:24  Show Profile  Visit hans_'s Homepage  Reply with Quote
I will try it thank you for tip!<

I am still learning.
Sorry for my stupid questions (sometimes) and bad English.
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 10 July 2005 :  16:36:17  Show Profile  Visit hans_'s Homepage  Reply with Quote
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.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 11 July 2005 :  08:03:01  Show Profile  Visit modifichicci's Homepage  Reply with Quote
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..
<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 11 July 2005 :  09:55:05  Show Profile  Visit hans_'s Homepage  Reply with Quote
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.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 11 July 2005 :  14:54:09  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Yes I'll try! Thank you!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 14 July 2005 :  04:39:36  Show Profile  Visit hans_'s Homepage  Reply with Quote
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.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 14 July 2005 :  07:49:04  Show Profile  Visit modifichicci's Homepage  Reply with Quote
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)<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 19 July 2005 :  12:54:13  Show Profile  Visit hans_'s Homepage  Reply with Quote
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
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 19 July 2005 :  15:32:05  Show Profile  Visit hans_'s Homepage  Reply with Quote
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.
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 19 July 2005 :  17:18:14  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Glad you have solved!!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

hans_
Junior Member

Czech Republic
161 Posts

Posted - 20 July 2005 :  03:48:33  Show Profile  Visit hans_'s Homepage  Reply with Quote
Finally! thank you for your unselfish help modifichicci!<

I am still learning.
Sorry for my stupid questions (sometimes) and bad English.
Go to Top of Page

jamesdavis
Starting Member

USA
26 Posts

Posted - 11 August 2005 :  19:52:29  Show Profile  Visit jamesdavis's Homepage  Reply with Quote
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<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07