On our site, I get a 404 error any time I try to export form entries from this admin page:
/wp-admin/admin.php?page=gf_export
I have tried multiple forms, selecting only a single field, selecting all fields, both in FF and Chrome... No deal.
The server logs do not show any 404 errors--they show 200's every time I try to export. So I figure it must be something about how the headers are interpreted by the browser?
The most interesting part of the issues is that when I check the response that is returned, it has an HTTP 404 response code, but it does have the CSV file content in the response. Because of the 404 response code, though, the browser doesn't start the download or display the CSV content.
By adding this to line at line 14 of /wp-content/plugins/gravityforms/download.php, I am able to get the file to download properly.
header('HTTP/1.0 200 OK');
Does anyone know why that hack might be needed?