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
 PM HELP Please....
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

maimai
Starting Member

8 Posts

Posted - 02 February 2004 :  01:24:33  Show Profile
After adding Private Messages Mod, I got this error.

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: ""]'

/myglobe_new/forum/inc_func_common.asp, line 662


This error displays when i go in one of the topics. I tried to edit topic.asp and edit this line, removing the additional ', M.M_PMRECEIVE'.. it works when i remove this. Note that there are 2 sql statement for this i'm refferring to the second statement.

strSql = "SELECT M.M_NAME, M.M_RECEIVE_EMAIL, M.M_AIM, M.M_ICQ, M.M_MSN, M.M_YAHOO, M.M_PMRECEIVE" & _


Any help would be HIGHLY APPRECIATED!

Here is my topic.asp code http://aopdev01.asiaonline.net.ph/topic.txt .

Edited by - maimai on 02 February 2004 01:27:12

masterao
Senior Member

Sweden
1678 Posts

Posted - 02 February 2004 :  07:59:34  Show Profile  Visit masterao's Homepage
Locate the following, starting on line 512 in your topic.asp:

		rM_NAME = 0
		rM_RECEIVE_EMAIL = 1
		rM_AIM = 2
		rM_ICQ = 3
		rM_MSN = 4
		rM_YAHOO = 5
		rM_PM = 6
		rM_TITLE = 6
		rMEMBER_ID = 7
                ...and so on


You need to increase the numbers marked red (and the rest of the numbers in that block of code in topic.asp), starting with 7 and ending with 23 for rM_SIG.

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

maimai
Starting Member

8 Posts

Posted - 03 February 2004 :  04:03:37  Show Profile
It works! This step is not included in the readme file. Big thanks to you Jan!
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 03 February 2004 :  07:59:39  Show Profile  Visit masterao's Homepage
It isn't explicitly mentioned that one must increase the numbers after after adding rM_PM = 6, that is true.

You're welcome.

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

jonnyglobal
Starting Member

20 Posts

Posted - 07 February 2004 :  14:47:41  Show Profile
There is a problem with this solution. I was getting the same error, but when I incremented my values, rM_sig ended up to be 24. With rm_Sig = 24 you get a run-time rM_sig out of range error.

I ended up having to ditch one of the variables that just happened not to be used elsewhere - rM_avatar as such:



rM_YAHOO = 5
rM_PM = 6
rM_TITLE = 7
rMEMBER_ID = 8
rM_HOMEPAGE = 9
rM_LEVEL = 10
rM_POSTS = 11
rM_COUNTRY = 12
'rM_Avatar = 12
rREPLY_ID = 13
rFORUM_ID = 14
rR_AUTHOR = 15
rTOPIC_ID = 16
rR_MESSAGE = 17
rR_LAST_EDIT = 18
rR_LAST_EDITBY = 19
rR_SIG = 20
rR_STATUS = 21
rR_DATE = 22
if CanShowSignature = 1 then
rM_SIG = 23
end if


This allowed my PM to work and not to get the run time error.

My only concern is when will the rM_Avatar perameter be needed and will it screw me later? I don't use avatars on my site now, but it is just a matter of time before I get to that install.

Anyone else run into this?

Regards,
Jonathan

Edited by - jonnyglobal on 07 February 2004 14:52:19
Go to Top of Page

jonnyglobal
Starting Member

20 Posts

Posted - 07 February 2004 :  14:50:18  Show Profile
>sorry, double post<

Edited by - jonnyglobal on 07 February 2004 14:51:22
Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 07 February 2004 :  20:24:33  Show Profile  Visit masterao's Homepage
Are you using the avatar mod? If not, then 'rM_Avatar shouldn't be here. If you are using it, then 'rM_Avatar should be 13, and rREPLY_ID should be 14, and so on.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page
  Previous Topic Topic Next Topic  
 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