Tags:
create new tag
view all tags

Question

Every time a user tries to use (that is "submit") the ChangePassword or ResetPassword forms, the oopsmanage template is displayed and the password is not changed/reset.

Our installation can be found at http://lenz.uni-koblenz.de/twiki (you can use user:WikiGast pwd:gast for the guest account). Change/ResetPassword are available at http://lenz.uni-koblenz.de/twiki/bin/view/Allgemein/ResetPassword and http://lenz.uni-koblenz.de/twiki/bin/view/Allgemein/ChangePassword

Environment

TWiki version: TWikiBetaRelease2003x12x18
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, EditTablePlugin, RenderListPlugin, SectionalEditPlugin, SlideShowPlugin, SmiliesPlugin, TWikiDrawPlugin, TablePlugin, TocPlugin
Server OS: SuSE Linux 9.0
Web server: Apache 1.3.28
Perl version: Perl 5.8.1, mod_perl/1.28
Client OS: Windows and Linux
Web Browser: Any

-- ChristianKohl - 09 Jun 2004

Answer

Problem solved. The Dec18 version made some changes to the scripts in /bin which I overlooked. See passwd and manage for examples.

-- ChristianKohl - 09 Jun 2004

Hi Christian, Would you mind documenting what changes you had to make? It seems I have the same problem on my install.

Thanks. M.

-- MartinCleaver - 11 Jun 2004

This looks like mixing old and new versions of templates and scripts.

-- PeterThoeny - 15 Jun 2004

Hi Martin,
my problem was caused by the Dec18 update. I always backup the data-directory to later copy it back, overwriting the new install. Thus the Reset/ChangePassword-pages were still "old" whereas the scripts in bin had changed. They're assuming different parameters now and the ChangePassword-form no longer calls the passwd script (which is only used for reset) but rather the manage script. (This is the Dec18 version - don't know about later betas!). So I had to change the "form action"-tag and the "input hidden"-tag in both Reset/ChangePassword:

ResetPassword should look like this:

<form name="passwd" action="%SCRIPTURL%/passwd%SCRIPTSUFFIX%/%MAINWEB%/%HOMETOPIC%" method="post">
...
<input type="hidden" name="installPasswd" value="requestReset" />

ChangePassword should look like this:

<form name="passwd" action="%SCRIPTURL%/manage%SCRIPTSUFFIX%/%MAINWEB%/%HOMETOPIC%" method="post">
...
<input type="hidden" name="TopicName" value="%TOPIC%" /> | <input type="hidden" name="action" value="changePassword" />

Hope that helps. If not, you're probably running a different beta and you'll have to model the Change/ResetPassword-pages after the scripts in bin.

-- ChristianKohl - 17 Jun 2004

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-06-28 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.