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.
Hi all
When I enable this module I get
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '240314mig7full_0.ckeditor_input_format' doesn't exist: SELECT s.name AS name, f.format AS format FROM {ckeditor_settings} s INNER JOIN {ckeditor_input_format} f ON f.name = s.name; Array ( ) in ckeditor_profile_input_formats() (line 630 of /data/disk/o1/static/hop7-170314/sites/all/modules/ckeditor/includes/ckeditor.lib.inc).
If I go to /admin/config/content/ckeditor I get
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table '240314mig7full_0.ckeditor_input_format' doesn't exist: SELECT f.* FROM {ckeditor_input_format} f; Array ( ) in ckeditor_profile_load() (line 320 of /data/disk/o1/static/hop7-170314/sites/all/modules/ckeditor/ckeditor.module).
Any ideas please?
Comments
Comment #1
bkat CreditAttribution: bkat commentedI just encountered the same problem on a site that I'm upgrading from D6 to D7.
It looks like there is no migration of ckeditor schema from D6 to D7 so the new D7 tables were not created. I worked around this by uninstalling the module and then re-enabling it.
Comment #2
ponyxprs CreditAttribution: ponyxprs commentedhow did you uninstall the module? i can't get to any admin page?
Comment #3
bkat CreditAttribution: bkat commenteddrush pm-uninstall ckeditor
Comment #4
umeshpatil CreditAttribution: umeshpatil as a volunteer commentedI ran update.php again and error's gone and module's got enabled.