Forums

[resolved] Error: could not find the template function (12 posts)

  1. grmweb
    Member
    Posted 3 years ago #

    When I click on the write button in WP2.0.1 and WP 2.0, I receive this error:

    Error: could not find the template function: TinyMCE_advanced_getEditorTemplate

    I am using FireFox to view the site. But strangely the same issue doesn't appear in IE.

    When I first saw the error I was using WP 2.0. I deleted everything from my server and installed WP2.0.1 in hopes the error would disappear.

    When I click publish in FireFox, the error reappears, but in IE nothing.

    Thank you for your help. :)

  2. grmweb
    Member
    Posted 3 years ago #

    Just wanted to let everyone know what happened, in case they experience the same problem.

    It turned out that once I deactivated the wp-icatter plugin, the strange message stopped.

    :)

  3. ajaysurie
    Member
    Posted 3 years ago #

    I'm having a similar problem with the same function, after a fresh install of WP 2.0.1 with no plugins installed.

    Like the previous poster, the problem only occurs in Firefox. Any ideas would be helpful.

  4. ardent11
    Member
    Posted 3 years ago #

    I'm having the same problem :( Wordpress 2.02 for me, i am geussing it is a plugin, not sure which though, but for you ajaysurie having no plugins installed, that is tough.

  5. naa
    Member
    Posted 3 years ago #

    I have a fresh install on WordPress 2.0.2 with no plugins and I am also getting this error in both IE and Netscape (viewed like FireFox).

  6. JohanStenseth
    Member
    Posted 3 years ago #

    I'm running 2.0 and also have this error message popping up. But it seems harmless.

    Or is there something I don't know about wich doesn't work?

  7. fossen
    Member
    Posted 3 years ago #

    I am getting this with a fresh install of 2.0.3.

    I recently had 2.0.2 running - with no error, and the WYSIWYG editor was working. I wiped clean that install, and did a clean install of 2.0.3, and only now get the error.

    I get it in both IE and Firefox.

  8. fossen
    Member
    Posted 3 years ago #

    I uploaded again, but this time instead of putting the files in my webroot, I added them to a "wordpress" folder. Now the error is gone, and the TinyMCE editor shows ... perhaps it's a path issue?

  9. godblessthefreaks
    Member
    Posted 3 years ago #

    It doesn't look like a very satisfactory resolution was found, even though it's marked "resolved".

    I'm getting this, both before I just upgraded to 2.0.3 and afterward. At some point the WYSIWYG editor just stopped working, but I don't recall anything extraordinary.

    At any rate, a simple grep shows that this message is generated on line 5851 of wp-includes/js/tinymce/tiny_mce.js . It looks like two lines earlier:

    var templateFunction = tinyMCE._getThemeFunction('_getEditorTemplate');

    isn't returning anything useful so it's displaying the message. I'm not that handy with JavaScript but I'll poke around to see what I can find.

  10. Xenia
    Member
    Posted 3 years ago #

    I'm having the same prob, too. Hope you get around the javascript. :-)

  11. ohbejoyful
    Member
    Posted 2 years ago #

    I just started having this problem recently, after having made no changes. Why is this marked resolved?

    The "preview" function is not working, even for posts that clearly are appearing on the blog. It thinks they're not on the server.

    So this sure sounds like it's a directory problem.

  12. ohbejoyful
    Member
    Posted 2 years ago #

    Go into Users / Profile and waaaay down at the bottom left, uncheck the box "Use visual rich editor". The error goes away, and the visual rich editor comes back. Go figure.

Topic Closed

This topic has been closed to new replies.

About this Topic