Skip to:
Content
Pages
Categories
Search
Top
Bottom

admin-ajax.php Failed to load resource

  • Please help!
    My site is https://www.databoy.space/
    I am using buddypress and my groups directory page is https://www.databoy.space/classrooms/
    The Problem is that users can’t perform actions like joing groups or adding friends. My diagnosis is that this because they aren’t allowed to access admin-ajax.php. I am not sure.
    I have tried adding this code in htaccess file:

    # Allow access to wp-admin/admin-ajax.php
    <Files admin-ajax.php>
        Order allow,deny
        Allow from all
        Satisfy any
    </Files>

    But it hasn’t helped. Please have a look and advise. I will appreciate all suggestions. If you want to login here is demo login credentials:

    Username: Jessica
    Password: IAMFAKE001ab
    Login url: https://www.databoy.space/login/

    Thanks for reading

Viewing 2 replies - 1 through 2 (of 2 total)

  • Henry Wright
    Moderator

    @henrywright

    Have you restricted access to the admin area in any way? Stuff like the following would cause the admin-ajax.php resource to be inaccessible.

    if ( is_admin() ) {
        // Restrict access
    }

    Hello @henrywright ,

    Thank you for your reply. I don’t think that line of code is there on my site. Which file should I check for it? And please suggest any more causes for this problem. Thanks again.

    Kind regards,
    Mwale

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar