Author |
Topic  |
|
sterling
Starting Member
USA
21 Posts |
Posted - 02 June 2002 : 22:57:40
|
I have encountered some issues with the User Fields Mods.
1) The modification to the config.asp from the readme is <!--#include file="mod_config.asp"-->
except there is NO such asp file. This causes errors on the default page. There is an inc_mod_config.asp file from the Mod so I changed the config.asp to reference that file instead. I am not sure if this is a readme error or I did something wrong since I don't really know ASP. This seemed to fix the error. Let me know if I did this wrong and this might be causing the other errors.
2) When I go the Admin panel, then to the Admin for User Fields I attempt to Enable User Fields, I hit the Set button, it says completed and when it attempts to go back to the Forum I recieve this error: Microsoft VBScript runtime error '800a01a8'
Object required: 'my_Conn'
/board/inc_mod_config.asp, line 18
I assume I must have missed something when setting things up, I am running SR5, and the only other mod I should have is the Email Random Password, which appears to be working fine.
My forum install can be found at: http://dragoncrest.com/board
The asp file codes can be found at: http://dragoncrest.com/board/inc_mod_config.txt http://dragoncrest.com/board/admin_user_fields.txt
I have also searched on the Magicmushroom.org web-page and I was unable to find a reference to my problem. I found reference to similar error message, but not exactly the one I am recieving.
Thanks in advance for any advice, Sterling
|
|
andrewteg
Starting Member
USA
14 Posts |
Posted - 03 June 2002 : 13:16:50
|
From workin on that myself before I think it's a typo. Version 2 of the User Fields MOD uses mod_config.asp without the inc. It is included in HuwR's download at the magicmushroom.co.uk site but I haven't seen it separate anywhere to download it.
Hope that helps some, Andrew
Thanks, Andrew ---------- http://emoneyagent.com |
 |
|
sterling
Starting Member
USA
21 Posts |
Posted - 04 June 2002 : 00:52:39
|
I downloaded the User Fields MOD from here under the MOD Completed Add-Ons Forum. Is this the wrong place to pull this Mod? Is the latest version at the above Forum?
The Readme says: Configurable User Fields v2.0 However, under the Mod Commander, it lists as version 1.00. Does anyone know which is correct?
I had some other issues with the pop_profile and inc_profile, but I fixed them by carefully re-adding the code from both the User Fields and Email Random Password Mod. But I have been unable to figure out where I went wrong with Number 2 from the first post in this topic.
Does anyone have any advice for that issue?
Thanks, Sterling
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 June 2002 : 05:08:01
|
you should change ALL instances of inc_mod_config.asp to mod_config.asp, you obviously have a stray reference somewher, as your error refers to this file
|
 |
|
sterling
Starting Member
USA
21 Posts |
Posted - 04 June 2002 : 10:10:38
|
Huwr,
I had previosly made changes so that all references pointed to inc_mod_config.asp hoping to avoid mistakes like that.
Changing both references to mod_config.asp did not fix the problem now I get this error:
Microsoft VBScript runtime error '800a01a8'
Object required: 'my_Conn'
/board/mod_config.asp, line 18
I found only the two references to either asp name, the file name itself and the entry in config.asp, did I miss one ?
Maybe it is becuase I am a C programmer and not an ASP programmer, but it looks like it is finding the file referenced just fine.
Did I misinterpret what you meant by "stray reference"?
Thank you for any assistance you can give! Sterling
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 June 2002 : 10:23:03
|
quote:
/board/inc_mod_config.asp, line 18
That is what I meant by stray reference, since they should be referring to mod_config not inc_mod_config
did you add the include in the correct place ? it should go after the my_conn definition, not before
|
 |
|
sterling
Starting Member
USA
21 Posts |
Posted - 04 June 2002 : 19:13:59
|
Wheh, I did understand you comment about stray reference properly then. 
quote: did you add the include in the correct place ? it should go after the my_conn definition, not before
I am not sure I understand your quote above. Perhaps you could clarify which code on which page you are refering to. The include (I assume #include statement in the config.asp) doesn't seem to work anywhere but as specified in your readme. I followed the readme instructions (pasted below) for the config.asp file. If I put it anywhere else, the forum errors on the default page, if I put it at the very end then I have the same error message as my post above: README QUOTE for CONFIG.ASP At the very top of the file, line 1, above the
<% '#####################################################
Add: <!--#include file="mod_config.asp"--> Next, below this line Application.UnLock
Add: LoadModConfig()
Finally, above this line
if strSecureAdmin = "0" then
Add: ReadModConfig()
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 June 2002 : 19:31:46
|
could you mail me your mod_config.asp I will take a quick look at it, you are including it correctly as the 1st line of the file.
email huw@forum.snitz.com
|
 |
|
|
Topic  |
|