[solved] TinyMCE does not work on host, but works locally - CMSMS 1.2.4

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
daletaylor
New Member
New Member
Posts: 3
Joined: Thu Feb 07, 2008 4:18 pm

[solved] TinyMCE does not work on host, but works locally - CMSMS 1.2.4

Post 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
Last edited by daletaylor on Sat May 03, 2008 1:19 am, edited 1 time in total.
wd44

Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4

Post 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
wd44

[SOLVED] Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4

Post 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.
Last edited by wd44 on Tue Apr 29, 2008 7:22 pm, edited 1 time in total.
Pierre M.

Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4

Post 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.
cnisvcs
Forum Members
Forum Members
Posts: 37
Joined: Wed Jan 30, 2008 3:02 am

Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4

Post by cnisvcs »

Great post about 755 permissions. I had the same issue and that solution worked. Thanks!
daletaylor
New Member
New Member
Posts: 3
Joined: Thu Feb 07, 2008 4:18 pm

Re: TinyMCE does not work on host, but works locally - CMSMS 1.2.4

Post 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
Post Reply

Return to “CMSMS Core”