error with Header-links extension

Please post any support questions here. Guest posting is allowed
novw
Posts: 0
Joined: Mon Apr 03, 2017 12:34 pm

error with Header-links extension

Post by novw » Mon Apr 03, 2017 12:37 pm

Whoopsie... I just installed Header Links-extension in my forum @ http://www.kerstdorpen.nl/forum2 (PHPbb3.2), but as soon as I try to configure I end up with this:

Code: Select all

SQL ERROR [ mysqli ]

Duplicate entry 'headerlink_active_7' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('headerlink_active_7', 0, 0)

BACKTRACE

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

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

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

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

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

FILE: [ROOT]/phpbb/config/db.php
LINE: 122
CALL: phpbb\config\db->set_atomic()

FILE: [ROOT]/ext/hifikabin/headerlink/acp/headerlink_module.php
LINE: 77
CALL: phpbb\config\db->set()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: hifikabin\headerlink\acp\headerlink_module->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()
Final question, in the admin panel is a special tab called "extensions". would it not be smarter / easier to put the configuration of the extension there?

Administrator
Site Admin
Posts: 253
Joined: Tue Nov 18, 2014 11:30 am

Re: error with Header-links extension

Post by Administrator » Mon Apr 03, 2017 1:16 pm

Try disabling the extension and deleting data in the ACP and try again.

If that doesn't work then you will need to do an edit of the database (but I'll talk you through that later if needed)

The configuration could go in either position, but I decided on there as it is probably a 'set and forget' extension