# Users posting a resource are automatically subscribed ('following') the Discourse topics on their page

**URL:** https://publichappinessmovement.com/t/topic/1588
**Category:** React Js and Meteor
**Tags:** done, reactjs
**Created:** [3 September 2019 16:01 UTC](https://publichappinessmovement.com/t/topic/1588 "2019-09-03T16:01:11Z")
**Posts on this page:** 20
**Page:** 5

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [28 April 2020 10:50 UTC](https://publichappinessmovement.com/t/topic/1588/81 "2020-04-28T10:50:37Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [28 April 2020 14:15 UTC](https://publichappinessmovement.com/t/topic/1588/82 "2020-04-28T14:15:46Z")

</div>

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](https://publichappinessmovement.com/tags/dcs-m_z-photos)

The previous category error doesnt appear in phm so i think it probably is unrelated.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [28 April 2020 14:29 UTC](https://publichappinessmovement.com/t/topic/1588/83 "2020-04-28T14:29:07Z")

</div>

The category error has been fixed on BTM. It wasn’t set up fully, but it is now. Zahra’s issue is unrelated.

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [30 April 2020 10:00 UTC](https://publichappinessmovement.com/t/topic/1588/84 "2020-04-30T10:00:31Z")

</div>

@syl can you see any reason why the fix isn’t working?

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [30 April 2020 12:09 UTC](https://publichappinessmovement.com/t/topic/1588/85 "2020-04-30T12:09:37Z")

</div>

@Zahra, is there any error in the console when you call `postCreateDcsTags()`?

@Zahra, you can check the category list in [https://publichappinessmovement.com/categories](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…

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [30 April 2020 12:15 UTC](https://publichappinessmovement.com/t/topic/1588/86 "2020-04-30T12:15:21Z")

</div>

@syl nope no errors in the console

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [30 April 2020 12:24 UTC](https://publichappinessmovement.com/t/topic/1588/87 "2020-04-30T12:24:08Z")

</div>

@Zahra, is your code deployed on a public server so that I can check on my side?

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [30 April 2020 12:31 UTC](https://publichappinessmovement.com/t/topic/1588/88 "2020-04-30T12:31:30Z")

</div>

@syl yep you can test it by adding a resource here [https://brightertomorrowmap.com/docuss/m\_gather](https://brightertomorrowmap.com/docuss/m_gather) or on [https://publichappinessmovement.com](https://publichappinessmovement.com/categories)

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [30 April 2020 13:12 UTC](https://publichappinessmovement.com/t/topic/1588/89 "2020-04-30T13:12:19Z")

</div>

@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](https://publichappinessmovement.com/categories). 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](https://github.com/focallocal/fl-maps/blob/deploy-phm/imports/client/ui/pages/NewEvent/index.js#L169) 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](https://publichappinessmovement.com/docuss/m_4). Does it happen to you as well?

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [30 April 2020 13:23 UTC](https://publichappinessmovement.com/t/topic/1588/90 "2020-04-30T13:23:49Z")

</div>

@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.

---

<div class="post-metadata">

### Author: ![bob](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/b/ea666f/32.png) [@bob](https://publichappinessmovement.com/u/bob)
#### Post date: [1 May 2020 06:31 UTC](https://publichappinessmovement.com/t/topic/1588/91 "2020-05-01T06:31:03Z")

</div>

@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](https://play.google.com/store/apps/details?id=tohu.phmapp)  
It doesn’t have the new logo yet, I’ll get that done soon.

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [4 May 2020 09:50 UTC](https://publichappinessmovement.com/t/topic/1588/92 "2020-05-04T09:50:25Z")

</div>

@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](https://publichappinessmovement.com/docuss/m_10)  
Have you tried in btm as well?

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [7 May 2020 10:04 UTC](https://publichappinessmovement.com/t/topic/1588/93 "2020-05-07T10:04:41Z")

</div>

@Zahra, there is a bug [here](https://github.com/focallocal/fl-maps/blob/deploy-phm/imports/client/ui/pages/NewEvent/index.js#L174). 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](https://github.com/focallocal/fl-maps/blob/deploy-phm/imports/client/ui/pages/NewEvent/index.js#L170) to `console.log('routes', routeMatcher, eventId);`? Thanks.

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [7 May 2020 11:51 UTC](https://publichappinessmovement.com/t/topic/1588/94 "2020-05-07T11:51:53Z")

</div>

@syl thanks!

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [7 May 2020 12:09 UTC](https://publichappinessmovement.com/t/topic/1588/95 "2020-05-07T12:09:30Z")

</div>

@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”]}

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [7 May 2020 13:39 UTC](https://publichappinessmovement.com/t/topic/1588/96 "2020-05-07T13:39:50Z")

</div>

> [@Zahra](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [7 May 2020 22:00 UTC](https://publichappinessmovement.com/t/topic/1588/97 "2020-05-07T22:00:23Z")

</div>

@Zahra, I’ve deployed a new version of the Docuss plugin that should fix the issue. Would you please do an [upgrade](https://publichappinessmovement.com/admin/upgrade)? (I was about to do it myself, but Discourse is asking for a manual rebuild from the server).

---

<div class="post-metadata">

### Author: ![Zahra](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@Zahra](https://publichappinessmovement.com/u/Zahra)
#### Post date: [8 May 2020 10:58 UTC](https://publichappinessmovement.com/t/topic/1588/98 "2020-05-08T10:58:47Z")

</div>

@syl i dont have server level access to do this

---

<div class="post-metadata">

### Author: ![syl](https://publichappinessmovement.com/letter_avatar_proxy/v4/letter/s/91b2a8/32.png) [@syl](https://publichappinessmovement.com/u/syl)
#### Post date: [8 May 2020 11:45 UTC](https://publichappinessmovement.com/t/topic/1588/99 "2020-05-08T11:45:42Z")

</div>

@AndyatFocallocal, can you do it?

---

<div class="post-metadata">

### Author: ![AndyatFocallocal](https://publichappinessmovement.com/user_avatar/publichappinessmovement.com/andyatfocallocal/32/651_2.png) [@AndyatFocallocal](https://publichappinessmovement.com/u/AndyatFocallocal)
#### Post date: [8 May 2020 12:44 UTC](https://publichappinessmovement.com/t/topic/1588/100 "2020-05-08T12:44:20Z")

</div>

@syl I can give @Zahra access to the server. I’ll do that now.

[Previous page](https://publichappinessmovement.com/t/topic/1588.md?page=4)

[Next page](https://publichappinessmovement.com/t/topic/1588.md?page=6)
