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
 Active Users 4.0
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

Rasyr
Junior Member

USA
199 Posts

Posted - 18 August 2002 :  23:05:52  Show Profile
Sorry but no.

First off, I have been hacked once so I am paranoid, and thus I do not ever give out admin access to my forums. I might give it to one of the admins from this list, and then only if really really necessary.

Secondly, I posted the error message above, and it is not any different now than it was then.

And finally, you have made only 20 posts on this fourm so far. I have no idea who you are, or what you might do with admin access.

So, sorry... I'll just wait for Nathan to come along to answer my question, and help me fix my problem... The forums are working with out the mod active, so I am in no real hurry although I would like to get them fixed soon.

**TANSTAAFL**
Go to Top of Page

lir
New Member

USA
67 Posts

Posted - 18 August 2002 :  23:23:12  Show Profile
Fair enough. A couple of things then:

1. Have you tried logging out, closing your browser, then logging back in? One of the values this error is related to is stored in a cookie so maybe clearing that would help??

2. Another way to reset that value is to go into Admin options, go to Server Date/Time Config and re-submit the config.

3. What setting are you using in the Date/Time config?

Try that stuff. Its wierd, I'm running 3.4 with Active Users and we have the exact same inc_func_common file so I dont know what it is. Thats why I'm thinking it may be a local setting on your side, either cookie or database.

lir
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 18 August 2002 :  23:39:50  Show Profile  Send ruirib a Yahoo! Message
Rasir,

That "string" error may be due to comparisons being made with string values without using the strComp function. Check the line and verify if that is the case. Here is an example of a similar problem and the fix to it:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=30374#144709


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

gibson
Starting Member

Netherlands
8 Posts

Posted - 19 August 2002 :  11:23:02  Show Profile  Visit gibson's Homepage
uhm..., looks like this topic went into a totally different direction, but that's ok...
Could someone still have a look at my question, please?
Thanks in advance !
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 19 August 2002 :  18:30:26  Show Profile
nope, no luck...
still getting the following error

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: ""]'
/iceforums/inc_func_common.asp, line 731

**TANSTAAFL**
Go to Top of Page

lir
New Member

USA
67 Posts

Posted - 19 August 2002 :  18:51:18  Show Profile
Have you tried DELETING that file and starting with a fresh one. At this point, it wouldn't hurt, just to be sure...

lir
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 19 August 2002 :  20:34:06  Show Profile
the problem is within this function on inc_func_common.asp


function chkDate(fDate,separator,fTime)
if fDate = "" or isNull(fDate) then
if fTime then
chkTime(fDate)
end if
exit function
end if
select case strDateType
case "dmy"
chkDate = Mid(fDate,7,2) & "/" & _
Mid(fDate,5,2) & "/" & _
Mid(fDate,1,4)
case "mdy"
chkDate = Mid(fDate,5,2) & "/" & _
Mid(fDate,7,2) & "/" & _
Mid(fDate,1,4)
case "ymd"
chkDate = Mid(fDate,1,4) & "/" & _
Mid(fDate,5,2) & "/" & _
Mid(fDate,7,2)
case "ydm"
chkDate =Mid(fDate,1,4) & "/" & _
Mid(fDate,7,2) & "/" & _
Mid(fDate,5,2)
case "dmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,1,4)
case "mmdy"
chkDate = Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,7,2) & " " & _
Mid(fDate,1,4)
case "ymmd"
chkDate = Mid(fDate,1,4) & " " & _
Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,7,2)
case "ydmm"
chkDate = Mid(fDate,1,4) & " " & _
Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),1)
case "dmmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,1,4)
case "mmmdy"
chkDate = Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,7,2) & " " & _
Mid(fDate,1,4)
case "ymmmd"
chkDate = Mid(fDate,1,4) & " " & _
Monthname(Mid(fDate,5,2),0) & " " & _
Mid(fDate,7,2)
case "ydmmm"
chkDate = Mid(fDate,1,4) & " " & _
Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),0)
case else
chkDate = Mid(fDate,5,2) & "/" & _
Mid(fDate,7,2) & "/" & _
Mid(fDate,1,4)
end select
if fTime then
chkDate = chkDate & separator & chkTime(fDate)
end if
end function


with the line in red where the error is popping up...


**TANSTAAFL**
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 19 August 2002 :  20:36:20  Show Profile
well, some of my numerous other little bug fixes combined with changing the date format of the forums to US short date has fixed this!!!


**TANSTAAFL**
Go to Top of Page

lir
New Member

USA
67 Posts

Posted - 19 August 2002 :  22:21:58  Show Profile
What time setting were you using? I'd like to try it and see what happens to me.

lir
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 20 August 2002 :  03:23:00  Show Profile
So has anyone got the fix for this:

case "dmmy"
chkDate = Mid(fDate,7,2) & " " & _
Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,1,4)

I am having issues with 3.4 and this function. Any help would be great.

Cheers,

David Greening
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 20 August 2002 :  05:38:29  Show Profile  Visit masterao's Homepage
I was also recieving that error at first, but it went away after I re-applied the mod, applied all the bug-fixes and changed the default value for AURecord from 0 to 00000000000000 (14 characters).

I also added CInt to the function chkAURecord, as it didn't update the record for me.


if CInt(intTotalActiveUsers) > CInt(intAURecrod) then 'We have a new record!!! :)


and to


if CInt(intOldRecrod) > CInt(intTotalActiveUsers) then


After that, it worked for me.


Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 20 August 2002 :  05:44:05  Show Profile  Visit Nathan's Homepage
Ok, I've got 3 bugs to fix now.

1) The missing include in active_users.asp
2) Chagne 0 to 00000000000000 in dbs_
3) Tell people who are upgrading from a 3.3.x with Au4 installed not to run either database update file.

I'll update it in the morning (4.0.11). . . if I have missed any, please let me know guys, I would really like this to be absolutly bug free to match Snitz 3.4.01

Nathan Bales
CoreBoard | Active Users Download

Edited by - Nathan on 20 August 2002 05:45:31
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 20 August 2002 :  07:43:16  Show Profile
quote:
Originally posted by lir

What time setting were you using? I'd like to try it and see what happens to me.



medium UK date format

**TANSTAAFL**
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 20 August 2002 :  07:46:55  Show Profile
quote:
Originally posted by masterao

I was also recieving that error at first, but it went away after I re-applied the mod, applied all the bug-fixes and changed the default value for AURecord from 0 to 00000000000000 (14 characters).

I also added CInt to the function chkAURecord, as it didn't update the record for me.


if CInt(intTotalActiveUsers) > CInt(intAURecrod) then 'We have a new record!!! :)


and to


if CInt(intOldRecrod) > CInt(intTotalActiveUsers) then


After that, it worked for me.





where did you make all these changes at?

**TANSTAAFL**
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 20 August 2002 :  07:58:27  Show Profile  Visit masterao's Homepage
quote:
Originally posted by Rasyr
where did you make all these changes at?



I made the following change in the function chkAURecord(intTotalActiveUsers), a part of the code that is added in inc_func_common.asp for active users 4. There is two instances where CInt is to be added:

Look for


if intTotalActiveUsers > intAURecrod then 'We have a new record!!! :)


and change to

if CInt(intTotalActiveUsers) > CInt(intAURecrod) then 'We have a new record!!! :)


Then look for


if intOldRecrod > intTotalActiveUsers then


and change it to


if CInt(intOldRecrod) > CInt(intTotalActiveUsers) then


The other change is made in the database, in table CONFIG_NEW. The change should be for the C_VALUE (from 0) to 00000000000000, were C_VARIABLE is strAURecordDate.


Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page | 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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07