Hi guys,
Recently, I tried to install TinyMCE (for the first time ever) and was very sad to find out that I was having a problem that appeared to be very common recently for people trying to install TinyMCE... it was successfully installing, no errors, nothing in my error log, and it was properly setup in Settings to use the RTE, but still no matter what I did I couldn’t get Tiny to show up for my Resource editing.
Today I had a break through, and I thought it MAY be able to help some of you that may be running into similar trouble with your TinyMCE.
I downloaded TinyMCE directly from the MODx Website (Not the Package Manager), because I was told on many occassions that the PM sometimes times out due to the download size
I had changed my Zip option, as instructed in others posts
I had cleared my server cache, browser cache, and purged all manager users
I even did a full forced uninstall and manually erased all instances of TinyMCE on my host account.
Even after ALL THAT, I was still stumped. It wasn’t until I had trouble with ANOTHER plugin install that I realized that it may be a permission issue. Turns out that even though TinyMCE was installed correctly and all the files were located in the /assets/ directory, the actual MODx couldn’t READ those files because it didn’t have permission to! DOH.
SO, I chmod’d assets and all of its sub-directories and files to 775 (RWX-RWX-RW). This took a few minutes to complete. Once it completed, I cleared Server/Browser Cache again, purged Manager, logged in again, and viola! TinyMCE was finally showing up in my Resource Editing window! I also noticed that the other plugin that was failing instantly started working correctly as well.
So, moral of the story: Check your permissions! I hope this helps some people as much as it helped me.
Environment:
modx: rev 2.0.8-pl
localhost: Apache/2.0.63 (Unix) PHP/5.2.11 DAV/2, MySQL client version: 5.1.37
Result, been having the same problems and this solved it instantly. Thanks v much!
The github link is broken. Where can I find more info?
Also, where is this /assets/ file you are referring to?
Try this:
https://github.com/splittingred/TinyMCE/issues/29
/assets is a directory. It should be directly under the MODX root.
Thanks, I found the thread and I see what assets folder they are referencing. I have that, and I’ve reset my system folder and file permissions to 755 and 644. I’ve uninstalled and then reinstalled TinyMCE via Package Management also. Still no dice.
Any other thoughts?
btw, I’ve also manually checked the permissions on the files in the assets folder and they are all set as recommended.
Clearly I’m not too familiar with system stuff, but is there anything in the php.ini file that may help this? Because in my case, Network solutions has their system wide php.ini file set with register_globals on and so I had to override that with a separate local php.ini
Not sure if this could possibly be related or if there is anything I can add there to help.
Quote from: rambleonme at May 13, 2011, 02:13 AM
Thanks, I found the thread and I see what assets folder they are referencing. I have that, and I’ve reset my system folder and file permissions to 755 and 644. I’ve uninstalled and then reinstalled TinyMCE via Package Management also. Still no dice.
Any other thoughts?
Try downloading the .zip file to your core/packages directory (after completely removing TinyMCE - right-click on the package and select "Remove Package").
Then, in PM, click on "Add Package" and "Search Locally for Packages."