It is possible through an install of front page, and then a restore of the database, to get into a condition where one cannot do the save configuration function in the modules list (with front page checked) in order to get front page activated. Instead, while front page permissions menu is installed in admin, the useful menus (Home links and Settings) are not.
And when you do the save configuration function, an error is presented:
Error messageDatabaseSchemaObjectExistsException: Table front_page already exists. in DatabaseSchema->createTable() (line 629 of ...path.../includes/database/schema.inc).
The website encountered an unexpected error. Please try again later.
Trying again later doesn't work.
However, what did work for me is to do:
DROP TABLE IF EXISTS `front_page`;
in the database...
after that, it installed clean.
I could not reproduce the problem but basically, it appears that something was half baked, and removing the table let the install go clean.
I did lose my previously existing front page config, so if that matters to you, back up the table first.
Comments
Comment #1
timhilliard commentedI'm sorry but I dont quite understand the full picture here I think.
So you are trying to do a restore of a Drupal database and the Front Page module wont enable after the restore in the modules list? This sounds like you are missing the module information from the system table which would have prevented the module from trying to cleanly install since you already had the table and data. I don't think this is really a bug but more the fact that something went wrong with the data restore.
I'm going to close for now as I don't think its a bug but if you disagree or still need help please feel free to re-open the ticket.
Cheers,
Tim