Have you done anything that might be affecting this -- e.g. working with contexts, messing with the TinyMCE configuration, changing file/directory permissions, etc.
If not, the first thing I'd suggest is uninstalling and removing TinyMCE and then re-downloading and re-installing it.
Hello,
I have the same problem as chris with my TinyMCE.
I tried your suggestion but sadly for me it did not fix the problem. I uninstalled and removed TinyMCE and then redownloaded it to reinstall it but yet it did not work.
Is there any other possibility that might cause TinyMCE to act this way?
What I'm running:
TinyMCE 4.3.0
MODx Revo 2.1.3pl
MySQL 5.0.91
PHP 5.2.17
Thanks BobRay, I suppose I should've considered that option first...
It seems to have worked for now although, admittdly, the issue was intermittent, so we'll see if it lasts. And no, I hadn't changed any settings whatsoever - it's quite disconcerting when things like this happen without any alteration by myself.
As an aside - whenever I try to browse within the Modx Resource Browser ( tinymce -> insert/edit link -> link url : browse ) none of the folders, other than the root will show their contents. I can click through them and expend/contract the filetree, but the displayed files remain the same.
[ed. note: chris. last edited this post 14 years, 11 months ago.]
Hi,
I've been looking all over the internet and many forums about the same problem but still don't know why is this happening. I installed the TinyMCE editor but when i click the Insert link button it opens the pop-up window with homepage of my website and with url:
<name-of-the-site>/assets/components/tinymce/jscripts/tiny_mce/plugins/modxlink/link.php?v=220pl2 .
The insert/edit media and insert/edit image work just fine but i can't insert links.
I mean, it's not the end of the world, i can still insert the link manually in html mode but i would like to know why this doesn't work.
Modx version is 2.2.0
TinyMCE 4.3.2
[ed. note: DSkyline last edited this post 14 years, 5 months ago.]
I don't have a direct answer, but it might work to use NewsPublisher to let the user create and edit resources in the front end. NP has its own file and image browser, though you wouldn't be able to drag-and-drop resources for links. NP also uses the current version of TinyMCE from CDN, so it won't user your current TinyMCE at all. I can't guarantee that NP would work in that old version, but I think it would.
Something to try, though it doesn't really fit your symptoms very well, is to manually delete all files in the core/cache directory. Early 2.2 versions had trouble with cache corruption.
You probably know this, but your version has serious security vulnerabilities and is in danger of being hacked. A number of security fixes have been introduced since that version.
Interestingly, the insert images feature of the TinyMCE editor seems to work with Firefox, although the link feature still doesn't. Not sure what that means, if anything.
discuss.answer
Problem solved.
Turns out several directories within the assets folder had permissions set to 777. Changed them to 755 and all was fine. Thinking recent server security hardening made the permissions thing a lot less permissive, so to speak.