Author |
Topic |
sirsmiley
New Member
77 Posts |
Posted - 21 December 2002 : 06:01:28
|
Ok I am having some problems. I have set up new version 3.4.03, works fine. I installed active user mod 4.17, works fine. Now, I just installed Private message 34-340301 and it seemed like it was working right but now comes the problems....first the members link on the main page, ends up acting as the Home link,and also the private message link does the same thing when clicked goes to whats on the home link. 2nd when I go and open a topic, you can see the first , original posts, but after that all you see is a reply of:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cLng'
/inc_func_common.asp, line 809
I then reset the time to 24hr instead of 12 hr....well.......now when I go look at a topic, I can see the original post, but after that all the other post say ERROR ...all the way down, and the last post shows this inside.....
Microsoft VBScript runtime error '800a0006' Overflow: 'cLng'
/inc_func_secure.asp, line 50
Im not sure what to do now, I tried a search but wasn't able to find this exact problem. Anyone know what I should do? Any help would certainly be very much appreciated!! Thanks!
|
|
sirsmiley
New Member
77 Posts |
Posted - 21 December 2002 : 06:08:21
|
on that first error, here is line 804 through line 824 in inc_function_common_.asp
function chkTime(fTime) if fTime = "" or isNull(fTime) then exit function end if if strTimeType = 12 then 809~~~> if cLng(Mid(fTime, 9,2)) > 12 then chkTime = ChkTime & " " & _ (cLng(Mid(fTime, 9,2)) -12) & ":" & _ Mid(fTime, 11,2) & ":" & _ Mid(fTime, 13,2) & " " & "PM" elseif cLng(Mid(fTime, 9,2)) = 12 then chkTime = ChkTime & " " & _ cLng(Mid(fTime, 9,2)) & ":" & _ Mid(fTime, 11,2) & ":" & _ Mid(fTime, 13,2) & " " & "PM" elseif cLng(Mid(fTime, 9,2)) = 0 then chkTime = ChkTime & " " & _ (cLng(Mid(fTime, 9,2)) +12) & ":" & _ Mid(fTime, 11,2) & ":" & _ Mid(fTime, 13,2) & " " & "AM" else |
Edited by - sirsmiley on 21 December 2002 06:10:37 |
|
|
sirsmiley
New Member
77 Posts |
Posted - 21 December 2002 : 06:15:46
|
And on the second error, here is line 41-53 in Inc_func_secure.asp (By the way, I have never modified this file):
function getMemberName(fUser_Number)
dim strSql dim rsGetmemberName
'## Forum_SQL if isNull(fUser_Number) then exit function strSql = "SELECT M_NAME " strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS " 50~~~> strSql = strSql & " WHERE MEMBER_ID = " & cLng(fUser_Number)
set rsGetMemberName = Server.CreateObject("ADODB.Recordset") rsGetMemberName.open strSql, my_Conn |
Edited by - sirsmiley on 21 December 2002 06:20:40 |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 21 December 2002 : 09:05:07
|
First, have you allowed PMs for your forum? That can explain why you cannot go to the PM Inbox.
Then, for topic.asp, check the code you added for PMs in the replies section. The cause of the error is there, and not in inc_func_common.asp and inc_func_secure.asp. Could you provide a link to a text-version of your topic.asp?
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
sirsmiley
New Member
77 Posts |
Posted - 21 December 2002 : 19:21:31
|
Oh yeah I must add that the Pms actually work! I can send and recieve pms....its just that the rest of the whole forum is messed up. Thats where the problems are, when you look at the different topics that have been posted, you can see the first post, the original ones, but all the replies that used to be there only show an error now. this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cLng'
/inc_func_common.asp, line 809
I will take a look at topic.asp, this may sound pretty dumb, but how exactly do I put it in text format, and how would I set that up so that you can see? Thanks.
|
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 21 December 2002 : 22:38:03
|
No questions are dumb, but some answers may be .
To change the file type of any file, start windows explorer. Browse to the folder where you have the file. Copy the file to another folder. Rename the copied file and change the file extension from .asp to .txt.
When you have done that, upload the file to your website and then post a reply here with a link to the text-file.
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
sirsmiley
New Member
77 Posts |
|
sirsmiley
New Member
77 Posts |
Posted - 22 December 2002 : 01:07:06
|
By the way, if you want, let me know and I can turn the forum back on so you can go see what its doing. I have it down at the moment but can turn it on for you. Thanks |
|
|
sirsmiley
New Member
77 Posts |
Posted - 22 December 2002 : 07:21:33
|
Ok I think I got it fixed! In the topic.asp I added rM_PM=6 like the directions say, but ended up with double values I guess you would say like this:
rM_YAHOO = 5 rM_PM = 6 rM_TITLE =6
so, I changed the #'s from rM_TITLE all the way down through the rest that were listed. rM_TITLE=7, next one 8 etc. so far so good!
Now then, I still have some link probs and a few icon probs. The members link and private messages link when clicked act as though they are my Home link. Some of my pm icons, such as you have mail or no mail don't show up for some reason. I made sure they were added in my INC_ICONFILES.asp and the pic files were uploaded as well. Oh and I still have just one animated smiley that don't work either for some reason....it hasn't worked since before I added any mods to the new 3.4.03. They all work and show up in the reply box except for the dissapprove smiley. Its also included in the INC_ICONFILES.asp, and has been uploaded to the main directory as well. Any input would certainly be very much appreciated. Hope I haven't been to much of a problem! Thanks so much for your help. :) |
Edited by - sirsmiley on 22 December 2002 07:23:12 |
|
|
masterao
Senior Member
Sweden
1678 Posts |
|
sirsmiley
New Member
77 Posts |
Posted - 22 December 2002 : 08:34:00
|
Oh got it working! But for the main forum address I had to put http//www.alwaysjaci.123hostnow.com/ then it worked! :) Ok I will try and re upload the smiliey again! Thanks for all you help! :) |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 22 December 2002 : 08:49:11
|
Im glad to be of help. I tried to view the disapprove smilie, and it works, so I assume that everything works for you now.
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
sirsmiley
New Member
77 Posts |
Posted - 22 December 2002 : 08:52:43
|
Hummm, I re-uploaded the animated icon_smile_dissaprove.gif, but it still didn't work. So I tried the original, non animated one and it does work! humm pretty wild, I am pretty sure that animated one worked before in the old forum. hehe I guess its just something wrong with that particular one or something. Speaking of smilies, I was just wondering your opinion on which mod I should install, I saw smile manager and smile manager plus or something like that. Would the plus be better for 3.4.03 or do you know? Thanks again for everything! :)
Kevin |
|
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 22 December 2002 : 09:32:18
|
Kevin, I haven't used any of the smilie-mods, so I don't know. Ask this in a new topic in MOD Add-On Forum (W/O Code), and those who have used it might have an answer.
Im just glad to be of assistance.
|
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
sirsmiley
New Member
77 Posts |
Posted - 22 December 2002 : 18:14:07
|
Ok cool! Thanks so much for all your help Jan! I really appreciate all of your time. |
|
|
sirsmiley
New Member
77 Posts |
Posted - 28 December 2002 : 19:12:08
|
Hello, me again! LOL Sorry! I was just wondering, I still am having a lil problem with my PM. I still haven't figured that out about the icon that should show up when you don't have a new PM and the one that should be there when you do have a new PM. I have made sure the .gif's were uploaded and that they are also added to my INC_ICONFILES.asp. I haven't looked into it that much lately, but was still wondering about it. Any ideas? Oh and to let you know , I did add the Smile manager Plus Mod, had a few errors, but got it working fine now. :) Thanks ! |
|
|
Topic |
|