Author |
Topic  |
|
jgs
New Member

Netherlands
95 Posts |
Posted - 18 January 2009 : 06:43:15
|
When I try to change the ranking numbers I get the following error:
Admin Section Ranking Configuration
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cLng'
/forum/admin_config_ranks.asp, line 101
I found another topic about 'cLng' but the numbering in topic.asp is correct.
After that, I noticed I'd left the ranking number for advanced blanc, so the problem is solved, but it would be nice to have an "informative" error.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 18 January 2009 : 07:01:49
|
There is no error on that line in the original file. Please post a link to a copy of your "admin_config_ranks.asp" in .txt format for us to see.< |
 |
|
jgs
New Member

Netherlands
95 Posts |
Posted - 18 January 2009 : 13:24:08
|
Ok, here it is, line 101:
if cLng(Request.Form("intRankLevel1")) > cLng(Request.Form("intRankLevel5")) then < |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
 |
|
jgs
New Member

Netherlands
95 Posts |
Posted - 18 January 2009 : 13:27:06
|
Oops, you wanted a link:
www.govvd.nl/forum/admin_config_ranks.txt< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
Edited by - jgs on 18 January 2009 16:53:20 |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 18 January 2009 : 14:14:44
|
Close .... I need a link to the file in .txt format.< |
 |
|
jgs
New Member

Netherlands
95 Posts |
Posted - 18 January 2009 : 16:54:05
|
You now have, changed it.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 18 January 2009 : 17:47:45
|
There's nothing at all wrong with the file. In order to get an "informative" error, you would need to encapsulate each of the cLng comparisons as follows:
< |
 |
|
jgs
New Member

Netherlands
95 Posts |
Posted - 19 January 2009 : 13:42:01
|
Everyone? Wow, I think it's easier not to make a stupid mistake as I did leaving a field blanc.
Thanks.< |
Info about my forum: http://www.govvd.nl/forumsoftware.htm list of Mods included. Most of userinterface translated into Dutch. |
 |
|
|
Topic  |
|