• Resolved z0det

    (@z0det)


    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]

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Andrew Messier

    (@messyhair66)

    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.

    Thread Starter z0det

    (@z0det)

    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?

    Plugin Author Andrew Messier

    (@messyhair66)

    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?

    Thread Starter z0det

    (@z0det)

    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.

    Plugin Author Andrew Messier

    (@messyhair66)

    How are you hosting PHP? Apache, nginx?

    Thread Starter z0det

    (@z0det)

    php and apache. I have now reinstalled the whole server from scratch and the error still exist.

    https://www.r3eds.ddns.net/r3eds/index.php/1vs1/

    Plugin Author Andrew Messier

    (@messyhair66)

    I think I might have figured this out. Will you verify whether setting permalinks to post_name makes a difference?

    Thread Starter z0det

    (@z0det)

    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.

    Thread Starter z0det

    (@z0det)

    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 11 months ago by z0det.
    Plugin Author Andrew Messier

    (@messyhair66)

    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.

    Thread Starter z0det

    (@z0det)

    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.

    Thread Starter z0det

    (@z0det)

    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.

    Plugin Author Andrew Messier

    (@messyhair66)

    Disable the plugin, set permalinks to post name, and verify there is no rest API error.

    Thread Starter z0det

    (@z0det)

    i disabled the plugin, i set permalinks to postname, and i got rest API error.
    ??

    Plugin Author Andrew Messier

    (@messyhair66)

    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.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Brackets wont load’ is closed to new replies.