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.
Got the following error when trying to install. I tried with both the latest DEV and BETA branches.
DatabaseSchemaObjectExistsException: Table jabber already exists. in DatabaseSchema->createTable() (line 657 of /public_html/d7/includes/database/schema.inc).
Comment | File | Size | Author |
---|---|---|---|
#13 | jabber-remove_install_uninstall.patch | 428 bytes | John Franklin |
#7 | j1.png | 36.92 KB | morphay |
#7 | j2.png | 44.45 KB | morphay |
Comments
Comment #1
Digital Fire CreditAttribution: Digital Fire commentedComment #2
Barnettech CreditAttribution: Barnettech commentedI find that Drupal doesn't always update tables well when a module is uninstalled. Try uninstalling the module and the installing it again. If that doesn't work. Uninstall jabber. Then delete the jabber table manually. Then re-enable the jabber module again.
Comment #3
Barnettech CreditAttribution: Barnettech commentedComment #4
fraweg CreditAttribution: fraweg commentedHello
I have the same error.
I do that but always the same error. There is also no "/admin/settings/jabber" to configure this modul
Best regards
Frank
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedGetting same error on first install of Jabber. Is it possible another module has created a table called "jabber"?
Comment #6
Barnettech CreditAttribution: Barnettech commentedWhen drupal gives you this error, try uninstalling the module (don't just disable it). It will remove the jabber table. Then reinstalling you'll be able to succeed in creating the jabber table.
Comment #7
morphay CreditAttribution: morphay commentedcan not be removed because:
but when I installed the module, then I got this:
Comment #8
Barnettech CreditAttribution: Barnettech commentedif you have to you can always just uninstall the module, then delete the jabber table from mysql. But uninstalling (not disabling) the module should delete the tables. After the table is deleted you can try reinstalling jabber.
Comment #9
Digital Fire CreditAttribution: Digital Fire commentedThat's what it is supposed to do. But it is not doing that. So maybe a possible patch will fix the issue?
Comment #10
John Franklin CreditAttribution: John Franklin commentedI'm getting this on a fresh database.
Comment #11
John Franklin CreditAttribution: John Franklin commentedIt looks like hook_install and hook_uninstall can be removed entirely. The functionality there is already performed by Drupal core.
Comment #12
John Franklin CreditAttribution: John Franklin commented[remote dup] (really Drupal? You can't prevent double submit of a form?)
Comment #13
John Franklin CreditAttribution: John Franklin commentedAttached patch will fix the problem.
Comment #14
Matt V. CreditAttribution: Matt V. commentedI reviewed the patch and tested it. It applied cleanly and resolved the install and uninstall errors I had been getting.
Comment #15
John Franklin CreditAttribution: John Franklin commentedPatch committed.