• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5903: Wysiwyg is not working after updating to 4.2.1

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Wysiwyg editor Normal Closed TWiki:Main.LuisMarceloAchite n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Hi,

Im trying to update to version 4.2.1 (from 4.2.0), but there is something wrong. After updating, when I try to edit a topic using the wysiwyg editor, I receive the following error: "There as a problem retrieving the page: Not Found". I applied the upgrade tar file and then the complete tar file, but the problem persists for both. I can not find any place where there is a mistake in directory names, so I returned back to 4.2.0 and will wait for a solution.

Regards.

Luis Marcelo Achite (lmachite@dirNOSPAM.iai.int)

-- TWiki:Main/LuisMarceloAchite - 08 Aug 2008

Luis, I hope that Crawford can give you a set of questions that will help us narrow down the issue. Can you begin by teling us about your OS, version, version of Perl, the versions of the Perl modules listed in Configure (prefereably from the 4.2.1 configure, as I made some improvements to it)

If you could set up a (private) paralell install of TWiki on that same system, it would be a massive help.

-- SvenDowideit - 09 Aug 2008

Also: any errors from the Apache error log (assuming you are using Apache). And, when you edit, when do you get the error? Immediately (before the editor is displayed) or in red in the edit area? And is your site configured to use UTF8?

-- TWiki:Main.CrawfordCurrie - 09 Aug 2008

Hi, Sorry for the delay in answering this. I didnt have internet access during this weekend. Answering your questions, Im using Linux Redhat Enterprise version 3 with kernel Linux 2.6.9-67.0.7.elsmp (i386-linux-thread-multi). Perl version is 5.008. Here are the list of perls modules: B::Deparse 0.63 installed CGI 3.15 installed Carp 1.01 installed Config Unknown version installed Cwd 2.06 installed Data::Dumper 2.12 installed Error 0.15 installed Exporter 5.567 installed FileHandle 2.01 installed File::Basename 2.71 installed File::Glob 1.01 installed File::Path 1.05 installed File::Spec 3.16 installed File::Temp 0.13 installed FindBin 1.43 installed MIME::Base64 2.12 installed POSIX 1.05 installed Socket 1.75 installed Archive::Tar 1.22 installed CGI::Cookie 1.26 installed CGI::Session 4.03 installed Locale::Maketext::Lexicon 0.49 installed Net::SMTP 2.24 installed. Version 2.29 optional may be required for sending mail Apache::Htpasswd 1.8 installed Digest::MD5 2.20 installed Digest::SHA1 2.10 installed Encode 1.83 installed Encode::compat 0.07 installed Getopt::Long 2.32 installed I18N::Langinfo 0.01 installed Lingua::EN::Sentence 0.25 installed Symbol 1.04 installed Unicode::MapUTF8 1.11 installed

About Apache, there is nothing on the logs.

About a private parallel installation, I set this and the problem still happens. Actually I installed version 4.2.2 and the problem persists.

Answering last question, the error message is displayed in red in the edit area. About UTF, yes it accepts as you can see from the configure list: HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7

Thanks for your prompt help on this.

Regards.

Marcelo

-- TWiki:Main.LuisMarceloAchite - 11 Aug 2008

My guess is that you are using URL rewriting rules. Check your access log, and make sure that the request that the browser emits after Tiny MCE first loads makes sense.

-- TWiki:Main.CrawfordCurrie - 11 Aug 2008

From the log (error_log) I can see the following:

 [Mon Aug 11 14:03:43 2008] [error] [client 150.163.35.22] ERROR: (404) Invalid REST invocation (WysiwygPlugin on tml2html), referer: https://iaibr3.iai.int/twiki_nv/bin/edit/Main/WebHome?t=1218474216. 
From access_log, I can see the following:
150.163.35.22 - - [11/Aug/2008:13:54:28 -0300] "POST /twiki_nv/bin/rest/WysiwygPlugin/tml2html HTTP/1.1" 404 65 "https://iaibr3.iai.int/twiki_nv/bin/edit/Main/WebHome?t=1218473615" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1". 
When trying to edit a topic under version 4.2.0, access_log returns the same log, but instead of "WebHome?t=1218473615", it returns "WebHome?twiki_redirect_cache=67359e6174ad25cff193df7273d92c3f". Any guess? Regards. Marcelo

-- TWiki:Main.LuisMarceloAchite - 11 Aug 2008

The "Invalid REST invocation" is the key part. It looks like there is compilation problem with the plugin, perhaps due to an error in the file permissions. Visit the TWiki.TWikiPlugins page, look at the FAILEDPLUGINS section and check that both WysiwygPlugin and TinyMCEPlugin are listed and there are no errors reported.

-- CrawfordCurrie - 12 Aug 2008

No, there is nothing there. As a tentative to solve the problem, I installed again Wysiwyg and TineMCE Plugins (installation process finished without problems), but the red message still persists when trying to edit a topic. What is curious is that the problem is not happening with version 4.2.0. I agree with you that could be something related with file permisssions. But the questions is WHAT file is having permission problems? Do you have some guess? Regards. Marcelo

-- TWiki:Main.LuisMarceloAchite - 12 Aug 2008

Sorry, but without access to your installation there is very little I can do. I would suggest that you insert debugging statements (e.g. print STDERR "Message\n"; which will print a message to the Apache error log) and isolate the reason why the rest script thinks it is an invalid invocation.

-- TWiki:Main.CrawfordCurrie - 13 Aug 2008

I see the situation. I uninstalled TinyMCEPlugin, and now when I try to edit a topic I return back to the non-wysiwyg editor. After this, I installed TinyMCEPlugin again and the error message returns back. frown I installed Twiki in another computer and the error message does not appear. this is really frustrating. Can you informe me where I should put "print STDERR". You mean the "rest" file under /bin? Regards. Marcelo

-- TWiki:Main.LuisMarceloAchite - 13 Aug 2008

Just looking back over your configuration, i note you are using RHEL 3. I have never tried TWiki on anything older than RHEL 4, and even that is looking rather old. There are likely to be problems with some of the older perl modules, including CGI, which may not be the cause of your current problems but will manifest themselves elsewhere. I would strongly recommend upgrading your OS, if that is possible, and your CPAN modules otherwise.

In answer to your question, starting in the bin/rest file, yes. You are trying to find out why the rest invocation is rejected.

-- TWiki:Main.CrawfordCurrie - 16 Sep 2008

Ok, thanks for your help on this. Im planning this upgrade for a near time. I will do that and then let you know if the problem is happening or not. Regards.

-- TWiki:Main.LuisMarceloAchite - 16 Sep 2008

I assume we are waiting for upgrade feedback from TWiki:Main.LuisMarceloAchite

I do not see this as a 4.2.4 release blocker.

-- TWiki:Main.KennethLavrsen - 18 Sep 2008

I am closing this old item, likely fixed in the latest plugin versions.

-- TWiki:Main.PeterThoeny - 2013-10-02

ItemTemplate
Summary Wysiwyg is not working after updating to 4.2.1
ReportedBy TWiki:Main.LuisMarceloAchite
Codebase 4.2.1
SVN Range TWiki-5.0.0, Sun, 03 Aug 2008, build 17280
AppliesTo Engine
Component Wysiwyg editor
Priority Normal
CurrentState Closed
WaitingFor TWiki:Main.LuisMarceloAchite
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r15 < r14 < r13 < r12 < r11 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r15 - 2013-10-02 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback