Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin can't be installed #46

Open
arentsen opened this issue Mar 8, 2024 · 0 comments
Open

Plugin can't be installed #46

arentsen opened this issue Mar 8, 2024 · 0 comments

Comments

@arentsen
Copy link

arentsen commented Mar 8, 2024

I get the message

Migration Error: An error occurred while executing the "nilsenpaul\cookieconsent\migrations\Install migration: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'completecookieconsent_settings' already exists
The SQL being executed was: CREATE TABLE completecookieconsent_settings (
id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
siteId int(11) NOT NULL,
settings text,
dateCreated datetime(0) NOT NULL,
dateUpdated datetime(0) NOT NULL,
uid char(36) NOT NULL DEFAULT '0'
) ENGINE = InnoDb DEFAULT CHARACTER SET = utf8

when trying to install the plugin. I already deleted the table before installing, but it seems the installation tries to create this table twice. Any help would be appreciated.

Version: 1.1.1
Craft version: 4.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant