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:
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.We move the domain to a newer server which handles that variable correctly. Hopefully the move should be problem free.
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