Brackets wont load
-
Brackets wont load. I don’t know what the problem is.
The tournament is with 8 contenders.The page I need help with: [log in to see the link]
-
Hi z0dnet,
Thank you for sharing a link to the page. I took a look and the REST API call that is made returns a 404 (not found) error. If I navigate to the standard REST API on your website, it also returns 404. This tells me that the API is not enabled on your website.
Do you happen to have any security plugins installed that might disable REST API? This is the typical cause of the issue you have.
For the moment i only have simple tournament bracket as a plugin.
How to i navigate to the standard rest api site?
And how do i enable it?The main API endpoint can be found here: https://r3eds.ddns.net/R3EDs/wp-json/wp/v2/
If you don’t have any other plugins enabled, it’s possible your web host might be disabling REST. Who is your webhost?
I host my own server. The strange thing is that it worked before.
I did no changes and suddenly it stopped to load brackets. i have reinstalled
WordPress around 4 times and the error still exist.How are you hosting PHP? Apache, nginx?
php and apache. I have now reinstalled the whole server from scratch and the error still exist.
I think I might have figured this out. Will you verify whether setting permalinks to post_name makes a difference?
When i do that, il get: the rest api encountered an unexpected result.
i cannot post or create new pages either: Publishing failed. The response is not a valid JSON response.I reinstalled the server again, and the first thing i did was install the plugin and the error is still there. There have to be a bug in your plugin. This cannot be normal.
ItΒ΄s sad. I was willing to pay for Tournamatch. But i think i just put my project aside here.
-
This reply was modified 2 years, 1 month ago by
z0det.
Based on the API error you observed, it sounds like your server doesn’t have mod_rewrite enabled or working correctly. Note that the error you observed (about the rest API) is a WordPress error, not a plugin error.
I think I can deploy an update to workaround the issue, but that won’t resolve the server issue.
I would be rly happy if you could do that. I have the mod_rewrite enabled. I think i works like it should. But i’m thinking that i can’t be the only one with this problem and its a greate plugin. I love it.
this is the new link https://r3eds.ddns.net/wordpress/index.php/1vs1/
i tried to reinstall wordpress again.
i have ensured that mod_rewrite is enabled.Disable the plugin, set permalinks to post name, and verify there is no rest API error.
i disabled the plugin, i set permalinks to postname, and i got rest API error.
πOk. That tells us mod rewrite isn’t working correctly. I recommend we get that fixed before moving forward. Let me look around and see if I can find some troubleshooting steps.
-
This reply was modified 2 years, 1 month ago by
The topic ‘Brackets wont load’ is closed to new replies.