Jump to:
| Project: | Masquerade |
| Version: | 7.x-1.0-rc4 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
If masquerade's table already exists (which it might for a variety of reasons), turning the module on producesDatabaseSchemaObjectExistsException: Table <em class="placeholder">masquerade</em> already exists. in DatabaseSchema->createTable() (line 652 of C:\inetpub\wwwroot\RCS\includes\database\schema.inc).
My particular scenario is that I backup the data from my production server - which does not have masquerade installed - and restore it to my development server - which does. I thought it might help if I disabled masquerade before restoring, but it does not. I can work around this by making sure masquerade is disabled and going into the db and removing two tables (masquerade*) - but I have to remember how to use mysql to do this :).
Comments
#1
#1537328: Error when updating Drupal 6 to Drupal 7
#2
I had same error, even tho' module worked an hour ago... I fixed it now, after some experimenting. I re-enabled the Toolbar core module and masquerade started working.. Maybe this could help you too...
#3
I found this issue when migrate my Drupal 7 to a new server.
#2 works. I installed administration menu and therefore toolbar is disabled. After enable and then disable toolbar, masquerade works.