Support

Home Forums Event Espresso Premium CSV Export : Sorry, you are not allowed to access this page.

CSV Export : Sorry, you are not allowed to access this page.

Posted: January 9, 2017 at 4:30 am

Viewing 12 reply threads


KineticPulse

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?


Josh

  • Support Staff

January 9, 2017 at 9:33 am

Hi there,

Yes, the CSV report function will try to create a temporary folder in
/wp-content/uploads/espresso/batch_temp_folder/.

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.


KineticPulse

January 9, 2017 at 12:54 pm

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


Josh

  • Support Staff

January 9, 2017 at 1:16 pm

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.


KineticPulse

January 9, 2017 at 1:52 pm

Only 2 versions earlier, so it could well be a coincidence that the client noticed it after I had updated.


KineticPulse

January 9, 2017 at 2:16 pm

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


Josh

  • Support Staff

January 9, 2017 at 2:55 pm

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.


KineticPulse

January 9, 2017 at 2:57 pm

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)


KineticPulse

January 9, 2017 at 2:59 pm

batch_temp_folder is the actual name – is that correct?


KineticPulse

January 9, 2017 at 3:06 pm

I just checked the WP error log and the PHP error log and there is no error being generated


Josh

  • Support Staff

January 10, 2017 at 10:12 am

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.


KineticPulse

January 11, 2017 at 12:34 am

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.


Josh

  • Support Staff

January 11, 2017 at 9:22 am

Thanks for the update!

Viewing 12 reply threads

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.

Event Espresso