Author |
Topic |
Rasyr
Junior Member
USA
199 Posts |
Posted - 18 August 2002 : 23:05:52
|
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** |
|
|
lir
New Member
USA
67 Posts |
Posted - 18 August 2002 : 23:23:12
|
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 |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
gibson
Starting Member
Netherlands
8 Posts |
Posted - 19 August 2002 : 11:23:02
|
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 ! |
|
|
Rasyr
Junior Member
USA
199 Posts |
Posted - 19 August 2002 : 18:30:26
|
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** |
|
|
lir
New Member
USA
67 Posts |
Posted - 19 August 2002 : 18:51:18
|
Have you tried DELETING that file and starting with a fresh one. At this point, it wouldn't hurt, just to be sure... |
lir |
|
|
Rasyr
Junior Member
USA
199 Posts |
Posted - 19 August 2002 : 20:34:06
|
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** |
|
|
Rasyr
Junior Member
USA
199 Posts |
Posted - 19 August 2002 : 20:36:20
|
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** |
|
|
lir
New Member
USA
67 Posts |
Posted - 19 August 2002 : 22:21:58
|
What time setting were you using? I'd like to try it and see what happens to me. |
lir |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 20 August 2002 : 03:23:00
|
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 |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 20 August 2002 : 05:38:29
|
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 |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 20 August 2002 : 05:44:05
|
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 |
|
|
Rasyr
Junior Member
USA
199 Posts |
Posted - 20 August 2002 : 07:43:16
|
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** |
|
|
Rasyr
Junior Member
USA
199 Posts |
Posted - 20 August 2002 : 07:46:55
|
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** |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 20 August 2002 : 07:58:27
|
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 |
|
|
Topic |
|
|
|