I would like report an issue I encountered and the only resolution I could find.
This has happened twice so far. First time when I installed the AdPlugin, rebuilt discourse and went to the admin Settings
page → Adsense
→ adsense topic list top code
and I tried to enter the ad unit code, it wouldn’t let me save it. I would click on the green check box and nothing would happen. Tried to reload the settings page, same results. Infact I couldn’t save any ad unit codes on that page.
Solution: Restart the server, worked just fine, I could save any changes to the AdSense page
Today, after about a week of running, I wanted to make some changes, mid last week I had removed the ad unit code from adsense topic list top code
and today I wanted to put it back. Same issue, it refused to let me save it. I could change settings in other parts of discourse but it wouldn’t let me enter or change any ad unit codes on the AdSense page.
Solution - Restart the server
It couldn’t be co-incidence that it happened twice, weeks apart. It only seems to impact the ad unit code.
If anyone has any suggestions it would be welcome, I don’t think restarting the server each time is a happy solution.
I’m running: v2.3.0.beta9 +468