BuddyDev

Search

Error admin-ajax.php 403 (Forbidden)

  • Participant
    Level: Enlightened
    Posts: 53
    Jennifer on #21262

    Hi!

    When I upload a photo from activity, I can see the preview, but when I send it, this error appears and nothing happens:

    the plugins do not interfere because I happen to deactivate them too

    799a1.js:2 POST https://xx.com/wp-admin/admin-ajax.php 403 (Forbidden)

    Thanks very much!

  • Keymaster
    (BuddyDev Team)
    Posts: 21852
    Brajesh Singh on #21265

    Hi Jennifer,
    Thank you for asking.

    From the error it seems something is blocking access to admin-ajax.php

    There are two possible reasons:-

    1. Your theme/plugin preventing access to dashboard(Do you have any?)
    2. Or your Webserver is configured to block $_FILES in ajax upload.

    It is most probably the 1st, Please try changing theme temporary(disabling bp-custom.php if any).

    Also, are you able to upload using Dashboard->media->add new(default WordPress uploader).

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 53
    Jennifer on #21372

    Hi Brajesh!
    Yes the problem is the Theme, but i can upload media using Dashboard.
    It is odd, any idea how i can do?

    Thanks!!
    Regards,

    Jennifer

You must be logged in to reply to this topic.

This topic is: not resolved