|
Cookbook /
RichEditBugsI have installed Richedit on my server (Apache2 with perl module) and when I try to edit a page I'll get no error, but also no edit page; only the right menu, the page title and immediatly after that, the footer of the page. I'm missing something? 2006/December/07 Mitsuhashi (mitsuhashi_DOT_da_AT_gmail_DOT_com) I have installed RichEdit on my server with ActivePerl. The textbox appears as expected, however, any pre-existing text does not populate in the textbox. Also, nothing entered into the RichEdit box is saved to the page. This happens regardless of which web browser is used. In Firefox the JavaScript Console reports the following error: Error: [Exception... "'Permission denied to get property HTMLDocument.title' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
I am not sure if this is the root cause of the problem. Any help is appreciated. Thank you. SAME Problem, without any javascript error message
Using:
Apache 2.0.55
ActivePerl 5.8.7.815
PHP 5.1.1
Problem by EW: Tried to install it on XAMP-Installation.
Problem:
Reasoning:
copy and paste from screen output Editing Main.HomePage %25block class=wikiaction%25%0a%0a (:table cellspacing='0' cellpadding='0' bgcolor='#eeeeff' style='font-size:12px; font-family:Arial;' bgcolor='#eeeeff':)%0a (:cellnr:)This wiki now features a word processor style editor which allows you to see your formatting without needing to use Save or Preview. You can also paste from word processors such as Microsoft Word, OpenOffice.org, WordPad, or even other web pages.%0a%0a * If you are having problems, or would simply prefer to use a plain text editor, click here.%0a%0a * To learn more about the rich text editor, click here.%0a (:tableend:)%0a%0a(:messages:)%0a (:div id='wikiedit':)%0a After the above output, the original GuiEdit icons are rendered. then \\%0a, then the TinyMCE box, etc... dw September 22, 2005, at 02:02 AM Do you mean you're seeing this when you try to edit a page, or it's getting saved in place of your edited wiki page? --Russell
Have tried all of the above and currently haven't made any progress; going to try and move over to ActivePerl 5.8, see if anything changes at all. I completely fail to understand why it's rendering the unicode characters as plain text, especially seeing as you say it's not even touching PERL there. Perplexing. Good work so far though, and good luck with it. Where's this Mailing List? -- dw September 28, 2005, at 02:16 AM Problem : I'm using EnableGUIButtons = 1 and the buttons toolbar shows when i use RichEdit I would like it to disapear and reapear if i choose to use normal edit. Nice to have : background color; and predefined styles; Congrats : great piece of work ! Andre' Carvalho Thanks! In RichEdit.EditForm, change (:e_guibuttons:) to (:if !richedit:)(:e_guibuttons:)(:ifend:) --Russell September 28, 2005, at 01:06 PM Problem1: Strange file paths when pmwiki located on other path than server root.
I had to make a hack to make richedit work on my server. I tried to locate the problem more exact, but I failed as I don't have enough time. I'm guessing that the problem occurs because my pmwiki-root is not physically located in my server root path, because my server root path keep appearing in the server logs. My set up looks similar to this: If my hack is disabled I get errors like this in my http-error.log: File does not exist: /usr/local/wwwroot/cookbook/richedit/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php File does not exist: /usr/local/wwwroot/cookbook/richedit/tinymce_config.js It does not help if I explicity set Richedit_WikiDir to Problem2: I can't set the editor back to richedit after I've set it to plaintext once.
I've tried to debug this myself. But I ended up with nothing. The only solution I've found is to remove the cookies. bengibollen October 15, 2005, at 09:25 AM Hi there, yet another problem, and very strange. In addition to problem 1 reported before, which i like that as well, i now discovered something else: Excerpt from my apache error log:
I couldn't find a .htaccess there, so I created one that is world-readable just to make sure, but didn't work. Suggestions greatly appreciated. I have the cleanUrl recipe set up, could the whole rewriting-stuff have anything to do with that? Thanks in advance. florian I'm not seeing the edit box, and when trying -bash-2.05b# ./WikiConverterWrapper.pl Required 'dialect' parameter is missing at WikiConverter.pm line 15. So, something is amiss?? --- Is this RichEdit still in development ? I am trying to install it but have many problems and I can see support is no more available ? No answer from Russel after the 28 september. I've a question here: I put the cgi-bin/ in the same dir as cookbook/. The configuration the RichEdit is as follows:
When I test it on a page, error occurs after I click the "save" botton:
and the original content of the page totally disappeared! As to the first Warning, I checked WikiConverter.php, and replace the line 18 of and test again:
still nothing remains. Is it the configuration problem or somthing else? thanks very much. And I think the possible reason that all content will disappear is caused by the insecurity of exec() of Perl language. A new process starts when exec() is invoked while control will not be turned back to its caller. On my windows machine this was because it could not find the .pm file. I set the sitelib registry key to point to my cgi-bin and it worked perfectly from there. Underlines don't seem to be supported all the way through. Same with "centered text". That is, if you have a word doc with underlines, and you cut-n-paste it into the rich edit window, you still see the underlined text, nicely. Then, when you click "save", you don't really get WYSIWYG. Specific things that are gone include underscores, centered text, and most indenting. Hopefully, this was the right place to list this bug. If not, my apologies. - Anonymous When installing on unix you will have to use dos2unix to convert all the CRLF to LF in at least the perl files. You'll need to do this if you get error log messages about "bad interpreter: /usr/bin/perl" - bragi0 |