Hey ?
I doesn't need any help, this topic it's a "short" tuto (I don't know where I post it so )
When you install Flarum on OVH shared hosting, you can encounter two problems
First, you can't login : the reason Flarum can't post anything on API. The cause : this is the OVH firewall.
The second problem is in login again, Flarum display an error message : Oops! Something went wrong. Please reload the page and try again. but when you refresh your page, the connection was succesfull.
HOW REPAIR THIS ?
If you not use multi-website, log into your dashboard, click on your hosting plan, click on "modify configuration", in the pop-up, in Engine menu, choose phpcgi, and in Application firewall menu, choose deactivated.
If you use multi-website, your flarum must be in a folder in root of your hosting then, you create a .ovhconfig file and put them on your file:
app.engine=phpcgi
app.engine.version=7.0
http.firewall=none
actually this config working for me and I haven't got any problem
?