Forums

[resolved] tinyMCE error on Visual editor popups (2 posts)

  1. zerotres
    Member
    Posted 2 years ago #

    Hello,

    Today I upgraded Wordpress and began getting this error "tinyMCE object reference not found from popup" when I try to add a link or an image using Firefox. When using IE, I get a dialog box full of php code. I also notice that the content of the popup boxes are misaligned. For example, the add link popup has the insert button about 100 pixels below where it should be. I am also unable to close the dialog box and am forced to close the browser tab.

    Needless to say this is annoying. But it's only the second bug I've discovered (so far) from the upgrade, so that's a very positive thing. (The first was a UTF/special characters issue, quickly resolved searching google).

    I have carried on posting by turning off the visual editor from my profile, but -realistically- this is not a permanent fix. This is what shows up in the error console for Firefox.

    Error: this.frame.tinyMCEPopup.restoreSelection is not a function
    Source File: http://www.<website>.com/blog/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=20070528&theme=advanced&language=en&plugins=inlinepopups%2Cautosave%2Cspellchecker%2Cpaste%2Cwordpress&lang=en&index=0
    Line: 1320

    What is strange about this is that I performed a clean install of Wordpress for a friend a few weeks ago and didn't experience this problem. Very strange.

    If any developers need any more info, let me know.
    Thanks,
    Ernesto

  2. zerotres
    Member
    Posted 2 years ago #

    Installed 2.3.1 and this was fixed.

    But I traded one bug for another. I got the UTF-8 character issue (all special characters displaying as a question mark). I had seen this when I upgraded to 2.3 last week.

    I fixed that by adding

    $wpdb->query("SET NAMES utf8");

    as the final line in /wp-includes/wp-db.php

    My WP works now, but it's definitely not straightforward to upgrade right now, as long as that UTF-8 bug requires manual changes each time.

Topic Closed

This topic has been closed to new replies.

About this Topic