Page 1 of 1
TinyMCE problems
Posted: Mon Sep 24, 2007 12:17 pm
by animike
Hello,
Some time ago I've installed CMS made simple on paid server and it works fine but when I've installed cms on free server my TinyMCE editor works strange. All the edit icons disappeared?? Where can I fix this?? Is this something with my database on free server??
Animike
Re: TinyMCE problems
Posted: Fri Sep 28, 2007 11:29 am
by Sy
Hi,
This may be related to a problem I had. On my local system running Apache2, everything was ok. When I uploaded to the target server which was running Zeus I had no toolbars.
I think TinyMCE references a server variable that is specific to Apache2. Zeus wasn't supplying it. Here is the post I made and the solution for my problem.
http://forum.cmsmadesimple.org/index.ph ... 283.0.html
Re: TinyMCE problems
Posted: Sun Sep 30, 2007 8:16 pm
by animike
Ok thanks but what I have to change??I have got something like this:
modules;
$tiny=$modules["TinyMCE"]['object'];
$basepath = $gCms->config["root_url"].'/modules/TinyMCE/tinymce/jscripts/tiny_mce/';
?>
Which path I have to change (which file)??
Re: TinyMCE problems
Posted: Mon Oct 01, 2007 12:06 pm
by Sy
In my case it was:
$path = dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME'])));
The SCRIPT_FILENAME was not present on Zeus, you could try putting in:
$path = $_SERVER['DOCUMENT_ROOT'] . '/smf path of you include.php';
Re: TinyMCE problems
Posted: Tue Oct 02, 2007 3:33 pm
by animike
It doesn't work

Could you explain me what is this all about. What path is this and what file i'm looking for??
I'm a bit newbie whit this things...
I have installed WIDGEDITOR to see how it works but it also doesn't work
Animike
Re: TinyMCE problems
Posted: Tue Oct 02, 2007 5:06 pm
by Djith
I had the same problem and decided to erase the whole site and upload again... and it worked out !!
Re: TinyMCE problems
Posted: Thu Oct 04, 2007 8:38 pm
by animike
It didn't work out :/
This is something with database i think.
but how to check it I don't know :/
Re: TinyMCE problems
Posted: Sat Oct 06, 2007 8:14 am
by Sy
The only thing I can suggest is to edit the php, putting die("HERE WE ARE"); statements at various locations or include the variables to see if they are set-up.
You need to identify where it goes wrong and what is in the path, do this by putting
die( "PATH: " . $path );
after the path assignment.
Re: TinyMCE problems
Posted: Tue Oct 09, 2007 9:03 pm
by animike
Sory but still I dont understand

Maybe U could explain this more deeply:)
I will be very greatful!!
Animike
Re: TinyMCE problems
Posted: Tue Oct 09, 2007 9:28 pm
by Sy
Can you tell me the following:
What web server is your host running, Apache, Zeus, IIS ?
What version of PHP ?
What version of MySQL ?
What version of CMSMS ?
Then we can start to go through things to try.
Re: TinyMCE problems
Posted: Wed Oct 10, 2007 2:42 am
by Dr.CSS
The DB has nothing to do with tinyMCE...
You have some path problem, something is pointing at something that isn't there...