Author |
Topic |
|
fo3nix
Starting Member
21 Posts |
Posted - 17 May 2002 : 13:21:12
|
when modifying a member's profile, i get an error. it works fine when modifying members who are admins (including my own profile), but not general members or moderators.
i get an error on line 152, saying this:
Microsoft VBScript runtime error '800a005e' Invalid use of Null: 'Replace' /forum/inc_functions.asp, line 152
and, in my file, it is this line of code:
fString = replace(fString, "<b>","[b]", 1, -1, 1)
the file is modified, for different MODs, but this is the only place where an error occurs... and the string in question hasn't been modified from the original.. it shows part of the profile, but then stops after the username and title (and shows the error)...
i would be grateful of any help
Edited by - fo3nix on 17 May 2002 13:22:47 |
|
Nathan
Help Moderator
USA
7664 Posts |
|
fo3nix
Starting Member
21 Posts |
Posted - 18 May 2002 : 03:26:31
|
anybody who isn't an admin
|
|
|
fo3nix
Starting Member
21 Posts |
Posted - 18 May 2002 : 03:52:40
|
this is the part of the member profile that produces the error (right hand-side of page):
http://chrispoole.com/screen_dump.gif
<copy and paste that URL to see the picture... brinkster is being annoying..>
Edited by - fo3nix on 18 May 2002 03:54:41 |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 18 May 2002 : 04:06:51
|
Users arn't supposed to be able to modify their titles. Your problem is probably somewhere in your modifed code. Can you post a link to a text version of your inc_profile.asp ?
Nathan Bales Snitz Exchange | Do's and Dont's |
|
|
fo3nix
Starting Member
21 Posts |
|
Nathan
Help Moderator
USA
7664 Posts |
|
Hamlin
Advanced Member
United Kingdom
2386 Posts |
|
fo3nix
Starting Member
21 Posts |
Posted - 19 May 2002 : 07:14:55
|
i've not actually tried that yet.. gonna get this problem fixed first
the only mods i've used are Richard Kinser's Avatar2 mod, his Avatar mod of the mod to let members add their own avatars to the DB, the public announcements system, and the post.asp file fixed, so that the private forums remember the allowed members.
|
|
|
|
Topic |
|