From: Peter F. <pe...@si...> - 2006-03-01 23:07:39
|
Thanks to Aaron Axelsen, who tested a survey on my server, I have ascertained that a minimal survey (three questions, one response) *will* download a CSV file when you try to extract the data. I am now thinking that the problem is simply size: the survey that won't download is 75 questions and 924 responses. Is this perhaps just too big for phpESP to handle? If so, what's the way to split the download into chunks? I looked a bit harder at the code for survey_export_csv.inc and it appears to try and do the job by creating an array. Surely it's not trying to dynamically stuff an array with the entire results of a survey? I really hate bugging an author about this kind of thing, but I'm BCCing this to the author's name in the script in case he can shed any light on the problem. In the meantime, anyone else stuck with this problem can look at the routine I wrote to dump out all the data and rewrite it as CSV (two bash scripts and an XSLT routine): http://silmaril.ie/downloads/software/phpESP_csv-via-xml.tar.gz ///Peter |