SID-00394: Internal Server Error on WYSIWYG editor
| Status: |
Answered |
TWiki version: |
4.3.1 |
Perl version: |
5.008009 |
| Category: |
WysiwygPlugin |
Server OS: |
Solaris 10, x86 |
Last update: |
16 years ago |
When trying to edit a page using the WYSIWYG editor I receive the error "There was a problem retrieving the page: Internal Server Error" in the editor window.
I can edit within the window, and save using the Quiet Save button, but not the Save button.
In the error logs for Apache I see -"Premature end of script headers: rest" as the only error.
I'm using CGI as the script handler. And so far in my testing everything else on the installation is working fine: raw edits, restores, new page creation, etc. The FAILEDPLUGINS tag also shows no errors for any installed plugin.
--
ElizabethYoung - 2009-07-01
Discussion and Answer
I had this problem on Debian Etch. When trying to save page from WYSIWYG I was getting an error about missing
HTML::Parser module.
Installing
libhtml-parser-perl
should help.
See also:
CannotEditPages
--
JuriHudolejev - 2009-07-02
I can do a "perl -e 'use HTML::Parser' " without error, so I doubt I am missing that module, or any associated libraries.
The apache logs show only the error message I posted, there is nothing in TWiki's warn, error or debug logs. Debug is set to be on (1).
--
ElizabethYoung - 2009-07-02
The "Premature end of script headers" is usually related to issues with permissions or shebang. See related support questions:
PrematureEndOfScriptHeadersError,
CgiSessionNotFound,
RunawayViewProcesses. Please report back how you fixed it.
--
PeterThoeny - 2009-07-02
Reinstalled this morning. As suggested, this time I double-checked the shebang for the 'rest' script. WYSIWYG editor now loads the page properly.
The shebang has to be re-written when I installed because it references a perl installation I am not using.
Thanks
--
ElizabethYoung - 2009-07-02
Glad it worked out!
--
PeterThoeny - 2009-07-02
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.