Others seem to be having trouble with TinyMCE as well. If you can’t get it working, you should report the problem here:
https://github.com/splittingred/TinyMCE/issues
Thanks so much for helping me out. Do you change the settings manually by right clicking the Plugin, then going to System Events and unchecking the boxes? Or is there a more manual way by getting into a php file? I did a search for "OnRichTextBrowserInit" in my core, and one file came up: packages/core/modEvent/8686c51cfbbbe9ea31e048531e5cb2c3.vehicle
This is what’s in it:
<?php return array (
’preserve_keys’ => false,
’update_object’ => true,
’unique_key’ =>
array (
0 => ’name’,
),
’vehicle_package’ => ’transport’,
’vehicle_class’ => ’xPDOObjectVehicle’,
’guid’ => ’9c8d7cde6e7afcb2312f693cc6ab9485’,
’package’ => ’modx’,
’class’ => ’modEvent’,
’signature’ => ’8686c51cfbbbe9ea31e048531e5cb2c3’,
’native_key’ => NULL,
’object’ => ’{"name":"OnRichTextBrowserInit","service":1,"groupname":"RichText Editor"}’,
);
There are two other files like this for the other two system settings that can’t deinstall/install. Should I delete or edit these files?
EDIT: This is AFTER I manually deleted all files / folders in my core cache.
EDIT: Thanks for the GitHub link, I will report this for sure.
Something else curious which I hope may be a key to understanding this problem, is that when I went into the TinyMCE System Events to uncheck OnRichTextBrowserInit, OnRichTextEditorInit, and OnRichTextEditorRegister (after another unsuccessful TinyMCE install and getting ready for a deinstall), I noticed that when I unchecked them, the Property Set value switched from ’0’ to ’Default’ -- then when I checked them again, the values stayed at ’0’.
Quote from: patcharan at Feb 10, 2011, 09:46 PM
Thanks so much for helping me out. Do you change the settings manually by right clicking the Plugin, then going to System Events and unchecking the boxes? Or is there a more manual way by getting into a php file? I did a search for "OnRichTextBrowserInit" in my core, and one file came up: packages/core/modEvent/8686c51cfbbbe9ea31e048531e5cb2c3.vehicle
I believe those events are part of the MODx core rather than TinyMCE. I have them in a MODx site where Tiny has never been installed, so it’s unlikely that they’re part of the problem. Unchecking the boxes when editing the TinyMCE plugin would just mean that Tiny wouldn’t respond to those events, which can’t help you.
You might try uninstalling and removing (force removal) TinyMCE and installing an older version of it. There are some listed here:
http://modxcms.com/extras/package/?package=459.
The older versions are grayed-out, but you can still click on them and download them. Download them to your core/packages directory, then in Package Manager, click on "Add New Package" and "Search Locally for Packages.
It really appreciate the help I got; thank you. I am just crushed, however. I decided it would be worth it to start completely over again and rebuild the mySql database and reinstall modx. The first thing I did was force the PLPzip archive and installed tinyMCE from my fresh manually ftp’d tinyMCE zip transport. Everything looked good with no errors and I checked the OnRichText system events -- but TinyMCE does not show up.
I tried installing CKEditor and got a bunch of errors after I deinstalled my broken tinyMCE -- I wonder if this has any clues?
Attempting to install package with signature: ckeditor-0.1-rc2
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Attempting to attach plugin to event: OnRichTextEditorRegister
Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column ’modPluginEvent.evtid’ in ’where clause’ )
Attempting to attach plugin to event: OnRichTextEditorInit
Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column ’modPluginEvent.evtid’ in ’where clause’ )
Error 23000 executing statement: INSERT INTO `modxdb_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (3, ’’, 0, 0) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry ’3-’ for key 1 )
Attempting to attach plugin to event: OnChunkFormPrerender
Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column ’modPluginEvent.evtid’ in ’where clause’ )
Error 23000 executing statement: INSERT INTO `modxdb_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (3, ’’, 0, 0) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry ’3-’ for key 1 )
Attempting to attach plugin to event: OnRichTextBrowserInit
Error 42S22 executing statement: Array ( [0] => 42S22 [1] => 1054 [2] => Unknown column ’modPluginEvent.evtid’ in ’where clause’ )
Error 23000 executing statement: INSERT INTO `modxdb_site_plugin_events` (`pluginid`, `event`, `priority`, `propertyset`) VALUES (3, ’’, 0, 0) Array ( [0] => 23000 [1] => 1062 [2] => Duplicate entry ’3-’ for key 1 )
xPDOVehicle resolver failed: type php (/data/9/1/18/114/1344440/user/1441327/htdocs/core/packages/ckeditor-0.1-rc2/modPlugin/68f3c4a36cfe3cd97a57d649f03151f9.resolve.plugin.events.resolver)
Attempting to set which_editor setting to CKEditor.
Error 42S02 executing statement: Array ( [0] => 42S02 [1] => 1146 [2] => Table ’modxdb.modxdb_lexicon_languages’ doesn’t exist )
Created table `modxdb_lexicon_languages` SQL: CREATE TABLE `modxdb_lexicon_languages` (`name` VARCHAR(20) NOT NULL DEFAULT ’’, PRIMARY KEY (`name`)) ENGINE=MyISAM
Successfully installed package ckeditor-0.1-rc2
Yes, that does suggest what’s happening. It looks like you are trying to install the MODx Evolution version of the editor in MODx Revolution.
I wonder if that could be the problem with TinyMCE as well.
Did you get the package by going to Package Manager and clicking on Download Extras?
Possibly you missed the notice for CKeditor in red that says : This version has been marked as deprecated. Please use a newer version.
Unfortunately, there is no newer version that I can find.
I see you are running Evolution 2.0.0. The current version is 2.0.7 and it’s entirely possible that the current version of TinyMCE doesn’t work with 2.0.0. Sorry, I should have noticed that earlier.
?? I am running revo 2.0.7. I was running 2.0.6 on my last install. Sorry if I put up somewhere that I’m running evo. ?? .. unless you just meant Revo 2.0.0... but revo 2.0.6 was my first.