• bublick

    (@bublick)


    Hi,
    I have a very popular problem.

    I have no working TinyMCE editor in my WP 3.5.2 I have no working tabs and unloaded bar in editor. When I’am writing something nothing appear. I can see entered text onlu using Ctrl+A.
    Before this troubles I had absolutely don’t working jQuery in my admin panel. I resolved it adding in config.php this lines

    if ( !defined('ABSPATH') )
     define('ABSPATH', dirname(__FILE__) . '/');

    I have read many faqs and forum question before ask here, but I hade no result. I tried to reinstall WP. Downgrade to 3.5, 3.5.1
    I would like to upgrade up, but I can’t cause I have multilanguage site and many translations aren’t ready to versions highter than 3.5.2

    My error log in chrome:
    Uncaught TypeError: Cannot call method ‘getCurrent’ of undefined popup.js:17

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.8.3:2

    Uncaught ReferenceError: switchEditors is not defined (index):329
    onclick

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter bublick

    (@bublick)

    I’ve updated. But the problem remained.
    Seems I’ll downgrade.

    kmessinger

    (@kmessinger)

    And what about a different browser?

    Thread Starter bublick

    (@bublick)

    In firefox 25.0.1 tried and in chrome 31.0.1650.57 m
    The same. Now try without plugins and with default theme. The same problems.
    At the beginig of wp-config.php I have:

    define('CONCATENATE_SCRIPTS', false);
    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');

    Chrome write:
    Uncaught TypeError: Cannot call method ‘getCurrent’ of undefined popup.js:17

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead. jquery.js?ver=1.10.2:4

    Uncaught ReferenceError: switchEditors is not defined

    And FireFox’s firebug:
    SyntaxError: missing ) in parenthetical
    ReferenceError: jQuery is not defined
    [Exception… “Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]” nsresult: “0x8000ffff (NS_ERROR_UNEXPECTED)” location: “JS frame :: chrome://browser/content/aboutDialog.js :: init :: line 14” data: no]

    When I used at the home local service was no problems. And my other sites hosted on another servers has no problems too. What can be the reason? PHP version 5.3.17
    Have problems only with pages that use TinyMCE or media-uploaders.
    ——————————————–
    page ../post-new.php?post_type=page
    loads with errors too (Chrome)
    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
    Uncaught TypeError: Cannot call method ‘getCurrent’ of undefined popup.js:17
    ‘KeyboardEvent.keyLocation” is deprecated. Please use ‘KeyboardEvent.location’ instead.

    but it works great!

    Today i update WordPress 3.9 and get this error also, seem to be downgrade

    Shonari

    (@shonari)

    Setting:

    define('CONCATENATE_SCRIPTS', false);

    in my wp-config.php fixed this issue I was having

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘switchEditors is not defined in TinyMCE’ is closed to new replies.