Auto Groups

Problem when Enabling Ext - Auto Groups

Problem when Enabling Ext

by Stese » Mon Oct 02, 2023 9:21 am

Hi,

On a 3.3.10 board, i'm getting the following when trying to enable the extension.

Code: Select all


General Error
SQL ERROR [ mysqli ]

Duplicate entry 'phpbb/autogroups' for key 'ext_name' [1062]

SQL

INSERT INTO phpbb_ext (ext_name, ext_active, ext_state) VALUES ('phpbb/autogroups', 0, 's:13:\"notifications\";')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 202
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 345
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 179
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/extension/manager.php
LINE: 241
CALL: phpbb\extension\manager->update_state()

FILE: [ROOT]/includes/acp/acp_extensions.php
LINE: 209
CALL: phpbb\extension\manager->enable_step()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: acp_extensions->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()

Duplicate entry 'phpbb/autogroups' for key 'ext_name' [1062] seems to suggest that the db does have some reference to this previously, so possibly it's not been removed correctly?

How would I purge the old entry from the DB?

Many thanks,

Steve D.
Stese
Registered User
Posts: 4
Joined: Tue Jul 23, 2013 8:37 pm

Re: Problem when Enabling Ext

by MattF » Mon Oct 02, 2023 12:40 pm

Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6104
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Problem when Enabling Ext

by Stese » Mon Oct 02, 2023 3:27 pm

Thanks,

I'm on PHP 8.1.19, so it's not that. I'll try swapping to mysql rather than mysqli.
Stese
Registered User
Posts: 4
Joined: Tue Jul 23, 2013 8:37 pm