You should not just "view source" of the portal page, edit it, and then upload it. In doing so, the page loses some important internal macros. You should edit the original modified source, or attempt to "fix" the tags that were lost. See the sample code for a default portal page to see what those are, things like
<form method="post" action="$PORTAL_ACTION$">
and
and other such things that may have been used.</form>