I would test it out on BTM one more time 1st. If its not working then it’ll be easier for me to grant you admin on PHM. Sorry i’m working on why BTM is being spam filtered
Hi @syl
So i have tested this in phm now too. Created a new page with the name m_z.
The tags do not seem to have been created, i checked here https://publichappinessmovement.com/tags/dcs-m_z-photos
The previous category error doesnt appear in phm so i think it probably is unrelated.
The category error has been fixed on BTM. It wasn’t set up fully, but it is now. Zahra’s issue is unrelated.
@Zahra, is there any error in the console when you call postCreateDcsTags()
?
@Zahra, you can check the category list in https://publichappinessmovement.com/categories
@AndyatFocallocal, I’ve received no notification email for 2 days about this thread (although I’m in “Watching” mode), then suddenly received one today about your last post…
@syl yep you can test it by adding a resource here https://brightertomorrowmap.com/docuss/m_gather or on https://publichappinessmovement.com
@Zahra, thanks a lot.
I’m getting an error in the console when creating an event. The error seems to be caused by an undefined pageName
. I’ve got an idea of why the pageName
is undefined, but I’m puzzled as why you don’t get this error on your side. Do you confirm you have no error in the console when creating an event?
I’m testing on https://publichappinessmovement.com. Would you please send me a Github link on the actual deployed code on PHM for your onCreateEvent()
function? I’m looking at this code right now, but I believe it’s not the right one, because I can’t see console.log('routes', routeMatcher)
or console.log('result', result)
displaying anything in the console…
Also, it seems creating an event doesn’t work. I get multiple exceptions when trying to access the event I’ve just created. See here: https://publichappinessmovement.com/docuss/m_4. Does it happen to you as well?
@bob would you be able to set Syl (and anyone else who wants) up with our app if he doesn’t mind installing it.
I’ll tweak the email settings again but am finding it difficult to find a balance between rediculous emails which aren’t scalable, and having users miss notifications. There are probably 20ppl in this thread and emailing all of them when someone comments quickly gets out of hand. The app’s push notifications would fix that.
@syl @AndyatFocallocal I set the app as open beta so anyone should be able to find it for now.
Search for “Public happiness movement” on Google play store or this link
It doesn’t have the new logo yet, I’ll get that done soon.
@syl Hi Syl, sorry i only just saw this. You are looking at the correct code in git. I am not seeing any errors in the console and i am seeing the console logs for routes and result.
I was able to create an event without any errors in phm and btm. Not sure why you are getting errors, i just tried again and everything seems to be fine. I created this, https://publichappinessmovement.com/docuss/m_10
Have you tried in btm as well?
@Zahra, there is a bug here. It should be pageName: result
. I’ve added a better error message in Docuss to help catch this in the future.
If this fix alone doesn’t solve the issue, would you please change this line to console.log('routes', routeMatcher, eventId);
? Thanks.
@syl This is the error when creating a new event now:
m_4 - The Pu - Docuss Error - Failed to create tags [“dcs-m_z-photos”,“dcs-m_z-videos”,“dcs-m_z-stories”]: {“action”:“create_post”,“errors”:[“Category can’t be blank”]}
That’s a Docuss bug (due to this unexpected setting in the PHM forum: allow uncategorized topics: unchecked)
. I’m working on it.