Trouble with setting up my Vanilla Forum

Website URL

https://jrihelp.rf.gd

Error Message

Other Information

So, I’ve managed to set up a Vanilla Forum site, not using Softaculous but with a custom build. But when I go to edit settings in my administration panel, I keep getting “Network Error”. It also removes the changes I set up.

I thought it was a missing file thing, but when I load the file, it exists:

What’s going on?

1 Like

Judging by that second error message, I’m guessing that Vanilla Forums is trying to do a HTTP PATCH request? Those are not supported on our hosting I’m afraid, only the GET and POST methods are supported.

10 Likes

Aww man!

Annoying that PATCH isn’t supported. Why is that?

Anyways, guess I’ll find another way to get the data to update. Maybe I can do a POST request to a script that generates a new file? I’m still working out Vanilla, it’ll take me a moment.

Thanks!

2 Likes

The idea is that normal websites don’t use it. Almost all web requests only use GET (to load pages) and POST (to submit data/forms/etc.). Other HTTP methods are typically associated with REST APIs, and the idea is that they are therefore not necessary for websites.

Of course, if you then have a REST API in your website and have Javascript on your site communicating with that API, you can definitely use other HTTP methods, and still qualifies as regular website usage.

Maybe I can check if this can be adjusted.

Maybe something like that is possible. But I won’t fault you for not liking the idea of tinkering with Vanilla Forums source code.

8 Likes

I’ve already broke (and fixed) the forum numerous times trying to hack in a solution. There’s just one page that needs the patch but I can’t seem to figure out how to properly implement.

I’m also considering just making a plugin that “recreates” the page with the patch, in another location. But I’m still settling in. Worst case scenario, I go back to the h-ll of Flarum.

If this does get adjusted, would this also fix WordPress sites? Or does it use something else I’m not understanding?

iFastNet enabled support for the additional HTTP methods! Both the PATCH call for Vanilla Forums and the DELETE call for the Elementor submissions should now work.

8 Likes

THANK YOU, THANK YOU, THANK YOU!

Thank YOU, @Admin and @iFastNet!!

It works too! THANK YOU!

I’m eternally grateful for the changes! (Apologies if this seems like spam.)

5 Likes

Is this exclusive to those use cases, or is PATCH/DELETE enabled globally now?

6 Likes

It’s enabled globally now.

The reality is that many websites nowadays rely on Javascript frontends that communicate to REST APIs on the backend. And these APIs frequently make use of other HTTP methods than GET and POST.

There have been more people running into this limitation in the past, and I remember another recent case from someone with a mystery 403 error in a backend which might also have been caused by this.

So enabling it for individual URLs doesn’t seem like a scalable solution to me, and it seems that iFastNet agrees.

8 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.