Page 1 of 1
[solved] TinyMCE does not work on host, but works locally - CMSMS 1.2.4
Posted: Tue Apr 22, 2008 3:39 pm
by daletaylor
Hello,
I recently installed CMSMS 1.2.4 on our new web host's server. However, when I try to edit content, the TinyMCE editor does not load...it simply shows a box with HTML code in it.
Firefox's Error Console shows the following when I toggle 'Turn WYSIWYG on/off':
Error: s.invalid_elements has no properties
Source File:
http://www.ferme-energie.ca/IReF/module ... iny_mce.js
Line: 1
To test it out, I downloaded the entire CMSMS folder from the host server and exported the database and ran it on a local server. TinyMCE works perfectly now. The only changes made were the URL and paths in the config.php file.
I am using TinyMCE 2.2.7 and we are hosted with ixWebHosting.
I am stumped

. Anybody have any ideas?
Thank you very much,
Dale
Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4
Posted: Wed Apr 23, 2008 11:40 am
by wd44
I am having the same problem your describing. I have a clean install of CMS on my hosting provider's Linux server. I followed the User Handbook instructions to set folder permissions. When I go to edit a page there is no sign of TinyMCE. I get the same javascript error you describe when toggling the 'Turn WYSIWYG on/off' checkbox.
I have done the same install on my local Windows XP machine using XAMPP and I have had no problems. This leads me to believe the issue is one of folder/file permissions. I also installed the FCKeditorX module via the module manager to see if it would work. When editing a page I did see the FCKeditorX toolbars except every image from the toolbar was missing/broken. Again, this leads me to think that folder permissions are not being set correctly.
I would love to find a guide that defined what each folder and file needed for permissions inside of CMS Made Simple. If I find a solution I will post back here.
- Derek
[SOLVED] Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4
Posted: Tue Apr 29, 2008 7:20 pm
by wd44
I stumbled across the solution to my problem quite by accident.
I changed the permissions of my "modules" folder from 775 to 755. I am not sure why this works as 755 seems to be more restrictive than 775 but I tested it a few times and it works. With a permission of 775, the TinyMCE editor is missing, while with 755 it works just fine. I hope this helps the original poster.
- WD44
P.S. The confusing part is that the installation directions within the "Quick Install" documentation say to set the permissions of the module folder to 777 or 775. Neither of these worked for me. Only 755.
Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4
Posted: Tue Apr 29, 2008 9:09 pm
by Pierre M.
Hello,
needed file permissions are tricky : they are often hosting dependent. Hence it is a good idea to try-and-succeed several permissions.
Because the reports were about local OK and remote KO I was first thinking of transfer problem :
http://wiki.cmsmadesimple.org/index.php/FTP_program
@forum : when reporting a local vs remote issue, please make it clear about your upload tool, upload method, upload protocol, upload logs, upload status...
Pierre M.
Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4
Posted: Thu May 01, 2008 5:10 pm
by cnisvcs
Great post about 755 permissions. I had the same issue and that solution worked. Thanks!
Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4
Posted: Sat May 03, 2008 1:18 am
by daletaylor
I'm going to mark this as solved because it seems to have worked for most people. We, however, are using a Windows server and dealing with the web host to get the permissions set up is going to be a hassle. I've simply switched to FCKeditor for the time being, and if it becomes a problem I'll deal with the web host then.
Thank you all for your replies!
Dale