My guess would be that it is a timeout. Does your shop have a huge number of orders? How long before the 403 response occurs? The webserver admin should be able to say definitively by reading the webserver logs.
I’m afraid that can’t be the root-cause: ATM there are 10 orders in there and the 403 error is immediate. I also checked the web server logs but there’s nothing there (I am the web server admin and I develop web-based software for a living).
I am simply trying to get my VAT report for the past quarter…
Hi,
You’ll want to look at the webserver’s logging setup – if nothing is logged, and a 403 is returned, then that’s a problem. You need to get it to log sufficient information for the Apache and/or PHP error logs to have something in them when a 403 is returned. It can’t be coming from the plugin itself (as the plugin has no code that sends back a 403), so it’s somewhere else in there – but without sufficient logging (and no prior reports of the same thing), it’s hard to guess where.
David
Thanks for the suggestion, I looked at trace6 level and noticed a large number of lines just before the 403 error occurs containing RewriteCond, which result in these two lines (truncated to fit):
forcing responsecode 403 for /srv/www/htdocs/<install path>/wp-admin/admin.php
fixups hook gave 403:
The main .htaccess file has some remains from (I believe) an old version of WordFence which include some RwriteCond statements. I would expect the culprit to be found there somewhere. What do you think?
What log file is that? I don’t recognise that format.
Those are truncated lines from the apache2 error log, configured with the default format.
Your tip to increase the log level helped me find the culprit: some old .htaccess
file from a removed plugin which was left lingering in /wp-admin/
was affecting and blocking the URL.
Thanks!
For posterity sake it was Bulletproof and the lingering .htaccess
file is the “SECURE” version.
Glad you got it sorted! Please do consider giving us a 5-star review if you like the plugin. (If not please let us know – reviews with fewer stars bring our average down!)