[SOLVED] WYSIWYG / TinyMCE not working

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
biliousfrog

[SOLVED] WYSIWYG / TinyMCE not working

Post by biliousfrog »

There seems to be a lot of issues with Tiny at the moment and a lot of the threads are dealing with specific issues such as working with CSS but there's also several people having issues running Tiny (or other WYSIWYG's) at all. So I wanted to start a thread where, hopefully, we can find out what the problem is and get CMSMS usable again. Perhaps if everyone that's having issues could say what the problem is and their stats we can see if there's a common theme.

I've tried all versions of TinyMCE, including the beta's but it was only 2.4.0b4 that I managed to get working briefly after changing the module's folder permissions to 555. My client couldn't use that version (neither could I) so it was removed but after trying various other versions I tried to install it a second time and it no longer worked.

I haven't experienced any errors and the logs are clean, I've re-installed CMSMS and installed Tiny manually and through the module manager. I am also unable to get FCKeditor working, it seems to load but all images are missing from the interface.

Here's my stats.

CMSMS version: 1.2.5
Host: Dataflame
cPanel Version: 11.18.6-STABLE
cPanel Build: 24255
Theme: x3
Apache version: 1.3.41 (Unix)
PHP version: 5.2.6
MySQL version: 5.0.45-community
Architecture: i686
Operating system: Linux
Path to sendmail /usr/sbin/sendmail
Path to PERL /usr/bin/perl
Kernel version 2.6.9-55.ELsmp
cPanel Pro 1.0 (RC1)


I have another site which is working, the stats are:

CMSMS version: 1.2.5
Host: Dataflame
cPanel Version 11.18.3-STABLE
cPanel Build 21703
Theme x3
Apache version 1.3.39 (Unix)
PHP version 5.2.5
MySQL version 4.1.22-standard
Architecture i686
Operating system Linux 
Path to sendmail /usr/sbin/sendmail
Path to PERL /usr/bin/perl
Kernel version 2.6.9-55.0.6.ELsmp
cPanel Pro 1.0 (RC1) 

As you can see, the non-working site has been updated by the host...will my other sites not have WYSIWYG when they're updated?
Last edited by biliousfrog on Fri Jul 04, 2008 1:33 pm, edited 1 time in total.
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am
Location: Grand Rapids, MI

Re: WYSIWYG / TinyMCE not working

Post by jtcreate »

I am having the same issue with a fresh install of 1.3. Thanks, in advance, for your help.

Jeff T.
Mmmmm... Tasty.
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am
Location: Grand Rapids, MI

Re: WYSIWYG / TinyMCE not working

Post by jtcreate »

Update:

As a test, I installed 1.3 fresh on a different server. Everything worked perfectly. TinyMCE is running as it should. Same process on both servers for installation, same general setup, but obviously something is not working right - and it must be server based - as the software works great.

What would cause TinyMCE to not show up? Where can I best start this search to narrow down the problem.

Thanks,
Jeff T.
Mmmmm... Tasty.
User avatar
jtcreate
Forum Members
Forum Members
Posts: 168
Joined: Wed Mar 21, 2007 11:01 am
Location: Grand Rapids, MI

Re: WYSIWYG / TinyMCE not working

Post by jtcreate »

SOLVED! (for me, at least)

I checked the server logs, and it showed this:

----
[Thu Jun 19 05:31:02 2008] [error] [client x.x.x.x] SoftException in Application.cpp:544: Directory "/x/x/x/modules" is writeable by group, referer: http://www.xyz.com/x/x/editcontent.php? ... d=15&page=
----

I checked the modules directory and it was set to 777. When I made it 755, TinyMCE started working immediately.

I'd mark the thread solved, but I don't know if this will solve the original posters issues as well... hope it does!

Jeff T.
Mmmmm... Tasty.
biliousfrog

Re: WYSIWYG / TinyMCE not working

Post by biliousfrog »

That has already been covered in a few other threads and in the docs, this thread was intended for those who are still having problems after trying the various "solutions".

I don't have the knowledge or know-how to confirm this but I have a suspicion that the server update is the cause of the problems as similar reports have been made about other hosts when they've updated MySQL, Apache and PHP.

