Prime Notify

"General error" in ACP settings - Prime Notify

"General error" in ACP settings

by Lord Phobos » Sun Mar 26, 2023 1:34 am

Hi

I freshly installed a board and added this extension to it. Enabled.
If I go into Extension and into Prime Notify in ACP, I find all options blank, no value selected.
If I select any value (like "yes" in "Enable for posts", or everything else) my forum returns a "General Error" page.

Here's what appears:

Code: Select all

Errore Generale
SQL ERROR [ mysqli ]

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

SQL

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

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/config/db.php
LINE: 176
CALL: phpbb\db\driver\factory->sql_query()

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

FILE: [ROOT]/ext/primehalo/primenotify/acp/main_module.php
LINE: 77
CALL: phpbb\config\db->set()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: primehalo\primenotify\acp\main_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
Could you please help?

Thanks in advance.
Lord Phobos
Registered User
Posts: 937
Joined: Tue May 18, 2004 11:41 pm

Re: "General error" in ACP settings

by primehalo » Sun Mar 26, 2023 6:41 pm

Try clearing the board cache as mentioned here?
viewtopic.php?t=2440536
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
primehalo
Former Team Member
Posts: 2992
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA

Re: "General error" in ACP settings

by Lord Phobos » Sun Mar 26, 2023 9:07 pm

Solved!.
Thanks
Lord Phobos
Registered User
Posts: 937
Joined: Tue May 18, 2004 11:41 pm