Page 1 of 1

TinyMCE missing toolbars again. Here's what my server admins said...

Posted: Wed Jan 07, 2009 2:39 pm
by sarah_h
Hi All,

CMSMS 1.4.1 Spring Garden
PHP 5.2.8
TinyMCE 2.4.8

I'm having a fair old battle with TinyMCE all-in-all. Firstly I deployed a site to our regular server and found that TMCE did not show any toolbars despite all the perms on the TMCE folder being set to 755 (although it didn't work this time, setting this to 755 has worked for me in the past when I experienced the same problem). After days and days of testing and reading all the related posts here nothing worked. I finally asked my server admins to see if there was anything they could help with. I'm pleased to say they did! Here's what they found:
I think I have found the problem, it seems that the version of php running on the server hosting your name set _SERVER["SCRIPT_FILENAME"] differently to our newer servers when in fastcgi mode. CMS Made Simple uses this to find the javascript libraries and that is failing. We are due to upgrade the php installation on that server, but I can't tell if this will fix the issue because this appears to be a long standing bug in php: http://bugs.php.net/bug.php?id=19656 (first reported 2002!) However, our newer servers don't have this issue, and I'm wondering if either the PHP people have fixed it, or maybe the people who package the debian version of PHP we use on those servers fixed it.


So what they did was to:
We move the domain to a newer server which handles that variable correctly. Hopefully the move should be problem free.
and it was! I've read several posts on the forum relating to ["SCRIPT_FILENAME"]. I don't know what they did but it worked and I was happy with the fact they took the time to help me.

Ok, that was then. Now, I deployed another site to another server (not the guys above, but the clients' admins) and the same problem showed up!!!!!!!! So, again, I've made sure all the usual things are ok (which they are) and now I'm completely stumped. I think I may need to get in touch with these new server guys and see if they can hep. But, before I do, I was hoping someone with experience of TinyMCE's workings could help my understad what the server guy above was really talking about. For example is this a PHP problem? The server ( the one showing the problem) uses 5.2.8 while the one where TMCE works ok uses 4.4.4-8+etch6.

Anything at this point would be a massive help as I'm loosing the will to live right now!!!

Regards

Sarah

Re: TinyMCE missing toolbars again. Here's what my server admins said...

Posted: Thu Jan 15, 2009 8:19 pm
by janvl
I had a similar problem.

You must take care that your browser supports the right MIME-type.
TinyMCE uses "htm" no "html" for me correcting that in my OS/browser did the job.

Hope it helps.

Jan

Re: TinyMCE missing toolbars again. Here's what my server admins said...

Posted: Fri Feb 13, 2009 11:19 am
by mannerv
Jan: I did not quite understand what you mean?

I moved my 1.5.1 installation to another server and lost TinyMCE also. I have tried some stuff, but to no avail. Regarding _SERVER["SCRIPT_FILENAME"], I looked at TinyMCE tinyconfig.php and to me it seems that there has been an attempt to fix this exact problem previously.

Anyways, I am still trying to think of a solution to this. Not having TinyMCE sucks big time.

Re: TinyMCE missing toolbars again. Here's what my server admins said...

Posted: Fri Feb 13, 2009 11:28 am
by mannerv
sarah_h: Try this.

Change the permission of your modules directory from 775 to 555.

Go to base CMSms directory, and type: chmod 555 Modules

That did the trick for me: http://forum.cmsmadesimple.org/index.ph ... #msg146253

Re: TinyMCE missing toolbars again. Here's what my server admins said...

Posted: Mon Dec 13, 2010 9:19 pm
by kissack
thanks fixed it for me too