SID-01431: Error while Installing TopicClassificationAddOn into a web
| Status: |
Answered |
TWiki version: |
5.1.1 |
Perl version: |
5.8.8 |
| Category: |
CategoryPlugins |
Server OS: |
RedHat Linux |
Last update: |
14 years ago |
Hi,
I am getting the following error when I try to install the
TopicClassificationAddOn into a web.
The save script can only be called with POST method. Example:
<form name="new" action="%SCRIPTURLPATH{save}%/Sandbox/" method="post"> ... </form>
Can someone help me with this please? Thanks in advance for your help.
--
ShyamaPrasad - 2012-03-21
Discussion and Answer
As indicated, all forms in TWiki topics must have a
method="post" argument. This is for security. The add-on apparently has not been updated to do that.
TWiki is open source software. I invite you to
get involved, fix/enhance part of TWiki, and contribute it back to the community. For TWiki extensions see
ReadmeFirst.
--
PeterThoeny - 2012-03-21
Thanks for the response Peter.
I changed the code to the below and it still doesnt work.
<form name="new" action="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%INTURLENCODE{"%WEB%"}%/" method="POST"> <input type="text" name="search" size="22" /> <input type="submit" value='%MAKETEXT{"Search"}%' />
(
%MAKETEXT{"advanced search"}%) </form>
Any ideas what could be wrong. Thanks again.
--
ShyamaPrasad - 2012-03-22
There is probably more than one form. The
search script does not need the
methof="post", only scripts that change content, such as
edit and
save scripts.
--
PeterThoeny - 2012-03-22
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.