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

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

Post by Dalibor.K »

Code: Select all

No route found for "GET /mchat/action/refresh": Method Not Allowed (Allow: POST)
I am getting this error during mchat refresh. Strange thing is that it does not happen every time. Chat works fine, everyone can post and error does not appear then, it appears sometimes when no one is using it.
I've checked mchat support section and it says that this is not strictly extension related thing, that's why I'm posting it here.
Supposedly it's cache related problem and it's solved by fixing caching errors: https://www.phpbb.com/customise/db/exte ... pic/177521
Unfortunately it does not say how to actually do it. Does anyone have idea what exactly should be done?

PHP 7.3
phpbb 3.3.0
latest avaialble mchat
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 »

To receive extension support please visit our Extensions Database and post in the specific extension's designated support area. The link to the support area for each released extension is also available in the first post of each released extension listed in the [3.2.x] Extension Database Releases forum. For extensions still in development (not recommended for a live board) support is in that extensions's topic in the Extensions in Development forum.
  • "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 »

As I mentioned above, I have already looked up extension support section and they are saying that this problem is not related to extension itself but to cache which should be fixed(?).
User who solved this error clearly says that he fixed website cache but does not say how.
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 »

Can you post a link to your board please and did you check the CHMODs of all your folders and files? - Knowledge Base - phpBB3 Chmod Permissions.

Also, did this just happen out of the blue, did you or anyone else change anything lately that could cause this error?
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
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 »

There may be problems with your cookies not being set properly. I don’t mind having a look if you want to pm me an admin account and a link to your board.
  • "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: Sat Apr 04, 2020 11:26 am Can you post a link to your board please and did you check the CHMODs of all your folders and files? - Knowledge Base - phpBB3 Chmod Permissions.

Also, did this just happen out of the blue, did you or anyone else change anything lately that could cause this error?
I would like to keep my board url private.
I already changed folder permissions (ones that should be changed to 777). Only thing that wasn't set properly was config.php - Instead of 644 it was 600.
Not sure if this going to change anything. I will delete cache and report back.

I should say that this is new installation. I converted forum from IP.board to phpbb last week. Only few plugins are installed. Used ajax chat for one day then shifted to mchat.
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 »

Ok, if you want to keep it private check the cookies while your at it Knowledge Base - Fixing incorrect cookie settings
  • "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: Sat Apr 04, 2020 11:32 am There may be problems with your cookies not being set properly. I don’t mind having a look if you want to pm me an admin account and a link to your board.
Not sure what exactly do you mean by this.
Here are my cookies settings:

Image
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 followed cookies instructions and now I am locked out, can't login can't reset my password.
I am getting this error "The submitted form was invalid. Try submitting again."
EDIT:
Luckily I have good backup and everything is restored to state before I changed cookies settings.
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 will wait and see if chmod settings changed anything.
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 »

The only thing I can see wrong is the cookie domain should have a dot at the front. Try deleting everything in the /cache folder except for index.htm and .htaccess.
  • "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: Sat Apr 04, 2020 12:20 pm The only thing I can see wrong is the cookie domain should have a dot at the front. Try deleting everything in the /cache folder except for index.htm and .htaccess.
I did that and got locked out. Could not log in nor restore password. I had to restore board and db.
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 »

That’s definitely not normal. Presumably everything was ok before you installed mChat?
  • "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: Sat Apr 04, 2020 12:33 pm That’s definitely not normal. Presumably everything was ok before you installed mChat?
Error was not there before mchat installation. According to topic I linked above this error is related to cache and needs a fix, but it does not say how to do it.
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 »

OK. I edited cookies settings again. Added dot in front of the domain. I didn't get locked out this time. Apparently I did something wrong last time. I can login, logout - forms work fine.
I have deleted everything from cache folder again. Will wait and see if error comes back.

Return to “[3.3.x] Support Forum”