Page 1 of 2
Error:'tinyMCE' is undefined
Posted: Wed Aug 24, 2005 11:05 pm
by pera
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..
Re: Error:'tinyMCE' is undefined
Posted: Thu Sep 01, 2005 10:19 am
by latrine
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!
Re: Error:'tinyMCE' is undefined
Posted: Fri Sep 09, 2005 9:49 am
by beuvema
This worked for me:
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(); ?>
Put the above code in the header of the index.php of your template!
Hope it helps You
Grtz Beuvema
Re: Error:'tinyMCE' is undefined
Posted: Fri Sep 09, 2005 1:00 pm
by pera
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.
Re: Error:'tinyMCE' is undefined
Posted: Mon Sep 12, 2005 10:50 am
by happy_noodle_boy
Have a look at your page source and see that tinymce.js is being linked to properly. it should look something like this :
Code: Select all
<script type="text/javascript" src="http://www.yoursite.com/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
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.
Re: Error:'tinyMCE' is undefined
Posted: Sat Sep 17, 2005 7:03 am
by drewg
this is what my tinyMCE goes to
Code: Select all
<script type="text/javascript" src="http://www.sensris.com/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
any ideas?
Re: Error:'tinyMCE' is undefined
Posted: Mon Sep 19, 2005 6:20 am
by happy_noodle_boy
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.
Re: Error:'tinyMCE' is undefined
Posted: Mon Sep 19, 2005 6:29 am
by drewg
there is no tinymce.js in there.. I didn't upgrade from mambo, new install.
Re: Error:'tinyMCE' is undefined
Posted: Mon Sep 19, 2005 7:27 am
by stingrey
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.
Yes unfortunately I have discovered that this is probably true.
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.
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 8:08 am
by yerg
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.
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 8:38 am
by happy_noodle_boy
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
Code: Select all
<script type="text/javascript" src="$mosConfig_live_site/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_gzip.php"></script>
on line 145 to
Code: Select all
<script type="text/javascript" src="$mosConfig_live_site/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 9:41 am
by yerg
I've implemented the fix but now get the error
Could not find the template function: TinyMCE_default_getEditorTemplate
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 9:53 am
by happy_noodle_boy
Did you clear your browser cache and refresh?
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 10:10 am
by stingrey
yerg wrote:
I've implemented the fix but now get the error
Could not find the template function: TinyMCE_default_getEditorTemplate
Try this
Go to the mambot manager select Tiny and set the mode to `advanced` mode.
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 10:15 am
by yerg
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.
Re: Error:'tinyMCE' is undefined
Posted: Tue Sep 20, 2005 10:27 am
by stingrey
yerg wrote:
What's the go with simple and advanced?
May be others have been fooled like me not knowing of this "new functionality"
Well the switching between simlple and advanced has been there for awhile.
There used to be a default and this is causing the problem.
I will take this into account in the 1.0.1 release
Re: Error:'tinyMCE' is undefined
Posted: Tue Oct 04, 2005 8:50 am
by pera
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?
Re: Error:'tinyMCE' is undefined
Posted: Tue Oct 04, 2005 1:42 pm
by pera
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?
Re: Error:'tinyMCE' is undefined
Posted: Tue Oct 04, 2005 8:42 pm
by enlaceglobal
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/';
--------------------------------------------------------------------------
Re: Error:'tinyMCE' is undefined
Posted: Wed Oct 05, 2005 7:43 am
by pera
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?
Re: Error:'tinyMCE' is undefined
Posted: Sat Oct 08, 2005 10:32 pm
by Wago
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
Re: Error:'tinyMCE' is undefined
Posted: Sun Oct 09, 2005 10:33 am
by pera
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...
Re: Error:'tinyMCE' is undefined
Posted: Sun Oct 30, 2005 11:51 pm
by VoiceD
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,
Re: Error:'tinyMCE' is undefined
Posted: Mon Jun 12, 2006 2:27 pm
by SamTzu
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
Re: Error:'tinyMCE' is undefined
Posted: Sat Jul 29, 2006 10:22 pm
by pilkington
Worked for me also!
beuvema wrote:
This worked for me:
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(); ?>
Put the above code in the header of the index.php of your template!
Hope it helps You
Grtz Beuvema
Re: Error:'tinyMCE' is undefined
Posted: Sat Dec 02, 2006 8:40 pm
by jaffarbp
The part id ) initEditor(); ?> worked for me perfectly...
Re: Error:'tinyMCE' is undefined
Posted: Wed Dec 13, 2006 1:10 am
by gr8googlie
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.
Re: Error:'tinyMCE' is undefined
Posted: Wed Dec 13, 2006 4:40 am
by gr8googlie
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.
Re: Error:'tinyMCE' is undefined
Posted: Tue Feb 13, 2007 2:42 pm
by Mtif
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?
Re: Error:'tinyMCE' is undefined
Posted: Thu Feb 15, 2007 2:29 pm
by skmcneill
Inputing this line into the header of my index.php file located in my template directory worked for me.
id ) initEditor(); ?>