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: General / Classic ASP versions(v3.4.XX)
 error when modifying member's profile
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

fo3nix
Starting Member

21 Posts

Posted - 17 May 2002 :  13:21:12  Show Profile  Visit fo3nix's Homepage
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

Posted - 18 May 2002 :  02:54:39  Show Profile  Visit Nathan's Homepage
Is this all usernames or just one?

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

fo3nix
Starting Member

21 Posts

Posted - 18 May 2002 :  03:26:31  Show Profile  Visit fo3nix's Homepage
anybody who isn't an admin

Go to Top of Page

fo3nix
Starting Member

21 Posts

Posted - 18 May 2002 :  03:52:40  Show Profile  Visit fo3nix's Homepage
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
Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 18 May 2002 :  04:06:51  Show Profile  Visit Nathan's Homepage
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
Go to Top of Page

fo3nix
Starting Member

21 Posts

Posted - 18 May 2002 :  06:50:51  Show Profile  Visit fo3nix's Homepage
inc_profile.asp

inc_functions.asp



Go to Top of Page

Nathan
Help Moderator

USA
7664 Posts

Posted - 18 May 2002 :  15:25:28  Show Profile  Visit Nathan's Homepage
Thats the origional inc_profile, not the modified one.

Nathan Bales
Snitz Exchange | Do's and Dont's
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 18 May 2002 :  16:42:45  Show Profile
I know you were asking about the title the other day....could my change have broken it...

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=28228


all tho it does work for me

.:: Brother Beyond::.
Go to Top of Page

fo3nix
Starting Member

21 Posts

Posted - 19 May 2002 :  07:14:55  Show Profile  Visit fo3nix's Homepage
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.

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.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07