Holiday - Promotional Message

Error on install module v3.1.2 - Holiday - Promotional Message

Error on install module v3.1.2

by tedukes » Tue Feb 01, 2022 5:10 pm

I followed update instructions, removed module, uploaded new files then tried to install, got the following error:

Fatal error: DB: [1062] Duplicate entry 'MODULE_CONTENT_HEADER_HOLIDAY_STATUS' for key 'uq_configuration_key' in /home/xxxxxxxxxxxxxx/public_html/shop/includes/system/versioned/1.0.8.1/database_core.php on line 44
tedukes
Member
Posts: 87
Joined: Wed Oct 27, 2021 11:27 pm
Phoenix Version:
Contact:

Re: Error on install module v3.1.2

by raiwa » Tue Feb 01, 2022 5:34 pm

Just checked and it works all correct for me.
Maybe you didn't uninstall the module before replacing the file(s).
To fix it, you can recover a database backup from before the update. Then try again.
or
Manually delete all entries in your configuration table which start with:
"MODULE_CONTENT_HEADER_HOLIDAY_"
Then install the module.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing

Need Help?viewtopic.php?f=10&t=27
raiwa
Certified Developer
Posts: 1640
Joined: Sat Dec 21, 2019 8:08 am
Phoenix Version: 1.1.0.6
Contact:

Re: Error on install module v3.1.2

by tedukes » Tue Feb 01, 2022 5:48 pm

raiwa wrote:Just checked and it works all correct for me.
Maybe you didn't uninstall the module before replacing the file(s).
To fix it, you can recover a database backup from before the update. Then try again.
or
Manually delete all entries in your configuration table which start with:
"MODULE_CONTENT_HEADER_HOLIDAY_"
Then install the module.
Thanks!!

I did uninstall first.
I deleted the rows in the configuration table as you instructed above. All is working now.
tedukes
Member
Posts: 87
Joined: Wed Oct 27, 2021 11:27 pm
Phoenix Version:
Contact: