renders Wysiwyg ckediter useless after uninstall

Comments

quicksketch’s picture

Hm, 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.

quicksketch’s picture

Title: Wysiwyg ckediter useless » Installing WYSIWYG CKEditor will prevent CKEditor module from installing properly later
Category: bug » support
Status: Active » Fixed

Upon 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.

Wim Leers’s picture

#2: indeed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.