Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
renders Wysiwyg ckediter useless after uninstall
renders Wysiwyg ckediter useless after uninstall
Comments
Comment #1
quicksketchHm, yes I'm not sure there's much we can do about this while this module shares the same name space. This module doesn't add any database tables, but the standard CKEditor module *does* add tables. After uninstalling this module, Drupal will think that no module ever named "ckeditor" has been installed, but the original CKEditor module has its database tables, so you encounter a PHP error upon (re)installation of the original CKEditor module.
Important to note, this *wouldn't* have happened had the original CKEditor module been uninstalled before this module was installed. Likewise, you would not encounter a problem if you hadn't uninstalled either module, since they don't conflict in database table usage.
So basically, if using this module you need to either:
A) Not uninstall either module when switching between them.
B) Uninstall both modules when switching between them.
If you uninstall one but not the other, problems will occur.
Comment #2
quicksketchUpon further thought, I think the only way to really make this work consistently is to uninstall the previous module every time when switching between them. If you install WYSIWYG CKEditor first, CKEditor module will not install properly because hook_install() will not fire.
So in short, you have to both uninstall and remove the previous module. I'll update the project page to reflect this requirement.
Comment #3
Wim Leers#2: indeed.