You are not logged in.

#1 2007-10-27 13:58:58

minance
Member
Registered: 2007-10-27
Posts: 3

"tinyMCE is not defined and missing : after case label" error

Hi, I am trying to install tinymce 2 days and I get 2 errors "tinyMCE is not defined and missing : after case label" all the time.

I have apache with php4 and mysql4 configuration .

It is very weird because when I import the tiny_mce.js from tinymce.moxiecode.com everythin is working fine, but when I import the script from m local server I get this error.

This happens only if I run the file under apache, if I open the examples directly everything is working fine

<script language="javascript" type="text/javascript" src="../javascripts/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
<!--<script language="javascript" type="text/javascript" src="http://tinymce.moxiecode.com/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>-->

<script language="javascript" type="text/javascript">
tinyMCE.init({
    mode : "textareas"
});
</script>

Please help me , I tried everything and nothing worked, I dont have anymore ideas

Thx

Offline

 

#2 2007-10-31 10:48:33

minance
Member
Registered: 2007-10-27
Posts: 3

Re: "tinyMCE is not defined and missing : after case label" error

Is there anyone with that problem.

I found out that this is a security issue, but I am not sure what it is exactly. Maybe something with the php, apache configuration.

Everything is working fine if you run the script outside the web server, but when you run it from the web server using a URL to execute some of the example pages the tinyMCE is not defined and missing : after case label" errors show up.

There has to somebody else who had the same problems.

Hope somebody will reply on this

Thx

Last edited by minance (2007-10-31 10:50:49)

Offline

 

#3 2008-07-26 02:32:03

minance
Member
Registered: 2007-10-27
Posts: 3

Re: "tinyMCE is not defined and missing : after case label" error

I found the solution and put it to my blog.

If you need it you can find it here:

http://minanov.com/pictures-partially-d … endfile-73

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB