• Resolved npampaloni

    (@npampaloni)


    Good Morning Everyone,
    I am having trouble exporting my product list for bulk editing. Once I start the export the process goes on continually and never completes. In the browser console I’m getting a, “POST https://store.gtinternal.com/wp-admin/admin-ajax.php 403 (Forbidden)” error. In the Apache log it states, “Client denied by server configuration wp-admin/admin-ajax.php.” The file permissions for the wp-admin folder and admin-ajax.php are fine and I’ve checked the Directory blocks and there are no Deny values anywhere. After clicking around my site with the console open it seems that my site uses ajax-admin.php plenty of times but for some reason it’s getting denied when the product exporter tries to run. I’ve disabled all plugins except for Woocommerce and am using the Storefront theme. I’ve tried disabling my firewall as well.

    Does anyone have any suggestions on what I can try next to get this working?

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    From what I can understand, even after disabling the firewall and checking the file permissions, you are getting a 403 error, right?

    > Client denied by server configuration wp-admin/admin-ajax.php.

    The error is caused when the server is not accepting the clients. Can you please try to contact your host regarding this and ask the same? Also, can you please check the htaccess file and see if there are no redirections which might be blocking it?

    Thanks.

    Thread Starter npampaloni

    (@npampaloni)

    Thanks @rohittm for the response! Yes that’s correct. No matter what I do I haven’t been able to solve this yet. It’s a self hosted site so I have full server access. Below is my .htaccess file:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    # END WordPress
    

    Hi there,

    You mentioned In the Apache log it states, “Client denied by server configuration wp-admin/admin-ajax.php.”. Can you please trace where this message is coming from? Which file is causing this to happen?

    Also, the error seems to be caused by Apache web server configuration. You can know more about it here: https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration.

    I hope that helps.

    Thread Starter npampaloni

    (@npampaloni)

    Hi @rohittm,
    Can you help me trace this back? I’ve checked all the logs that I can think of as well as the configuration files and can’t figure out what is causing this to be denied. I’ve already visited that Wiki and wasn’t able to resolve the issue.
    Thanks!

    Thread Starter npampaloni

    (@npampaloni)

    As an update to this for anyone else having the issue, it appears to have been caused by the Apache security mod, mod_evasive. I needed to whitelist the IP of the wordpress server and I am now able to export without issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product CSV Export Hanging’ is closed to new replies.