Hi I use discuss, let me see if I can get you set right. Also if you are having other problems pls let me know.
If its not opening the page and going instead to the main or default page, that's going to mean its an error. Could it be an unpublished resource?
If the page doesn't even load, that doesn't sound like a bad snippet, which it seems to me would either really zero out the site and return an error, or would load but...the snippet itself wouldn't work or appear.
However, now that I think about it, with this stuff we are better starting with the standard snippet, then we can work with that to find out what is breaking things. So, I notice that while I assume your <<DiscussUpdateProfileLoader>> code is standard, your snippet is looking a little oversimplified. Also the problem could be the form which follows this, are you using the standard one?
My update profile is a bit of a mess of code, but here are the relevant bits:
[[!UpdateProfile?
&postHooks=`postHook.DiscussUpdateProfile`
&preHooks=`avatarUpload`
&useExtended=`1`
&excludeExtended=`email:required:email,display_name,show_email,show_online,Profile_Photos,use_display_name,signature,signature:allowTags,login-updprof-btn`
&validate=`nospam:blank,`']]
[[!DiscussUpdateProfileLoader]]
<h1>Update Profile</h1>
...
[[+login.update_success:is=`1`:then=`[[%login.profile_updated? &namespace=`login` &topic=`updateprofile`]]`]]
<form class="form" enctype="multipart/form-data" action="[[~[[*id]]]]" method="post">
...
<div class="form-buttons">
<input type="submit" name="login-updprof-btn" value="Save" />
</div>
</form>
</div>
Some of the useExtended, excludeExtended, validate terms might be needed. Also does your form have the other bits?
Finally, I just checked and the url of the update profile is
https://www.rayxilawforums.com/updateprofile.html?discuss=1, are you getting the same url?
Give a bit more info and I think we can work it out.