Hi,

I have a problem when installing Notifications on my D7 drupal site. After installing and running update.php i get the following error:

"messaging_simple module
Update #6001

Failed: DatabaseSchemaObjectExistsException: Table messaging_simple already exists. in DatabaseSchema->createTable() (line 652 of /www/includes/database/schema.inc)."

Line 652 is:

throw new DatabaseSchemaObjectExistsException(t('Table %name already exists.', array('%name' => $name)));

In:

public function createTable($name, $table) {
if ($this->tableExists($name)) {
throw new DatabaseSchemaObjectExistsException(t('Table %name already exists.', array('%name' => $name)));
}
$statements = $this->createTableSql($name, $table);
foreach ($statements as $statement) {
$this->connection->query($statement);
}
}

I updated from drupal 6, and have used notifications before on that version (with the same db). But have done fresh install of D7 and notifications 7.x-1.x-dev now. Any help or leads on what causes this?

Thanks a lot!
Erik

Comments

digibrill’s picture

Did you ever find out anything about this? I have the same situation.

erik_o’s picture

Unfortunately not! I ended up removing the Notifications module completely and went for another solution. But I would still be very interested in getting this fixed in some way!

digibrill’s picture

Yes, that's what I was going to do. Well thanks.

thagenhofer’s picture

Strange! More than two years later I have exactly the same problem. Deleting the table or deleting fields that don ´t exists in messaging_simple_install cannot solve this problem.
Has anyone new information about this problem?