SID-01018: Preview in "Edit" mode?
| Status: |
Unanswered |
TWiki version: |
4.3.2 |
Perl version: |
perl-5.10.1-10mdv2010.1 / apache-mod_perl-2.0.4-13mdv2010.1 |
| Category: |
CategoryEditing |
Server OS: |
Mandriva 2010.1 |
Last update: |
15 years ago |
Firefox 3.6.10
Okay, I'm a total
TWikiNoob, but I've worked with pmwiki, dokuwiki, and mediawiki extensively, so I should think this was not something I would have to struggle with... So anyway, I go in to "Edit" my newly installed front page, and there is absolutely no obvious way to preview before saving... There is the little "AccessKeys" tip at the bottom of the edit page that seems to say that Shift-Alt-P might be a preview function, but this does nothing at all.
So while waiting to see if anyone is alive on #twiki @ freenode, I start googling, poking, and eventually click into Raw Edit. There, big-as-Dallas, is a Preview button right in plain sight. What the hay? Where is preview for whatever not-Raw editing is.
I see by searching this site that for some WYSIWYG editor plug-in that preview is disabled for some reason or another (and because WYSIWYG
is a preview)
, but there is no way the editor I was in is WYSIWYG.
Am I missing something basic here? Everyone will use the big giant "Edit" before messing around with something at the bottom of the screen that says "Raw Edit". I guess in a way, that means I have solved
my problem, except that now every user that starts trying to use the site will be faced with the same dilemma I was.
--
KevinBulgrien - 2010-11-09
Discussion and Answer
I see the error_log is full of TWiki complaints... a lot say something about nowysiwyg=0 which I take to mean it might think there is a wysiwyg plugin, though there is the presence of nowysiwyg=1 when I did my Raw Edit. Maybe I was in wysiwyg edit mode? Confusing. The view was full of unexpanded stuff and code-like statements (that I didn't type in). I guess it could have been sort-of wysiwyg in that bullet lists were rendered as bullet lists, and not raw code, but its certainly not what I'd call a preview.
[Mon Nov 08 20:05:34 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:05:34 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289268125;nowysiwyg=0
[Mon Nov 08 20:06:32 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:06:32 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289268125;nowysiwyg=0
[Mon Nov 08 20:18:30 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:18:30 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289268125;nowysiwyg=0
[Mon Nov 08 20:19:36 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:19:36 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/view/TWiki/AccessKeys
[Mon Nov 08 20:21:31 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:21:31 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/view/TWiki/AccessKeys
[Mon Nov 08 20:27:24 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289268125;nowysiwyg=0
[Mon Nov 08 20:27:26 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289268125;nowysiwyg=0
[Mon Nov 08 20:27:29 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289269644
[Mon Nov 08 20:28:05 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289269644
[Mon Nov 08 20:28:07 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:28:07 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/KevinBulgrien?t=1289269644
[Mon Nov 08 20:28:32 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:28:32 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/view/Main/KevinBulgrien
[Mon Nov 08 20:28:38 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/view/Main/WebHome
[Mon Nov 08 20:28:41 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/WebHome?t=1289269713;nowysiwyg=0
[Mon Nov 08 20:31:00 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/WebHome?t=1289269713;nowysiwyg=0
[Mon Nov 08 20:31:01 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:31:01 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/WebHome?t=1289269713;nowysiwyg=0
[Mon Nov 08 20:34:08 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/view/Main/WebHome
[Mon Nov 08 20:34:32 2010] [error] [client 192.168.1.1] Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/edit/Main/WebHome?t=1289269862;nowysiwyg=1
[Mon Nov 08 20:59:31 2010] [error] [client 192.168.1.1] [Mon Nov 8 20:59:31 2010] view: Use of uninitialized value in string eq at /usr/share/twiki/lib/TWiki/Users/TWikiUserMapping.pm line 471., referer:
http://192.168.1.250/twiki/bin/configure
--
KevinBulgrien - 2010-11-09
Ok, I see from trying to edit that mess of a log that this preview thing isn't a deal only with my wiki, but its apparently a "feature". Where do I turn it off.
--
KevinBulgrien - 2010-11-09
Disable of plugins is in "configure".
--
KevinBulgrien - 2010-11-09
And preview has no way to return back to editing without save... Back button and save gives "Invalid Crypt Token".
--
KevinBulgrien - 2010-11-09
A TWiki administrator can enable/disable the crypt token based CSRF protection with the {CryptToken}{Enable} configure setting.
--
KevinBulgrien - 2010-11-09
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.