tinyMCE is not defined error

Topics: ASP.NET 2.0, Controls
Sep 14, 2011 at 12:53 PM

Hello,

I'm using BlogEngine 2.5 as the essential part of our internal communications. It's a great product!

However, when I recently opened up a secondary blog, using BlogEngine's own "Add Blog" function, I am unable to create new posts, unable to submit the form and unable to include files, videos e.t.c. The error message generated by the browser is "tinyMCE is not defined".

I desperately hope that someone has the answer to this problem.

Sep 15, 2011 at 12:29 AM

The native settings in BlogEngine case an error when referencing the tiny_mce.js when using sub directory blogs. The solution is to provide absolut URLs to the following .js files:

http://vedablog.corp.bayadv/admin/jquery.colorbox.js
Reference made from the file /admin/tinyMCE.ascx

http://vedablog.corp.bayadv/editors/tiny_mce_3_4_3_1/tiny_mce.js
Reference made from the file /admin/Posts/Add_entry.aspx

This solved the problem for me.

Love it when you answer your own questions!