Does this happen to all kinds of campaigns or just specific ones? Try making one or more simple examples and see if the same error occurs. Do you see a pattern?
I found a bug in the MySql install sql script. We are adding a
CampaignId column to the TeaCommerce_Discount table. Just remove that column and it should be working.
I have deleted the CampaignId column and it returned another error.
This time it was the AwardAlias column not having a default value, so after removing that and then the Settings column had the same issue.
For the campaign I have which is basically just a free delivery when sub-total is over X amount, it works a treat now. However, what impact does the removal of these 2 other columns? I'm not wanting to break any functionality of the awards on the campaigns.
Form Post Error From Campaign
I recently run into an issue with a campaign which is required for the website we are building for a client.
I am using Umbraco v7.11.1 and MySQL as the database
The error is only when the campaign is active and when the parameters are met for the campaign.
Any help on this one would be awesome!
David
Hi David
Does this happen to all kinds of campaigns or just specific ones? Try making one or more simple examples and see if the same error occurs. Do you see a pattern?
/Rune
Hi Rune,
Appreciate the response.
I have tried it with another couple of test awards and they all return the 500 Error with the same reasons within the Umbraco trace log.
Thanks,
David
Hi David,
I found a bug in the MySql install sql script. We are adding a CampaignId column to the TeaCommerce_Discount table. Just remove that column and it should be working.
/Rune
Hi Rune,
I have deleted the CampaignId column and it returned another error.
This time it was the AwardAlias column not having a default value, so after removing that and then the Settings column had the same issue.
For the campaign I have which is basically just a free delivery when sub-total is over X amount, it works a treat now. However, what impact does the removal of these 2 other columns? I'm not wanting to break any functionality of the awards on the campaigns.
/David
Hi David,
You are right. Those two can be deleted from the TeaCommerce_Discount table as well. Looks much like a copy paste error in the sql install scripts.
Thanks for your error report!
/Rune
is working on a reply...