Hi,
I had the following problem on my website:
After enabling then disabling Redirect, there was still the redirect table in the MySQL database but no uninstall option in admin/modules. This created a problem with trying to reinstall the module:
"Error messageDatabaseSchemaObjectExistsException: Table redirect already exists. in DatabaseSchema->createTable() (line 657 of /home/(user)/(site)/public/includes/database/schema.inc).
The website encountered an unexpected error. Please try again later."
After this, the the module was listed as active, but clicking on Configure redirected to Search settings. Simply disabling it, manually deleting the redirect table from the database, then re-enabling it did the trick.
Comments
Comment #1
dave reidYeah sounds like core's uninstall did not work properly. There's no reason it shouldn't have offered to uninstall cleanly. By disabling and enabling you cleared the menu router cache which made the menu links work again. Unless this can be reproduced, I'm just going to think this is one of those "random circumstances that we can never duplicate."
Comment #3
Alek1983 commentedComment #4
totocol commentedHi there,
Same issue here:
atabaseSchemaObjectExistsException: Table redirect already exists. in DatabaseSchema->createTable() (line 657 of /includes/database/schema.inc).
Would it be safe to delete it manually?
Cheers
Comment #5
dddbbb commentedI'm experiencing this exact same issue/error message under the same circumstances.
Comment #6
dddbbb commentedComment #7
dddbbb commentedIncidentally, I did have success dropping the redirect table before re-enabling the module.
Comment #8
sonobor1 commentedDatabaseSchemaObjectExistsException: Table redirect already exists. in DatabaseSchema->createTable() (line 657 of /includes/database/schema.inc).
The website encountered an unexpected error. Please try again later.
No solution other than manually deleting the fields from the database? It worked but . . .
I don't see an uninstall option either.
Comment #9
pere orgaTo try to reproduce the problem we would like to have more details. By the way nodules can be uninstalled after they are disabled.