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.
- pera
- Joomla! Apprentice
- Posts: 37
- Joined: Wed Aug 24, 2005 5:31 pm
- Location: Sweden
- Contact:
Error:'tinyMCE' is undefined
Have tryied to find the solution but without success...
when enabling wysiwyg I'm getting
2 script error in IE (no error in Firefox, but wysiwyg not working).
Reinstalled many times with 2 latest version.
Tryied mocCE rc1 - same error.
Line:10
Char:49136
Code:0
Error:Expected identifier
URL:http://www.webbhotell.bz/administrator/ ... enu=1&id=8
and
Line:12
Char:9
Code:0
Error:'tinyMCE' is undefined
URL:http://www.webbhotell.bz/administrator/ ... enu=1&id=8
can someone advice me where to look for the problem?
it is not the www stuf..
Pera
http://winstart.com
http://winstart.com
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Sep 01, 2005 10:15 am
Re: Error:'tinyMCE' is undefined
Hello I have the same problem... tinyMCE is undefined... and has there are errors in the page, I cannot save any content...
(I have tried to install MosMCE with no avail... there was an error on the process)
I have www on the live site
It has worked... now for some reason it has stoped... (I believe it can be somthing to do with permissions... but I don't know what I shou chmod to make it work!
-------------------------------------
Well... My problem seems to be my hosting comapany lost the entire tiny_mce directory inside jscript!
testing it now
Yup... it was this one!!!! incredible... Now I have to recheck every dir to see what's missing!!!! damn!
(I have tried to install MosMCE with no avail... there was an error on the process)
I have www on the live site
It has worked... now for some reason it has stoped... (I believe it can be somthing to do with permissions... but I don't know what I shou chmod to make it work!
-------------------------------------
Well... My problem seems to be my hosting comapany lost the entire tiny_mce directory inside jscript!
testing it now
Yup... it was this one!!!! incredible... Now I have to recheck every dir to see what's missing!!!! damn!
Last edited by latrine on Thu Sep 01, 2005 10:36 am, edited 1 time in total.
- beuvema
- Joomla! Explorer
- Posts: 441
- Joined: Thu Aug 18, 2005 8:15 am
- Location: the Netherlands
- Contact:
Re: Error:'tinyMCE' is undefined
This worked for me:
Hope it helps You
Grtz Beuvema
Put the above code in the header of the index.php of your template!from: FrankZoid on August 25, 2005, 04:55:38 AM
I believe the code that is missing is
Code: Select all
<?php if ( $my->id ) initEditor(); ?>
Hope it helps You
Grtz Beuvema
Last edited by beuvema on Fri Sep 09, 2005 10:08 am, edited 1 time in total.
!! September 1, 2005 is a beautifull day, JOOMLA! day !!
Webexperiences http://www.oltech.nl
Webexperiences http://www.oltech.nl
- pera
- Joomla! Apprentice
- Posts: 37
- Joined: Wed Aug 24, 2005 5:31 pm
- Location: Sweden
- Contact:
Re: Error:'tinyMCE' is undefined
nope that did not help, my index.php start like this,
id ) {
initEditor();
}
?>
it is working on freebsd server but not on fedora1 with ensim?
high security mode.
id ) {
initEditor();
}
?>
it is working on freebsd server but not on fedora1 with ensim?
high security mode.
Pera
http://winstart.com
http://winstart.com
- happy_noodle_boy
- Joomla! Guru
- Posts: 692
- Joined: Thu Aug 18, 2005 10:32 am
- Location: United Kingdom
- Contact:
Re: Error:'tinyMCE' is undefined
Have a look at your page source and see that tinymce.js is being linked to properly. it should look something like this :
The "http://www.yoursite.com" part is defined by $mosConfig_live_site, so this has to be set properly, or you must access the site from this same url. If this file cannot be loaded, neither can tinymce.
Ryan.
Code: Select all
<script type="text/javascript" src="http://www.yoursite.com/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
Ryan.
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org
http://www.maketradefair.org
-
- Joomla! Apprentice
- Posts: 18
- Joined: Tue Sep 13, 2005 8:39 am
Re: Error:'tinyMCE' is undefined
this is what my tinyMCE goes to
any ideas?
Code: Select all
<script type="text/javascript" src="http://www.sensris.com/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
- happy_noodle_boy
- Joomla! Guru
- Posts: 692
- Joined: Thu Aug 18, 2005 10:32 am
- Location: United Kingdom
- Contact:
Re: Error:'tinyMCE' is undefined
Yeah, don't use tiny_mce_gzip.php yet. I don't think its 100% stable, and cause some issues with IE. Change that to tiny_mce.js.
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org
http://www.maketradefair.org
-
- Joomla! Apprentice
- Posts: 18
- Joined: Tue Sep 13, 2005 8:39 am
Re: Error:'tinyMCE' is undefined
there is no tinymce.js in there.. I didn't upgrade from mambo, new install.
- stingrey
- Joomla! Hero
- Posts: 2756
- Joined: Mon Aug 15, 2005 4:36 pm
- Location: Marikina, Metro Manila, Philippines
- Contact:
Re: Error:'tinyMCE' is undefined
Yes unfortunately I have discovered that this is probably true.happy_noodle_boy wrote: Yeah, don't use tiny_mce_gzip.php yet. I don't think its 100% stable, and cause some issues with IE. Change that to tiny_mce.js.
The imminent 1.0.1 Will correct this and simply load tinymce.js instead.
Maybe have the use of tiny_mce_gzip.php as a param option, with js loading as default.
Anyway, now that we load the editor only on actually need, instead of on every page, we are already seeing performance benefits.
Rey Gigataras
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
- yerg
- Joomla! Ace
- Posts: 1016
- Joined: Thu Aug 18, 2005 12:22 pm
- Location: Ballarat, Australia
- Contact:
Re: Error:'tinyMCE' is undefined
I think this thread leaves people in limbo guys.
What needs to be done?
What needs to be altered.
You are both right but the issue isn't resolved
Do we find the tinymce.js and ftp that or go downwload mos_ce from http://www.cellardoor.za.net or some other editor?
My browser locks up and have to use the back arrow to get out or shut down.
What needs to be done?
What needs to be altered.
You are both right but the issue isn't resolved
Do we find the tinymce.js and ftp that or go downwload mos_ce from http://www.cellardoor.za.net or some other editor?
My browser locks up and have to use the back arrow to get out or shut down.
Last edited by yerg on Tue Sep 20, 2005 8:12 am, edited 1 time in total.
We cannot become what we need to be ... by remaining what we are
- happy_noodle_boy
- Joomla! Guru
- Posts: 692
- Joined: Thu Aug 18, 2005 10:32 am
- Location: United Kingdom
- Contact:
Re: Error:'tinyMCE' is undefined
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 to
So, you need to edit tinymce.php in mambots/editors/ and change
Code: 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>
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org
http://www.maketradefair.org
- yerg
- Joomla! Ace
- Posts: 1016
- Joined: Thu Aug 18, 2005 12:22 pm
- Location: Ballarat, Australia
- Contact:
Re: Error:'tinyMCE' is undefined
I've implemented the fix but now get the error
Could not find the template function: TinyMCE_default_getEditorTemplate
Could not find the template function: TinyMCE_default_getEditorTemplate
We cannot become what we need to be ... by remaining what we are
- happy_noodle_boy
- Joomla! Guru
- Posts: 692
- Joined: Thu Aug 18, 2005 10:32 am
- Location: United Kingdom
- Contact:
Re: Error:'tinyMCE' is undefined
Did you clear your browser cache and refresh?
just because you're not paranoid, doesn't mean everybody isn't out to get you.
http://www.maketradefair.org
http://www.maketradefair.org
- stingrey
- Joomla! Hero
- Posts: 2756
- Joined: Mon Aug 15, 2005 4:36 pm
- Location: Marikina, Metro Manila, Philippines
- Contact:
Re: Error:'tinyMCE' is undefined
Try thisyerg wrote: I've implemented the fix but now get the error
Could not find the template function: TinyMCE_default_getEditorTemplate
Go to the mambot manager select Tiny and set the mode to `advanced` mode.
Rey Gigataras
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
- yerg
- Joomla! Ace
- Posts: 1016
- Joined: Thu Aug 18, 2005 12:22 pm
- Location: Ballarat, Australia
- Contact:
Re: Error:'tinyMCE' is undefined
Tried both FF and IE and no change.
--- edit ---
Thanks stingrey .. that worked
Posting while I was adding my comment.
What's the go with simple and advanced?
May be others have been fooled like me not knowing of this "new functionality"
Pays to look eh ! Lot's of new little bit's and pieces everywhere.
--- edit ---
Thanks stingrey .. that worked
Posting while I was adding my comment.
What's the go with simple and advanced?
May be others have been fooled like me not knowing of this "new functionality"
Pays to look eh ! Lot's of new little bit's and pieces everywhere.
Last edited by yerg on Tue Sep 20, 2005 10:18 am, edited 1 time in total.
We cannot become what we need to be ... by remaining what we are
- stingrey
- Joomla! Hero
- Posts: 2756
- Joined: Mon Aug 15, 2005 4:36 pm
- Location: Marikina, Metro Manila, Philippines
- Contact:
Re: Error:'tinyMCE' is undefined
Well the switching between simlple and advanced has been there for awhile.yerg wrote: What's the go with simple and advanced?
May be others have been fooled like me not knowing of this "new functionality"
There used to be a default and this is causing the problem.
I will take this into account in the 1.0.1 release
Rey Gigataras
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
http://www.wizmediateam.com <-- great team of talented Web Designers and Programmers!
http://about.me/reygigataras <-- About Me
Partner, Business Development & Project Manager, Event Manager, Sports Coach
- pera
- Joomla! Apprentice
- Posts: 37
- Joined: Wed Aug 24, 2005 5:31 pm
- Location: Sweden
- Contact:
Re: Error:'tinyMCE' is undefined
noopa
Still don't work for me... tried everything I found…
Same problem with joomla 1.0.2
It works on one server:
http://varberg.winstart.com/template/index.php
without any problem
but not on the other server:
http://www.winstart.com/template/index.php
so now I have to backup and restore MySQL to get around…. .....
I think it has to do with server path.
By the installation it is:
/var/www/html/template
this work for most of my scripts
and when I telnet as root:
/home/virtual/admin3/var/www/html/template
other interesting thing, when I go to Content Item: Edit some item
I can NOT save or apply and do not see any tools (icon bar). When I change in Global configuration to
No WYSIWYG I am able to save again…
:-* some developer like to check it on my test site? advice?
Still don't work for me... tried everything I found…
Same problem with joomla 1.0.2
It works on one server:
http://varberg.winstart.com/template/index.php
without any problem
but not on the other server:
http://www.winstart.com/template/index.php
so now I have to backup and restore MySQL to get around…. .....
I think it has to do with server path.
By the installation it is:
/var/www/html/template
this work for most of my scripts
and when I telnet as root:
/home/virtual/admin3/var/www/html/template
other interesting thing, when I go to Content Item: Edit some item
I can NOT save or apply and do not see any tools (icon bar). When I change in Global configuration to
No WYSIWYG I am able to save again…
:-* some developer like to check it on my test site? advice?
Pera
http://winstart.com
http://winstart.com
- pera
- Joomla! Apprentice
- Posts: 37
- Joined: Wed Aug 24, 2005 5:31 pm
- Location: Sweden
- Contact:
Re: Error:'tinyMCE' is undefined
YES it works now!!! dont know how, but it works now
but it only works on IE on my laptop! Not in Firefox and not in IE or Firefox on my other computer...and I am not drinking...
when it work the encoding on page is UTF-8 .... when it not work the unicode is western...what to do? and how?
but it only works on IE on my laptop! Not in Firefox and not in IE or Firefox on my other computer...and I am not drinking...
when it work the encoding on page is UTF-8 .... when it not work the unicode is western...what to do? and how?
Last edited by pera on Tue Oct 04, 2005 2:40 pm, edited 1 time in total.
Pera
http://winstart.com
http://winstart.com
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Oct 04, 2005 8:32 pm
Re: Error:'tinyMCE' is undefined
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/';
--------------------------------------------------------------------------
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/';
--------------------------------------------------------------------------
Last edited by enlaceglobal on Tue Oct 04, 2005 8:50 pm, edited 1 time in total.
- pera
- Joomla! Apprentice
- Posts: 37
- Joined: Wed Aug 24, 2005 5:31 pm
- Location: Sweden
- Contact:
Re: Error:'tinyMCE' is undefined
Thanks for the suggestion, have tried that one in 100 combinations. It just works on my laptop with Internet Explorer! have tried other computer without success. The server is apache 2 on fedora. On my other server with freebsd everything is OK. Can it have something with permission? For tinyMCE witch permissions are essential?
Pera
http://winstart.com
http://winstart.com
- Wago
- Joomla! Explorer
- Posts: 291
- Joined: Mon Sep 05, 2005 6:17 pm
- Location: Netherlands
- Contact:
Re: Error:'tinyMCE' is undefined
The problem is in the new version(s). Copy te tinyMCE files from version 1.0.0 in your current Joomla and the problem is solved. At least, that did the trick for me.
Greetz,
Wago
Greetz,
Wago
http://www.wagoweb.nl | Wagoweb Internetdiensten - Keep it simple!
- pera
- Joomla! Apprentice
- Posts: 37
- Joined: Wed Aug 24, 2005 5:31 pm
- Location: Sweden
- Contact:
Re: Error:'tinyMCE' is undefined
Well I moved to the server where it works
but wery strange it was, working on just IE on my laptop...
Now everything works on the other server.
If someone have problem with styles in tinyMCE the best solution that works for me in joomla 1.0.2
was to install mosCE
http://www.cellardoor.za.net/mosce/comp ... /Itemid,1/
(1 zip for manbot and 1 for component)
and then go to component mosCE admin and Override Template CSS set to now, can take some minutes becaus of cash...
my problem is gone and Joomla is great...
but wery strange it was, working on just IE on my laptop...
Now everything works on the other server.
If someone have problem with styles in tinyMCE the best solution that works for me in joomla 1.0.2
was to install mosCE
http://www.cellardoor.za.net/mosce/comp ... /Itemid,1/
(1 zip for manbot and 1 for component)
and then go to component mosCE admin and Override Template CSS set to now, can take some minutes becaus of cash...
my problem is gone and Joomla is great...
Pera
http://winstart.com
http://winstart.com
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Oct 30, 2005 11:46 pm
Re: Error:'tinyMCE' is undefined
Could not find the template function: TinyMCE_default_getEditorTemplate
[/quote]
Try this
Go to the mambot manager select Tiny and set the mode to `advanced` mode.
[/quote]
I find several "Managers" but not a "Mambot Manager" , under what drop down tab will it be found??
Yes, I Have the same error code problem, therefore unable to edit my site. Latest version. Permissions checked, cache cleared, files are present. Need help. Thanks,
[/quote]
Try this
Go to the mambot manager select Tiny and set the mode to `advanced` mode.
[/quote]
I find several "Managers" but not a "Mambot Manager" , under what drop down tab will it be found??
Yes, I Have the same error code problem, therefore unable to edit my site. Latest version. Permissions checked, cache cleared, files are present. Need help. Thanks,
- SamTzu
- Joomla! Intern
- Posts: 52
- Joined: Wed Jun 07, 2006 7:18 am
- Location: Finland
- Contact:
Re: Error:'tinyMCE' is undefined
Error...
TinyMCE is undefined.
I solved it.
Basically you have to disable the "No Editor" option from the Mambots > Site Mambots.
http://www.mattila.eu/index.php?option= ... 74&lang=en
SamTzu
TinyMCE is undefined.
I solved it.
Basically you have to disable the "No Editor" option from the Mambots > Site Mambots.
http://www.mattila.eu/index.php?option= ... 74&lang=en
SamTzu
Last edited by ooffick on Sun Dec 13, 2009 12:59 pm, edited 1 time in total.
Reason: Mod Note: Removed manual Signature. Please read the Forum rules for details.
Reason: Mod Note: Removed manual Signature. Please read the Forum rules for details.
------------------------------------
SamTzu
SamTzu
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Jul 01, 2006 10:05 am
Re: Error:'tinyMCE' is undefined
Worked for me also!
beuvema wrote: This worked for me:
Put the above code in the header of the index.php of your template!from: FrankZoid on August 25, 2005, 04:55:38 AM
I believe the code that is missing is
Code: Select all
<?php if ( $my->id ) initEditor(); ?>
Hope it helps You
Grtz Beuvema
-
- Joomla! Fledgling
- Posts: 4
- Joined: Sat Dec 02, 2006 8:35 pm
Re: Error:'tinyMCE' is undefined
The part id ) initEditor(); ?> worked for me perfectly...
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Dec 12, 2006 1:09 am
Re: Error:'tinyMCE' is undefined
I still see this problem and nothing in this thread so far has fixed it.
I am doing localhost.
I've tried taking the variable out and using tiny_mce.js.
I've done a complete reinstall.
I've tried using firefox.
None of these things seem to help. tinymce being undefined seems like a straight foreward problem to fix but nothing seems to correct the problem.
There's also the matter of the 'expected "right parens"' error that pops up before the 'tinymce is undefined' error.
Quite frustrating.
As near as I can tell, this makes the whole system unusable. I don't see how this could have made it past QA.
I am doing localhost.
I've tried taking the variable out and using tiny_mce.js.
I've done a complete reinstall.
I've tried using firefox.
None of these things seem to help. tinymce being undefined seems like a straight foreward problem to fix but nothing seems to correct the problem.
There's also the matter of the 'expected "right parens"' error that pops up before the 'tinymce is undefined' error.
Quite frustrating.
As near as I can tell, this makes the whole system unusable. I don't see how this could have made it past QA.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Tue Dec 12, 2006 1:09 am
Re: Error:'tinyMCE' is undefined
First error (on every edit screen)
line: 5610
Char: 77
Error: Expected 'close paren'
Code: 0
URL: http://localhost/joomla/administrator/i ... 0&task=new
Second error (on every edit screen)
Line: 12
Char: 2
Error: 'tinyMCE' is undefined
Code: 0
URL - http://localhost/joomla/administrator/i ... 0&task=new
Obviously the URL varies depending on what page you're trying to edit...but the error is always the same.
$mosConfig_live_site = 'http://localhost/joomla'
// Tiny Compressed mode
if ( $compressed ) {
$load = '';
} else {
$load = '';
}
Joomla version 1.0.11
Last thing tried was to load a new version of tinymce. changes the line number but the errors are the same. Bummer.
line: 5610
Char: 77
Error: Expected 'close paren'
Code: 0
URL: http://localhost/joomla/administrator/i ... 0&task=new
Second error (on every edit screen)
Line: 12
Char: 2
Error: 'tinyMCE' is undefined
Code: 0
URL - http://localhost/joomla/administrator/i ... 0&task=new
Obviously the URL varies depending on what page you're trying to edit...but the error is always the same.
$mosConfig_live_site = 'http://localhost/joomla'
// Tiny Compressed mode
if ( $compressed ) {
$load = '';
} else {
$load = '';
}
Joomla version 1.0.11
Last thing tried was to load a new version of tinymce. changes the line number but the errors are the same. Bummer.
-
- Joomla! Enthusiast
- Posts: 212
- Joined: Wed Nov 02, 2005 8:54 am
- Location: London and Cork
- Contact:
Re: Error:'tinyMCE' is undefined
I am looking for a solution to this also.
I have a site that works Joomla perfectly well for me, but the clients does not get WYSIWYG editing menu and also get the 'TinyMCE is not defined' error at the bottom left of IE window.
I have done more work and realise that it seems to have something to do with their internal network. All clients systems run IE6 on XP Professional. If they connect to the internet via an standard ISP they can edit away, perfectly happily, with everything normal. BUT if they connect via their internal network, or from my office into their VPN, they get the errors.
I need to find a solution, as they currently have a site they cannot edit unless they are at home (or off-site at least).
Anyone any ideas?
I have a site that works Joomla perfectly well for me, but the clients does not get WYSIWYG editing menu and also get the 'TinyMCE is not defined' error at the bottom left of IE window.
I have done more work and realise that it seems to have something to do with their internal network. All clients systems run IE6 on XP Professional. If they connect to the internet via an standard ISP they can edit away, perfectly happily, with everything normal. BUT if they connect via their internal network, or from my office into their VPN, they get the errors.
I need to find a solution, as they currently have a site they cannot edit unless they are at home (or off-site at least).
Anyone any ideas?
Last edited by Mtif on Tue Feb 13, 2007 3:00 pm, edited 1 time in total.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Oct 20, 2006 7:44 pm
Re: Error:'tinyMCE' is undefined
Inputing this line into the header of my index.php file located in my template directory worked for me.
id ) initEditor(); ?>
id ) initEditor(); ?>