Is anyone having issues with page not found when trying to donate towards a campaign?
Check your usergroup permissions. I just upgraded and it's working for me...
Is anyone having issues with page not found when trying to donate towards a campaign?
Is anyone having issues with page not found when trying to donate towards a campaign?
Can you screenshot the exact error message from within your browser's console?
This happens when I click on "Donate":Can you screenshot the exact error message from within your browser's console?
Yep. I am getting the exact same problem under the exact same conditions. Completely fresh installation of XF and TH Donate.
My website as well!
Oops...here's the actual error console. It looks like its a problem with:
jquery.min.js:4 POST https://nchuntandfish.com/forums/index.php?purchase/th_donate_campaign/&campaign_id=1 404 (Not Found)
send@jquery.min.js:4ajax@jquery.min.js:4ajax@core-compiled.js?_v=1c9a3eb4:41(anonymous)@core-compiled.js?_v=1c9a3eb4:174setTimeout (async)submit@core-compiled.js?_v=1c9a3eb4:173(anonymous)@core-compiled.js?_v=1c9a3eb4:69dispatch@jquery.min.js:3q.handle@jquery.min.js:3
php cmd.php xf-addon:install-step ThemeHouse/Donate 4
insert into xf_purchasable (purchasable_type_id, purchasable_class, addon_id) VALUES ('th_donate_campaign', 'ThemeHouse\Donate:Campaign', 'ThemeHouse/Donate');
Odd, only time I've had this occur was when upgrading directly to XF2 version of 1.0.0 (and was fixed in 1.0.1) from the XF1 version, never on a fresh install. Let me have a look into why this would've happened, but for now you can run the following command through SSH to force the row to be inserted:
php cmd.php xf-addon:install-step ThemeHouse/Donate 4
If you don't have SSH access, or that doesn't work for some reason you can run the following SQL query:
insert into xf_purchasable (purchasable_type_id, purchasable_class, addon_id) VALUES ('th_donate_campaign', 'ThemeHouse\Donate:Campaign', 'ThemeHouse/Donate');
and then rebuild master data by going to /install
Will I have to rebuild master data if I used the install-step method?
I unfortunately didn't try to skip that step, you would need to try to find outDid you have to rebuild the data to get it to work? I try to avoid rebuilding anything unless I absolutely have to.
I try to avoid rebuilding anything unless I absolutely have to.
We use essential cookies to make this site work, and optional cookies to enhance your experience.