Posted: January 9, 2017 at 4:30 am
|
I have just started to get this error when trying to export a filtered list to CSV (via the button on the Events admin page) Is there a folder this tries to create the file in whose permissions I should be checking? |
Hi there, Yes, the CSV report function will try to create a temporary folder in That said, if you’re seeing an error about not being allowed to access this page, that may be a user capability issue. You can go to Event Espresso > Maintenance > Reset and click on the “Reset Event Espresso Capabilities” button there and that will make sure the WP user roles have the capabilities they are supposed to have. |
|
|
I have checked permissions, reset capabilities, disabled Wordfence and still the same issue when trying to export a CSV file. This has only happened since the most recent update of EE |
The most recent update of EE from what version? Nothing in the batch CSV reporter has changed from the prior version, unless you’re updating from a much older version. |
|
|
Only 2 versions earlier, so it could well be a coincidence that the client noticed it after I had updated. |
|
I have just tried exporting to CSV from WooCommerce and from Posts and both are fine – it’s just CSV from registrations which is throwing up this error |
Does your site have a batch_template_folder? The WooCommerce CSV doesn’t write to WP-content/uploads/espresso/batch_template_folder, so that’s not relevant. |
|
|
I was just seeing if it was an issue with the generation of files via admin.php (i.e. a firewall issue). There is a batch_template_folder and I even tried setting permissions to 777 (temporarily) |
|
batch_temp_folder is the actual name – is that correct? |
|
I just checked the WP error log and the PHP error log and there is no error being generated |
This sounds like more of a user role/capabilities issue where the logged in user isn’t allowed to access the wp-admin/admin.php?espresso_batch page. One thing you could try to troubleshoot is you create a new temporary WordPress admin account and try the CSV report to see if that new account can access that page. |
|
|
Hi Josh Just to close this one out, I don’t think it was an EE issue as the same error occurred on core update of WP and the dashboard page (but no others!). Having tried pretty much everything including a fresh WP install with the imported DB and even new admin accounts I figured it must be a capabilities issue somewhere along the line. Eventually I installed a capabilities manager plugin, and unchecking the ‘edit_dashboard’ capability fixed everything … I’ve been working with WordPress for nearly 10 years, and I have never come across this before! As I said, not an EE issue but thought I would update you with the solution. Thanks for your help. |
Thanks for the update! |
|
The support post ‘CSV Export : Sorry, you are not allowed to access this page.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.