No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Dalibor.K
Registered User
Posts: 31
Joined: Thu Feb 02, 2012 3:06 pm

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Dalibor.K »

Error is back. this definitely isn't connected to cookie settings.
I will post this in plugin support section, maybe author knows how to fix this cache problem.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26908
Joined: Fri Aug 29, 2008 9:49 am

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Mick »

Dalibor.K wrote: Sat Apr 04, 2020 1:00 pmthis definitely isn't connected to cookie settings
Or phpBB by the looks of things.

Do you have a test server on your local machine where you could do a fresh phpBB install along with mChat? It would be interesting to see if you still get the same errors. It may prove server set up one way or another.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
Dalibor.K
Registered User
Posts: 31
Joined: Thu Feb 02, 2012 3:06 pm

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Dalibor.K »

I can try that but I do not know why this does not happen all the time. It looks completely random.
Fails to auto refresh, then bit later refresh goes smoothly. As if it can not find file (says "no route found").
I posted same topic in mchat support section but it seems that author was active there more than two weeks ago.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by david63 »

One possible thought - are you using a caching system such as Cloudflare?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
Dalibor.K
Registered User
Posts: 31
Joined: Thu Feb 02, 2012 3:06 pm

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Dalibor.K »

david63 wrote: Sat Apr 04, 2020 1:54 pm One possible thought - are you using a caching system such as Cloudflare?
I do not use such thing. Since this is random error I am leaving possibility that server goes briefly offline but I do not think that this is the case. I've been using this service since 2013 and downtime of any sort is extremely rare.
During short usage of ajax chat I did not see such error. My old IP.board also had live chat and I absolutely never had such problems.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26908
Joined: Fri Aug 29, 2008 9:49 am

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Mick »

You need to go back to the extension author with this it’s not a support issue. If he says it’s a cache problem which cache where?
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
Dalibor.K
Registered User
Posts: 31
Joined: Thu Feb 02, 2012 3:06 pm

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Dalibor.K »

Mick wrote: Sun Apr 05, 2020 8:09 am You need to go back to the extension author with this it’s not a support issue. If he says it’s a cache problem which cache where?
Unfortunately in only topic I managed to find here is one I already linked and it does not say what exactly to do in order to solve this. I've posted yesterday question in plugin support section but it seems that author isn't very active, he made last post there more than two weeks ago.
I will ask them on their own platform for solution. If they have one I will post it here just in case if someone faces same error as me.
Dalibor.K
Registered User
Posts: 31
Joined: Thu Feb 02, 2012 3:06 pm

Re: No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)

Post by Dalibor.K »

I disabled popup error message. Note that this solution works for me cause everything else works ok. I can't guarantee that it will work for anyone else.

Message from mchat author:
I wouldn't recommend to disable the error popup. You won't notice any errors happening on your board. Anyway, you've been warned:

Open ext/dmzx/mchat/styles/all/template/javascript/mchat.js
Find and delete

Code: Select all

    phpbb.alert(title, responseText);

Return to “[3.3.x] Support Forum”