ignotus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Visual Editor not working in 2.2I have upgraded to 2.2.1. This did not solve the problem. After some experimentation I determined that the gzipped version of TinyMCE was not loading. I suspect some resource issue or server setting is to blame, but have not isolated it.
One solution is to edit script-loader.php, line 29:
/* $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '20070326' ); */ $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce.js', false, '20070326' );
Above, I have commented out line 29, which calls tiny_mce_gzip.php, and added the next line, which calls tine_mce.js.
This substitution allows me to use TinyMCE to edit posts.
Unfortunately, the TinyMCE Editor has disappeared completely from the Comments editor. It doesn’t even seem to be loaded by the header scripts. I have combed through WordPress settings, thinking there must be some obvious setting I have overlooked, but have not located it. Worse yet, the Comments editor insists on converting markup to ASCII–it wraps a comment in <p></p> tags, then converts the tags and wraps the comment again every time I edit and save. Not out of the woods yet.
One thing I noticed, using TinyMCE in project I am developing: in FireFox, loading TinyMCE in the BODY instead of in the HEAD of an HTML page will usually result in TinyMCE failing to load.
HTH,
— Paul
Forum: Fixing WordPress
In reply to: Visual Editor not working in 2.2I continue to experiment with WP 2.2, to no joy. Setting .js and .php file permissions to 755 has not helped (this was a solution for someone else, so it seemed worth a try).
The fundamental issue appear to be that not all JavaScripts are loading or at least not loading at certain critical points.
Forum: Fixing WordPress
In reply to: Visual Editor not working in 2.2Hm. My problems show up on a new, bare bones installation, so it’s not likely to be a plug-in problem. The TinyMCE buttons do show for Comments, but they enter HTML markup into the text area, not rich text. In addition, my RSS feeds were broken–the first line of the XML doc was blank, with the XML header on the second line.
In my installation there are several problems. Many seem to be related to how JavaScripts are loading and executing. I dialed back to 2.0.9 (keeping my 2.2 installation to see if I can eventually debug everything), where everything just works.
Could be an issue with what hosting services support, too, though the PHP and MySQL installations on my host are very current. There are quite a few threads on this and simlar problems.
Forum: Fixing WordPress
In reply to: Visual Editor not working in 2.2I am having the same problem of no TinyMCE buttons, everything in HMTL. FireFox 2.0.0.3 Mac’s error console reports that “realtinyMCE is not defined” and similarly “switchEditors is not defined” when I attempt to swich by clicking the Code button.
Here’s the interesting part: If I submit a comment to a post and then edit it, TinyMCE shows up, in all its useful splendor. I still get the “tinyMCE is not defined” error on line 147 of the page (/wp-admin/comment.php?action=editcomment&c=2), but at least it is functional.