SID-00209: WYSIWYG Editor Pop Up Windows
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
5.008008 (darwin) |
| Category: |
CategoryPlugins |
Server OS: |
Mac OS X 10.5.6 |
Last update: |
16 years ago |
In just upgraded my twiki from 4.1.0 to 4.2.4. Everything works fine except the editor. Every button that creates a pop-up window, such as the window you get when you try to insert a link, creates a pop-up window with java script code instead of the buttons, etc. you expect to see when you try to insert a link. Same happens when for example you try to change the color of text. Here is a sample of part of the code I see in the top of the pop-up window:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$lang_insert_link_title}</title>
<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
<script language="javascript" type="text/javascript" src="../../utils/form_utils.js"></script>
<script language="javascript" type="text/javascript" src="../../utils/validate.js"></script>
<script language="javascript" type="text/javascript" src="jscripts/link.js"></script>
<base target="_self" />
</head>
<body id="link" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
<form onsubmit="insertLink();return false;" action="#">
<div class="tabs">
<ul>
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_link_title}</a></span></li>
</ul>
</div>
I have looked at all settings, but I can not figure out what is going wrong. It happens on any computer I have tried so far; when I edit a page on twiki.org, I have no problems. Any suggestions and ideas are very welcome!
Frank Wolfs
wolfs@pasPLEASENOSPAM.rochester.edu
--
FrankLHWolfs - 20 Mar 2009
Discussion and Answer
Found the solution to this problem: in the twiki_httpd.conf I changed the following line:
AddType text/plain .html .htm .shtml .php .php3 .phtml .phtm .pl .py .cgi
to
AddType text/plain .html .shtml .php .php3 .phtml .phtm .pl .py .cgi
Note: I removed the .htm. After restarting the apache server and clearing the caches of the browser, the pop-up windows now function as expected.
--
FrankLHWolfs - 20 Mar 2009
Thanks for reporting the solution!
--
PeterThoeny - 20 Mar 2009
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.