Hello, and thanks for any help you can give me!
I recently created a site with the express purpose of putting up a petition for people to sign on a single issue. I downloaded Drupal and installed the webform, and created the site with the form.
This has gone very smoothly, and the site took off unexpectedly. I've gotten about 45,000 signatures in just two days.
Unfortunately, I think because of the volume of responses, I cannot download the data! When I go to the results section of the webform, I get an error when I try to go Submissions or Table, or if I go to Download and then try to download the results in any format. (error message below.)
But the Analysis page is still working, and the number continues to grow, so the form is still working.
I desperately need this data ASAP -- any idea how I can get to it?
Thanks so much!
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [address] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at censurebachmann.com Port 80
Comments
Comment #1
quicksketchThis is typically caused by Webform running out of memory while compiling all the results together. You should increase the memory and/or max_execution_time to your PHP installation. See #309019: Downloads break (too many records) .
Comment #2
jesseberney commentedThank you so much for the quick response! I'm not exactly a techie, so I'm not 100% sure how to change those settings, or if I even have the ability to do so. (My site is hosted on BlueHost.) Can you point me in the right direction? Should I just call my webhost support?
Comment #3
quicksketchOpen up your .htaccess file that comes with Drupal. It's got lines sort of like this:
Add the new lines from above for max_execution_time and memory_limit.
If this doesn't work, I know BlueHost allows you to set PHP settings via a php.ini file located in the root of your home directory on the server. See http://helpdesk.bluehost.com/kb/index.php?id=124&mod_id=2&x
Comment #4
MindiL commentedI made this change and even upped the max_execution_time to 300 and it still timed out. I'm running Drupal 5.11, so I'm not sure if that makes a difference.
Do you have any other suggestions? I need to get to this data.
Comment #5
timbednar commentedI get the same error (running my Drupal on Dreamhost). I have 600 records in my web form. Here is the form in question.
http://www.reignministries.org/apply
I have attempted the following solutions.
#1 htacess fix as mentioned above
#2 site/default/settings
ini_set('memory_limit', '128M');
ini_set('max_execution_time', '120');
ini_set('max_input_time', '120');
Neither solved the issue. I can view results but am unable to download them. Is this a situation where Dreamhost is NOT accepting these changes?
Comment #6
timbednar commentedI contacted Dreamhost and they have me messing about with this...
http://wiki.dreamhost.com/PHP.ini
Is there any work around it getting this data downloaded? Right now I'm viewing the table, copying and pasting the table manually into an Excel spreadsheet.
Comment #7
damienmckennaI'm trying to cover all timeout-related bugs in #423350: Improve efficiency of options in select.inc, please take further discussions to that ticket.
Comment #8
quicksketchComment #9
bowwowadmin commentedI dont get the out of mem white screen but no data is in the downloaded csv. latest release of both drupal and webform and my limits are cranked up???
Eric
Comment #10
jsims281 commentedadding the following
to htaccess worked great for me thanks.
Comment #11
ilfelice commentedFWIW, I had to increase the php memory limit to 512MB to be able to download the my webform submissions. This also got rid of the "unexpected error message" that I used to get when installing modules.
Comment #12
StefanV commentedI had the same problem as reported by #11 but the issue persisted after the php version was updated.
[SOLVED]: I found the problem when looking at the admin/reports/status - It said the temp folder does not exist so when looking at the path to the temp folder, I found it was incorrect.
Hope this helps someone else.
Comment #13
gregwbourne commentedHi,
I have not been able to resolve this issue. I updated .htaccess and php.ini.
When I click to download the webform results (URL: .../webform-results/download), I get the error "sorry, the requested page cannot be found on our server."
Perhaps it's related to an issue with the temp folder. Where should the temp folder (for webforms) live?
Comment #14
danchadwick commented@gregwbourne - Does comment #12 help you?
Comment #15
gregwbourne commented@DanChadwick - I checked the reports URL referenced in #12 and don't see anything related to a temp folder. What specifically would I see (do you know)? Also, where does the temp folder generally live? Thanks.
Comment #16
danchadwick commentedCheck Configuration / Media / File System.
Please try the Drupal support forums or IRC for further help. This is beyond the scope of support provided in the webform issue queue. Best of luck to you!