Thanks for posts

Thanks for posts Error - Thanks for posts

Thanks for posts Error

by KleineHexe » Sun Jun 16, 2024 9:04 pm

Hello, I got the extension.

https://www.phpbb.com/customise/db/exte ... r_posts_2/

Unfortunately I can't get it activated. Always have this error.
Can someone help me please?

Code: Select all

Allgemeiner Fehler
SQL ERROR [ mysqli ]

Duplicate entry 'gfksx/thanksforposts' for key 'ext_name' [1062]

SQL

INSERT INTO phpbb_ext (ext_name, ext_active, ext_state) VALUES ('gfksx/thanksforposts', 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: 1031
CALL: trigger_error()

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

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 353
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()
KleineHexe
Registered User
Posts: 6
Joined: Sat Apr 17, 2021 3:46 pm

Re: Thanks for posts Error

by rxu » Mon Jun 17, 2024 2:17 am

Was it installed before and is it some kind of the extension upgrade?
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Thanks for posts Error

by KleineHexe » Mon Jun 17, 2024 2:58 pm

Yes it´s installed before, and and no it is not an extension upgrade, but the original
KleineHexe
Registered User
Posts: 6
Joined: Sat Apr 17, 2021 3:46 pm

Re: Thanks for posts Error

by rxu » Mon Jun 17, 2024 3:45 pm

What version was that?
Also wasn't it the fork by Naguissa just like in the topic next to this one?
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Thanks for posts Error

by KleineHexe » Mon Jun 17, 2024 4:03 pm

KleineHexe
Registered User
Posts: 6
Joined: Sat Apr 17, 2021 3:46 pm

Re: Thanks for posts Error

by rxu » Mon Jun 17, 2024 4:07 pm

Ok, what was the previous version number and how did you update exactly?
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Thanks for posts Error

by KleineHexe » Mon Jun 17, 2024 4:20 pm

I didn't do an update, but installed this version directly after installing the forum
KleineHexe
Registered User
Posts: 6
Joined: Sat Apr 17, 2021 3:46 pm

Re: Thanks for posts Error

by rxu » Mon Jun 17, 2024 4:33 pm

It's a bit of confusion, you said it was installed before and it's not an update at the same time.
Anyway, as a first step it's worth to disable the extension, then delete extension data, then check if there're any thanks-related records in phpbb_ext table for the start (if you have direct database access via phpMyadmin or site CP).
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Thanks for posts Error

by KleineHexe » Mon Jun 17, 2024 5:25 pm

There is no entry in the phpBB_exe in the database.
No, I wanted to install the ext., but it doesn't work. The above error occurs.
KleineHexe
Registered User
Posts: 6
Joined: Sat Apr 17, 2021 3:46 pm

Re: Thanks for posts Error

by rxu » Tue Jun 18, 2024 2:43 am

That's something I couldn't reproduce with the clean installation. To get an idea what happens, I have some questions.
Are there any correcsponding records in webserver's error log?
Also, what is the value of max_execution_time parameter in php.ini?

EDIT:
Also, was there the message like "The extension is currently being enabled. Please do not leave or refresh this page until it is completed." in the meantime during installation?
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: Thanks for posts Error

by rxu » Wed Jun 19, 2024 3:31 am

There's a chance it's phpBB bug so the answers could help to sort it out.
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation