looks like book.module is confused about having previously been enabled or something?

user warning: Table 'book' already exists query: CREATE TABLE book ( vid int unsigned NOT NULL default '0', nid int unsigned NOT NULL default '0', parent int NOT NULL default '0', weight tinyint NOT NULL default '0', PRIMARY KEY (vid), KEY nid (nid), KEY parent (parent) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in /var/www/includes/database.mysql.inc on line 167.

Comments

vm’s picture

This is a warning informing you that the table has already been created. Not necessarily an error. Is the error persistent ? if you disable the book module again and renable is the same error returned ?

is the book module working as expected ?

hyperlogos’s picture

It's an error because book.module should know based on schema version whether or not it should be creating tables. It's not a new install, it's an update.

marcingy’s picture

Install file requires patching

cburschka’s picture

Is this a 5.0 issue or a 4.7 issue? book.install in 5.x-dev has only two hooks - _install and _uninstall. Not sure what could cause it to be called again after upgrade.

dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the age of this issue with no responses and that D5 is unsupported, I am closing this issue.