I'm going to try some of the other CMS solutions when I get a chance as it is inevitable that my other server's will get updated sooner or later and none of my site's will work...that's unless there's a definitive solution to the WYSIWYG problems.
bkbdesign

Re: WYSIWYG / TinyMCE not working

Post by bkbdesign »

I too have one installation working, one not. Both fresh installs of 1.3. But both servers seem to have exactly the same setup. Both hosted by Hostgator.

Not Working:

General server information:
Operating system Linux
Kernel version 2.6.24.7-grsec
Machine Type i686
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 5.2.5
MySQL version 5.0.45-community
cPanel Build 11.18.6-STABLE 24739

Working:
Operating system  Linux
Kernel version 2.6.24.7-grsec
Machine Type i686
Apache version 1.3.41 (Unix)
PERL version 5.8.8
PHP version 5.2.5
MySQL version 5.0.45-community
cPanel Build 11.18.6-STABLE 24739
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: WYSIWYG / TinyMCE not working

Post by Dr.CSS »

Maybe when you FTP the files didn't all make it...?..
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: WYSIWYG / TinyMCE not working

Post by JohnnyB »

One thing I've noticed is the way PHP is configured ont eh server will make or break TInyMCE.

Check if your server is running PHP as CGI or as an Apache module.

If running PHP/CGI, you may have to override some of the default PHP settings by uploading a custom php.ini file into TinyMCE directories.  I usually have to specify the path to session.save_path and sometimes increase memory limits.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
aozuas

Re: WYSIWYG / TinyMCE not working

Post by aozuas »

I'd like to add my name to the "still doesn't work" list.
It was working for me using CMSMS 1.3 "Cuba" and TinyMCE 2.4.0
Then, I tried to upgrade to 2.4.1 version and stop working.
Tried the downgrade but didn't solve, reinstall many times and didn't work.
But I have many other installations in the same server working fine, but didn't do the upgrade in TinyMCE.
The problem is that I want to use the buttons customdropdown and cmslinker that work only in 2.4.1 version.

Why delete all TinyMCE files from modules and reinstall it didnt solve the problem? There are any information store in other place or in the database?

I noted that I have the same problem in other installation when I clicked in "Reset all settings to default" in TinyMCE Advanced config.
aozuas

Re: WYSIWYG / TinyMCE not working

Post by aozuas »

Silly me! I discovered how to solve my problem and maybe that is the same solution for many people:
Clean the cache, just that. In the two cases I previously described this action solved the problem.
levinho
Forum Members
Forum Members
Posts: 18
Joined: Sun Feb 17, 2008 11:56 am
Location: Switzerland

Re: WYSIWYG / TinyMCE not working

Post by levinho »

jtcreate wrote:
I checked the modules directory and it was set to 777. When I made it 755, TinyMCE started working immediately.

Jeff T.

Thanks man, that seems to be my solution! Sometimes I forget to check the simple things first...
User avatar
designhut
Forum Members
Forum Members
Posts: 71
Joined: Sat Jul 21, 2007 10:31 am
Location: North Devon

Re: WYSIWYG / TinyMCE not working

Post by designhut »

Can I just add to clarify, clear the site cache and your browser cache, worked for me too - thanks all!
kchamber

Re: WYSIWYG / TinyMCE not working

Post by kchamber »

I had the exact same issues and some combination of the above suggestions worked (clearing cache, changing permissions to 755).

Only thing I would add is that even after clearing my cache, I had to refresh my browser a couple times on a page where TinyMCE should be working, and then it magically appeared. This was in Firefox.

Thanks for the advise. I was going crazy trying to get this to work.
biliousfrog

Re: WYSIWYG / TinyMCE not working

Post by biliousfrog »

Great, working again!  ;D

Yep, seems that clearing the cache was the icing on the cake but, as kchamber said, it can take several refresh's to get Tiny back.

I'll leave the thread for a little while until it can be "signed off" as solved just in case it still doesn't fix it for everyone.

Thanks aozuas...I can sleep again!
Pierre M.

Re: WYSIWYG / TinyMCE not working

Post by Pierre M. »

biliousfrog wrote: Great, working again!  ;D
Cool. Please put [solved] in the title of your first post of the thread.

Pierre M.
Locked

Return to “[locked] Installation, Setup and Upgrade”