I am updated a drupal 5 database which had actions installed on it.

I disabled all modules before starting the update and the following error was thrown:

user warning: Table 'actions' already exists query: CREATE TABLE actions ( `aid` VARCHAR(255) NOT NULL DEFAULT '0', `type` VARCHAR(32) NOT NULL DEFAULT '', `callback` VARCHAR(255) NOT NULL DEFAULT '', `parameters` LONGTEXT NOT NULL, `description` VARCHAR(255) NOT NULL DEFAULT '0', PRIMARY KEY (aid) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in D:\or6\includes\database.inc on line 451.

CommentFileSizeAuthor
#4 system.install.patch2.26 KBmarcingy
#2 system.install.patch2.26 KBmarcingy

Comments

catch’s picture

Title: Existence of action table causes error » Existence of 5.x actions module table causes error

Bumping this to critical. Can't see either another issue or a mention in upgrade documention. Should be a check to see if the table exists in system_install_6030

marcingy’s picture

StatusFileSize
new2.26 KB

Patch provided.

have re-organised the code so as it only creates the arrays for the schemas if the tables don't exist.

marcingy’s picture

Status: Active » Needs review
marcingy’s picture

StatusFileSize
new2.26 KB

error in patch re-rolled

dpearcefl’s picture

Status: Needs review » Postponed (maintainer needs more info)

Is this still a problem in current D6?

dpearcefl’s picture

Status: Postponed (maintainer needs more info) » Needs work

We want your patch if it is still needed. Please resubmit it with a proper filename.

http://drupal.org/node/1054616
[description]-[issue-number]-[comment-number].patch

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.