Error:'tinyMCE' is undefined
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Enthusiast
- Posts: 212
- Joined: Wed Nov 02, 2005 8:54 am
- Location: London and Cork
- Contact:
Re: Error:'tinyMCE' is undefined
Thanks,
I tried all of the solutions listed on the boards, then eventually found a solution. I loaded TMEeditor - it works
UPDATED
TMedit works up to a point. I can at least get the editor to load and text can be added with full styling. Most of the other 'buttons' works too, but not the Image Manager or File Manager. Looking on the boards this is a classic problem from TMedit, related to correcting the file locations. But again I get it work faultlessly on my system, (so the setup is correct) but it won't work for my client, or for me if if I log on via their network
I tried all of the solutions listed on the boards, then eventually found a solution. I loaded TMEeditor - it works
UPDATED
TMedit works up to a point. I can at least get the editor to load and text can be added with full styling. Most of the other 'buttons' works too, but not the Image Manager or File Manager. Looking on the boards this is a classic problem from TMedit, related to correcting the file locations. But again I get it work faultlessly on my system, (so the setup is correct) but it won't work for my client, or for me if if I log on via their network
Last edited by Mtif on Sat Feb 17, 2007 7:58 am, edited 1 time in total.
- fairywitch
- Joomla! Intern
- Posts: 87
- Joined: Mon Jan 01, 2007 7:14 pm
- Location: Germany
- Contact:
Re: Error:'tinyMCE' is undefined
Just wanted to note that if any of you are using the AdBlock Plus extension in Firefox, you will get blank pop-ups. I spent an entire evening a few days ago trying to get the editors to work in Firefox (tinymce and jce). Since the results were the same whether I added www. or not to the config file and the editors worked in IE either which way, I was sure it had to do with the browser. I had allowed pop-ups in Firefox, had temporarily allowed scripts globally through the NoScript extension etc and the editors still didn't work. This morning, on a whim, (why didn't I think of this before! *slaps forehead*) I disabled the AdBlock Plus extension and tried the editor. Et Voila. Everything works. YAY!
+~* http://www.fairywitch.net/*~+ - Blog & some joomla! info
+~* http://beewitched.fairywitch.net*~+ Sims 1 downloads
+~* http://beewitched.fairywitch.net*~+ Sims 1 downloads
-
- Joomla! Fledgling
- Posts: 2
- Joined: Thu Jan 04, 2007 10:58 am
Re: Error:'tinyMCE' is undefined
This worked for me, thanks! It appears in order to get TinyMCE to work without scripts errors in IE, you need to have the URL entered in your browser, exactly the same as the $mosConfig_live_site parameter.enlaceglobal wrote: Log-in as administrator with the same address to the registered live site (default doesn't include "www")
i.e: if your web address is http://www.yoursite.com
--------------------------------------------------------------------------
Edit configuration.php and find:
$mosConfig_live_site = 'http://yoursite.com/';
change to:
$mosConfig_live_site = 'http://www.yoursite.com/';
--------------------------------------------------------------------------
Eg. If you access your admin site with http://yoursite.com/administrator, you need $mosConfig_live_site = 'http://yoursite.com/' for TinyMCE to work as it should. If you access your admin site with http://www.yoursite.com/administrator, then $mosConfig_live_site = 'http://www.yoursite.com/'.
ps. this problem is still persistent in Joomla 1.0.12!
- b.sanjay
- Joomla! Enthusiast
- Posts: 235
- Joined: Wed May 09, 2007 7:53 am
- Location: Bangalore, Karnataka, India
- Contact:
Re: Error:'tinyMCE' is undefined
Hi there,
I'm currently working on Localhost,
I getting the error "'tinyMCE' is undefined",
Whenever I want to submint some content from frontend,
I added id ) initEditor(); ?>,
now sometime itz working sometime itz not
I'm currently working on Localhost,
I getting the error "'tinyMCE' is undefined",
Whenever I want to submint some content from frontend,
I added id ) initEditor(); ?>,
now sometime itz working sometime itz not
Thank you.
Regards,
Sanjay Beedi
Senior Software Engineer,
Construe Solutions, Hyderabad, AP, India
http://www.construesol.com/
Regards,
Sanjay Beedi
Senior Software Engineer,
Construe Solutions, Hyderabad, AP, India
http://www.construesol.com/
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Aug 18, 2005 10:41 pm
- Location: Detroit, MI
- Contact:
Re: Error:'tinyMCE' is undefined
yay - id ) initEditor(); ?> worked for me perfectly!
Thank you!!
Thank you!!
-Angie
Detroit Techno Militia
Detroit Techno Militia
- GarlicBred
- Joomla! Intern
- Posts: 86
- Joined: Fri Dec 22, 2006 2:56 am
- Location: Adelaide, Australia
Re: Error:'tinyMCE' is undefined
I just had this problem. Tried everything. I figured it was a permission problem because I had recently restored the site from backup & have had various permission problems ever since - not just chmod problems - file ownership problems - thats where you cant do anything with the files at all.
I solved the problem by uninstalling JCE component & mambot.
Trouble is that theres still files on the server - so I cant re-install. So I manually RENAME the JCE directories that are effected. Strangely I cannot delete them - only rename - and only the directories - not the files.
So having done that (& theres a few with JCE - to find them check the errors when re-installing)
Then just reinstall JCE & all is well again.
Hope that helps someone.
I solved the problem by uninstalling JCE component & mambot.
Trouble is that theres still files on the server - so I cant re-install. So I manually RENAME the JCE directories that are effected. Strangely I cannot delete them - only rename - and only the directories - not the files.
So having done that (& theres a few with JCE - to find them check the errors when re-installing)
Then just reinstall JCE & all is well again.
Hope that helps someone.
The greater our command over language, the sharper are the tools with which we disect reality.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Aug 18, 2005 10:41 pm
- Location: Detroit, MI
- Contact:
Re: Error:'tinyMCE' is undefined
-sorry this is off topic-GarlicBred wrote: I just had this problem. Tried everything. I figured it was a permission problem because I had recently restored the site from backup & have had various permission problems ever since - not just chmod problems - file ownership problems - thats where you cant do anything with the files at all.
I solved the problem by uninstalling JCE component & mambot.
Trouble is that theres still files on the server - so I cant re-install. So I manually RENAME the JCE directories that are effected. Strangely I cannot delete them - only rename - and only the directories - not the files.
So having done that (& theres a few with JCE - to find them check the errors when re-installing)
Then just reinstall JCE & all is well again.
Hope that helps someone.
In order to delete those files, contact your web host and ask them to CHOWN all the files in your directory so that you are the owner of the files. Sometimes when you use the joomla web upload to install components/modules/mambots, the server assigns "apache" as the owner of the file. That has happened to me before, and a quick call to my host fixed it.
-Angie
Detroit Techno Militia
Detroit Techno Militia
-
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Nov 12, 2007 9:18 pm
Re: Error:'tinyMCE' is undefined
For anyone out there still looking for the answer to this in Joomla 1.0.13 - This was the solution! Check your URL!!!twofeet wrote:This worked for me, thanks! It appears in order to get TinyMCE to work without scripts errors in IE, you need to have the URL entered in your browser, exactly the same as the $mosConfig_live_site parameter.enlaceglobal wrote: Log-in as administrator with the same address to the registered live site (default doesn't include "www")
i.e: if your web address is http://www.yoursite.com
--------------------------------------------------------------------------
Edit configuration.php and find:
$mosConfig_live_site = 'http://yoursite.com/';
change to:
$mosConfig_live_site = 'http://www.yoursite.com/';
--------------------------------------------------------------------------
Eg. If you access your admin site with http://yoursite.com/administrator, you need $mosConfig_live_site = 'http://yoursite.com/' for TinyMCE to work as it should. If you access your admin site with http://www.yoursite.com/administrator, then $mosConfig_live_site = 'http://www.yoursite.com/'.
ps. this problem is still persistent in Joomla 1.0.12!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Dec 14, 2007 1:47 am
Re: Error:'tinyMCE' is undefined
i am currently learning how to use joomla, i dont have it installed on a www server. I am running it on WAMP. This solution
cannot work since im using a local server the adress would be something like http://localhost/joomla/ . is there any other way of solving this problem?Edit configuration.php and find:
$mosConfig_live_site = 'http://yoursite.com/';
change to:
$mosConfig_live_site = 'http://www.yoursite.com/';
- SamTzu
- Joomla! Intern
- Posts: 52
- Joined: Wed Jun 07, 2006 7:18 am
- Location: Finland
- Contact:
Re: Error:'tinyMCE' is undefined
OK. This error is USUALLY caused by poorly made TEMPLATE.
If you want to keep using "Tiny" then just change your sites outlook by changing to some other template.
If you want to keep using "Tiny" then just change your sites outlook by changing to some other template.
------------------------------------
SamTzu
SamTzu
-
- Joomla! Fledgling
- Posts: 3
- Joined: Fri Dec 14, 2007 1:47 am
Re: Error:'tinyMCE' is undefined
the error occurred for me when using any template...even the default ones
- gregegan
- Joomla! Intern
- Posts: 54
- Joined: Thu Aug 03, 2006 11:12 am
- Location: Brisbane, Australia
- Contact:
Re: Error:'tinyMCE' is undefined
Hi
I've been using Joomla for about 18 months now and have experienced this error for the first time. Strangely it shows the page error for my client on her computer but not for me on my computer. It is only occurring when trying to insert images using the {mosimage} method, not when using the editor - which we are using FCK not tinyMCE. I have tried the solutions in this thread - I had already changed the livesite to www, I added the editor initalising code to the head of the template, I changed to another template that had the code already and had always worked well, I unpublished the no wysiwig editor mambot. No luck. Any ideas?
I've been using Joomla for about 18 months now and have experienced this error for the first time. Strangely it shows the page error for my client on her computer but not for me on my computer. It is only occurring when trying to insert images using the {mosimage} method, not when using the editor - which we are using FCK not tinyMCE. I have tried the solutions in this thread - I had already changed the livesite to www, I added the editor initalising code to the head of the template, I changed to another template that had the code already and had always worked well, I unpublished the no wysiwig editor mambot. No luck. Any ideas?
- b.sanjay
- Joomla! Enthusiast
- Posts: 235
- Joined: Wed May 09, 2007 7:53 am
- Location: Bangalore, Karnataka, India
- Contact:
Re: Error:'tinyMCE' is undefined
Check:
Mambot -> Type: Content -> MOS Image -> Published
Mambot -> Type: Content -> MOS Image -> Published
Thank you.
Regards,
Sanjay Beedi
Senior Software Engineer,
Construe Solutions, Hyderabad, AP, India
http://www.construesol.com/
Regards,
Sanjay Beedi
Senior Software Engineer,
Construe Solutions, Hyderabad, AP, India
http://www.construesol.com/
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Jan 22, 2009 10:33 am
Re: Error:'tinyMCE' is undefined
Been having lots of issues with Jevent Joomla! 1.0.15 Stable - Error via IE7 was:
Line - 669
Char 18
Code 0
tinyMCE is undefined
However this was after an attempted post... prior to this I got this error:
Line 1135
char 3
jceFunctions is undefined
code 0
What has worked for me was to set: JCE Editor Mambot - Absolute Paths = YES
Prior to this it was set to NO... it works in that I can now post however... if I try to hyperlink or ad an images it pulls up the wrong edit boxes... still need to investigate more... any help?
Line - 669
Char 18
Code 0
tinyMCE is undefined
However this was after an attempted post... prior to this I got this error:
Line 1135
char 3
jceFunctions is undefined
code 0
What has worked for me was to set: JCE Editor Mambot - Absolute Paths = YES
Prior to this it was set to NO... it works in that I can now post however... if I try to hyperlink or ad an images it pulls up the wrong edit boxes... still need to investigate more... any help?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Jun 17, 2009 9:55 am
Re: Error:'tinyMCE' is undefined
Hi everyone
I use currently Joomla 1.5.11 (with Wamp Server2) and i had the same "TinyMCE" problem (and more Javascript problems, particularly with the Administrator interface).
I solved it in a very simple way : I opened the configuration.php file (which is locate at the root project folder) and modify the $live_site var (which was empty) like this :
var $live_site = 'http://localhost/myJoomlaProjectFolder';
That solved all my problems
I use currently Joomla 1.5.11 (with Wamp Server2) and i had the same "TinyMCE" problem (and more Javascript problems, particularly with the Administrator interface).
I solved it in a very simple way : I opened the configuration.php file (which is locate at the root project folder) and modify the $live_site var (which was empty) like this :
var $live_site = 'http://localhost/myJoomlaProjectFolder';
That solved all my problems
- graleh
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Oct 05, 2009 6:27 pm
- Location: Malmoe
- Contact:
Re: Error:'tinyMCE' is undefined
What is a "mambot"?happy_noodle_boy wrote:tinymce.js does exist in the mambots/editors/tinymce/jscripts/tiny_mce/ folder.
So, you need to edit tinymce.php in mambots/editors/ and change
on line 145 toCode: Select all
<script type="text/javascript" src="$mosConfig_live_site/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
Code: Select all
<script type="text/javascript" src="$mosConfig_live_site/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
I do not have such thing..
And I have the same problem as the creator of this thread. One day I just could not make an article since it says "undefined".
Also, in my tinymce.php file, on line 145, it says:
Code: Select all
$content_css = 'content_css : "' . JURI::root() .'templates/system/css/editor.css"';
I have tried to add some text in the template index.php but it did not work.
I have also tried to change the editor to some other editor than tinyMCE but it didn't work either.
Kind regards,
Graleh
Graleh
- graleh
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Oct 05, 2009 6:27 pm
- Location: Malmoe
- Contact:
Re: Error:'tinyMCE' is undefined
What is JCE and how do I reinstall it?GarlicBred wrote:I just had this problem. Tried everything. I figured it was a permission problem because I had recently restored the site from backup & have had various permission problems ever since - not just chmod problems - file ownership problems - thats where you cant do anything with the files at all.
I solved the problem by uninstalling JCE component & mambot.
Trouble is that theres still files on the server - so I cant re-install. So I manually RENAME the JCE directories that are effected. Strangely I cannot delete them - only rename - and only the directories - not the files.
So having done that (& theres a few with JCE - to find them check the errors when re-installing)
Then just reinstall JCE & all is well again.
Hope that helps someone.
I haven't installed it at all before...
Kind regards,
Graleh
Graleh
- gregegan
- Joomla! Intern
- Posts: 54
- Joined: Thu Aug 03, 2006 11:12 am
- Location: Brisbane, Australia
- Contact:
Re: Error:'tinyMCE' is undefined
From your previous post - 'what is a mambot?' - a mambot was the old name for what is now called a plugin.
JCE is a very popular and powerful text editor that you can by visiting the Joomla Extensions Directory, browse under Edition. I also like JoomlaFCK editor. Download either one and install the same way you install any other Joomla extension. Once installed, you should be able to change the default wysiwyg editor through the global configuration.
JCE is a very popular and powerful text editor that you can by visiting the Joomla Extensions Directory, browse under Edition. I also like JoomlaFCK editor. Download either one and install the same way you install any other Joomla extension. Once installed, you should be able to change the default wysiwyg editor through the global configuration.
- graleh
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Oct 05, 2009 6:27 pm
- Location: Malmoe
- Contact:
Re: Error:'tinyMCE' is undefined
Aha, thank you for thatgregegan wrote:From your previous post - 'what is a mambot?' - a mambot was the old name for what is now called a plugin.
JCE is a very popular and powerful text editor that you can by visiting the Joomla Extensions Directory, browse under Edition. I also like JoomlaFCK editor. Download either one and install the same way you install any other Joomla extension. Once installed, you should be able to change the default wysiwyg editor through the global configuration.
I tried to find some information about what mambot is but I didn't understand very well. But now I do, thanks
I will also try the JCE editor for sure!
Once again, thank you for your understandable reply to a noob
Kind regards,
Graleh
Graleh
- graleh
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Oct 05, 2009 6:27 pm
- Location: Malmoe
- Contact:
Re: Error:'tinyMCE' is undefined
Now I have installed the JCE editor successfully and chosen it in the global settings.gregegan wrote:From your previous post - 'what is a mambot?' - a mambot was the old name for what is now called a plugin.
JCE is a very popular and powerful text editor that you can by visiting the Joomla Extensions Directory, browse under Edition. I also like JoomlaFCK editor. Download either one and install the same way you install any other Joomla extension. Once installed, you should be able to change the default wysiwyg editor through the global configuration.
But when I create a new article, I don't see the editor and when I try to save the text it still say: "undefined".
Kind regards,
Graleh
Graleh
-
- Joomla! Apprentice
- Posts: 20
- Joined: Tue Mar 16, 2010 7:53 am
- Contact:
Re: Error:'tinyMCE' is undefined
Hi,graleh wrote: Now I have installed the JCE editor successfully and chosen it in the global settings.
But when I create a new article, I don't see the editor and when I try to save the text it still say: "undefined".
I am also having the exact problem. Did you find a solution for this?
-OnlineSuresh-
- gregegan
- Joomla! Intern
- Posts: 54
- Joined: Thu Aug 03, 2006 11:12 am
- Location: Brisbane, Australia
- Contact:
Re: Error:'tinyMCE' is undefined
I don't know for sure, but one thing that occurs to me is that with JCE you need both a component and a plugin to be installed. At the JCE website you can download them separately or as one package. I normally use the JCE 1.5.6/1.5.7 package which installs both the component and the plugin.
-
- Joomla! Apprentice
- Posts: 17
- Joined: Fri Apr 30, 2010 5:36 pm
Re: Error:'tinyMCE' is undefined
Ok, ok.
*sigh*
I expected that the transition from the oldest to the latest version of Joomla! would require a few, manual workarounds. But honestly? Now I'm just exhausted. I feel guilty complaining about a massive, complex application I get for free (not completely free, but nearly free), and realize I'm not a professional web developer---but it's so frustrating to go from "My site is fully functioning, and I'm happy with it", to, "My site is under construction.... indefinitely."
I've had major complications during this process. Some of the complications required outside, profession consultation. Some of the issues have been surprising simple to resolve...yet their solution remained elusive for days. For instance, I could not figure out how to make my /temp file writable. I scoured the forums for days, trying various troubleshooting methods. Ya know what fixed it, in the end? My php.ini file was named php5.ini! Donno if this was a weird problem, which only pertained to me, or if everyone already knew how to deal with it---but the easy solution never came up once, not on the forums, nor in wiki, nor anywhere else I looked. And all I had to do was rename the file. But why was my file misnamed in the first place? It gave me a lot of unnecessary grief and befuddlement, and ultimately wasted a lot of my time.
Now it's this thing with the editor. Why? Why is this a problem? Why is the latest version inconsistently functional, depending on the browser? Again, I never had to sort out any of these idiosyncrasies with version 1.5. Now it feels like once I've resolved one thing, I have to immediately move onto the next thing. And I'm frankly not up for it.
So, will someone please explain to me what is causing the tinyMCE popup error? And can you please explain why it only happens when I try to use a third party extention (JCE), instead of tinyMCE? But will you also please do me a favor (if you have a troubleshooting suggestion) and be explicit? Please, if you just say, "Change this to that," and assume I know what "This" and "That" are, your help will most most likely be lost on me. I wouldn't want anyone to needlessly waste any more of their time, not on my behalf---enough time has already been wasted.
*sigh*
I expected that the transition from the oldest to the latest version of Joomla! would require a few, manual workarounds. But honestly? Now I'm just exhausted. I feel guilty complaining about a massive, complex application I get for free (not completely free, but nearly free), and realize I'm not a professional web developer---but it's so frustrating to go from "My site is fully functioning, and I'm happy with it", to, "My site is under construction.... indefinitely."
I've had major complications during this process. Some of the complications required outside, profession consultation. Some of the issues have been surprising simple to resolve...yet their solution remained elusive for days. For instance, I could not figure out how to make my /temp file writable. I scoured the forums for days, trying various troubleshooting methods. Ya know what fixed it, in the end? My php.ini file was named php5.ini! Donno if this was a weird problem, which only pertained to me, or if everyone already knew how to deal with it---but the easy solution never came up once, not on the forums, nor in wiki, nor anywhere else I looked. And all I had to do was rename the file. But why was my file misnamed in the first place? It gave me a lot of unnecessary grief and befuddlement, and ultimately wasted a lot of my time.
Now it's this thing with the editor. Why? Why is this a problem? Why is the latest version inconsistently functional, depending on the browser? Again, I never had to sort out any of these idiosyncrasies with version 1.5. Now it feels like once I've resolved one thing, I have to immediately move onto the next thing. And I'm frankly not up for it.
So, will someone please explain to me what is causing the tinyMCE popup error? And can you please explain why it only happens when I try to use a third party extention (JCE), instead of tinyMCE? But will you also please do me a favor (if you have a troubleshooting suggestion) and be explicit? Please, if you just say, "Change this to that," and assume I know what "This" and "That" are, your help will most most likely be lost on me. I wouldn't want anyone to needlessly waste any more of their time, not on my behalf---enough time has already been wasted.