Author |
Topic |
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 27 May 2005 : 03:53:26
|
Hi
I get the following error, when I installed the MOD:
Microsoft VBScript compilation error '800a0400'
Overflow: cLng
/gm-test/inc_func_secure.asp, line 46
See this behavior in my Tesforum at http://www.falger.ch/gmtest/topic.asp?TOPIC_ID=2 when you scroll down.
The PN works fine, but the posts behave strange. Sometimes only numbers are shown. (see http://www.falger.ch/gmtest/topic.asp?TOPIC_ID=155)
Please help.
Thanx, Fredy
|
Edited by - fredy on 27 May 2005 06:27:20 |
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 27 May 2005 : 03:59:38
|
Here is, what I have in Line 46:
strSql = strSql & " WHERE MEMBER_ID = " & cLng(fUser_Number) |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 27 May 2005 : 08:13:39
|
I don't see any errors on those topics you linked to. Can you provide a demo login so we can see if it's showing up for members? From the sounds of it, though, you may be able to fix it by double checking the changes you made to topic.asp, in particular those related to the numbering of the relpies array.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 27 May 2005 : 08:23:14
|
Hi
I found the error.
In Read.me it is written to add the String "rM_PM = 6" after the Yahoo one.
The Problem was, that after I had 2 values with 6, so I had to number the other entries correctly as shown below:
rM_NAME = 0 rM_RECEIVE_EMAIL = 1 rM_AIM = 2 rM_ICQ = 3 rM_MSN = 4 rM_YAHOO = 5 rM_PM = 6 rM_TITLE = 7 rMEMBER_ID = 8 rM_HOMEPAGE = 9 rM_LEVEL = 10 rM_POSTS = 11 rM_COUNTRY = 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
Thanks & greetings Fredy |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 27 May 2005 : 08:27:11
|
You're welcome Always be careful when a readme tells you to make changes to those numbers, make sure you follow the instructions exactly. Extra care should be taken if you have any other mods installed that have made changes to those numbers.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 28 May 2005 : 10:26:50
|
Now I have another Problem with that Private Message MOD.
New Members have turned the PN by default off.
How I can turn it on by default, when somebody makes a new registration ?
Thanx Fredy |
|
|
Ranko
Junior Member
400 Posts |
Posted - 29 May 2005 : 05:26:31
|
quote: Originally posted by fredy
Now I have another Problem with that Private Message MOD.
New Members have turned the PN by default off.
How I can turn it on by default, when somebody makes a new registration
If you haven't installed it yet to your forum the easiest way would be to open up your dbs file, find this: [ALTER] MEMBERS ADD#M_PMRECEIVE#int#NULL#1 [END]
and change the red 1 to 0. |
|
|
Ranko
Junior Member
400 Posts |
Posted - 29 May 2005 : 05:28:24
|
I was wrong, the default value of 1 is good, PMs are turned on by default. Changing to 0 would turn them of. |
|
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 29 May 2005 : 08:46:42
|
Hi Ranko
Thanx, but it ist that way, that new registrants have the PM turned off by default, eventhough I have the 1 set in the DBS.
Can I run the DBS File once more, or does this do any harm, if the Tables exist already ?
Greets Fredy |
|
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 29 May 2005 : 09:08:28
|
Also, I runned it again und I still have no dot in any radio on new registrants. That means, I do not have a dot in the PM Options, neighter by ON nor OFF.
|
|
|
fredy
Starting Member
Switzerland
33 Posts |
Posted - 29 May 2005 : 09:18:58
|
Hi Ranko
I solved it now by editing the database. I set the default directly on the table-field.
Thanx for all your support |
|
|
|
Topic |
|