Support

Home Forums Event Espresso Premium EE4 Event Registration CSV report crashes

EE4 Event Registration CSV report crashes

Posted: September 7, 2016 at 9:40 pm

Viewing 18 reply threads


Eli

September 7, 2016 at 9:40 pm

When ever I click on Registrations (I only have 2 so far) and then click on the “Event Registration CSV Report” blue button it crashes and then just opens the homepage of my website.

Any ideas or help would be greatly appreciated because the event is coming up this month!

EE4 4.9.8p

thanks
Eli


Tony

  • Support Staff

September 8, 2016 at 2:26 am

Hi Eli,

This usually happens when either the request is being blocked by the server, possibly triggering a mod_sec rule setup by the admin (you would need to confirm this with your hosting provider) or it can sometimes be an issue with permissions.

You can try switching to a different method to export the CSV, to do that you need to add a little snippet of code to your wp-config.php file using ftp.

You add this:

define( 'EE_USE_OLD_CSV_REPORT_CLASS', true );

Anywhere above the line where it says:

/* That's all, stop editing! Happy blogging. */

Then retest, does the export work then?


Eli

September 8, 2016 at 8:45 am

It’s not working. Same thing happens. Can you log in and help me please? This has to be working by this afternoon. I will pay if needed.


Tony

  • Support Staff

September 8, 2016 at 8:52 am

Have you contacted your host/provider to confirm the request is not being blocked on the server?

If you go to Event Espresso -> Maintenance -> System information

Search for memory_limit and let me know what value is set there?


Eli

September 8, 2016 at 9:26 am

memory_limit
global_value 128M
local_value 128M
access 7


Eli

September 8, 2016 at 11:56 am

I purchased a Support Token for priority support. This needs urgent attention for events being advertised this afternoon. Thanks guys!


Lorenzo Orlando Caum

  • Support Staff

September 8, 2016 at 1:27 pm

Hi there Eli,

I’m reviewing your support token and I’ll follow up shortly via email.

Thanks


Lorenzo


Eli

September 8, 2016 at 7:30 pm

Still need help with this one.


Josh

  • Support Staff

September 8, 2016 at 9:29 pm

I can advise that you check with your host and give them a timeframe of when you were running into these errors to see if they can track down the cause of the redirects to the home page in your server’s mod_security logs. If they can identify a specific rule you’re tripping, they may be willing to disable it for you.


Eli

September 10, 2016 at 7:21 pm

Josh / Tony… I am the host provider. What would you like me to disable? But listen.. another site on the same server works fine using EE4. I have given Lorenzo (and whoever else needs access) any credentials you need to FTP / cPanel on the active ticket (please see email thread with Lorenzo or ticket for details). Please let me know what we need to do to get this working. Is there some kind of debug mode that will tell us what is going on? Need this one fixed asap.


Josh

  • Support Staff

September 12, 2016 at 8:57 am

You can try temporarily disabling the mod_security rules to see if that helps.


Eli

September 12, 2016 at 9:05 am

Josh, nope it didnt work after disabled mod_security in the htaccess file.


Josh

  • Support Staff

September 12, 2016 at 9:06 am

May I ask how exactly you disabled mod_security from the .htaccess file?


Eli

September 12, 2016 at 9:48 am

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>


Josh

  • Support Staff

September 12, 2016 at 12:03 pm

Apparently your server does not have the version of mod_security where the above would work, and your cpanel error log confirms this:

[Mon Sep 12 13:06:33 2016] [alert] [client ~] ~/tourdates/.htaccess: Invalid command 'SecFilterEngine', perhaps misspelled or defined by a module not included in the server configuration


Tony

  • Support Staff

September 12, 2016 at 12:09 pm

Based on the version of Apaches running on your server you will more likely have mod_security2 on the server.

You can’t not disable that through .htaccess and need to use vhost.

Take a look here:

http://wiki.atomicorp.com/wiki/index.php/Mod_security#Disabling_Mod_security_per_domain


Eli

September 12, 2016 at 12:13 pm

Are we saying that mod_security is most likely the problem? If so I will disable it via the instruction on the wiki. Lmk though.


Eli

September 12, 2016 at 1:00 pm

OK I did exactly what it said. Disabling mod_security through the wiki link above worked!

THANKS GUYS!


Tony

  • Support Staff

September 12, 2016 at 1:30 pm

Great!

So although that works, you might want to work through the mod sec rules and figure out which one is causing the problem on your server and then disable that so that you can continue to use mod_sec without that specific rule rather than disabling it completely.

The above would be outside the scope for EE but you can find details here:

https://wiki.atomicorp.com/wiki/index.php/Mod_security#Disabling_Rules

Viewing 18 reply threads

The support post ‘EE4 Event Registration CSV report crashes’ 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