View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04299 | Bug reports | Import/Export | public | 2010-04-29 09:50 | 2010-05-05 10:28 |
Reporter | rom | Assigned To | mdekker | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87+ | ||||
Fixed in Version | 1.90b | ||||
Summary | 04299: SPSS Export fails using Internet Explorer | ||||
Description | Limesurvey 1.87 Build 8518, Accessing Limesurvey via https. For some more informations and even a few more users who experienced this problem, see: | ||||
Steps To Reproduce | -Create a Survey | ||||
Additional Information | Config.php: | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 8518 | ||||
I will donate to the project if issue is resolved | |||||
Browser | Internet Explorer 7, Internet Explorer 8 | ||||
Database type & version | MySQL 5.1.39 | ||||
Server OS (if known) | Debian | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 5.2.12 | ||||
What happens if you use http instead of httpS? |
|
The problem disappears if I am using http. As already mentioned in the Forum Thread which I linked above, the issue could be the cache header: See: http://support.microsoft.com/kb/812935 More Infos by jooghe: |
|
Not sure if this can be fixed... excel is the only one that works for me. The word and csv export also give problems. Can you confirm? |
|
I can confirm mdekkers issue: Only Excel seem to work. I am not a good programmer, and I even have no clues about header controls... but from my noobish point of view its very hard to understand for me why a Excel Download works, and a csv file doesn't. In this case its using the same input form, the same php file, the same protocol (https)... the only difference for the internet explorer client might be that its an other mime type. Very confusing... |
|
Ok, i am working on the not released dev version so cannot be very specific... if ($subaction=='dldata') { The important stuff is in the "header" keyword. Could you do me a favor and put // (two slashes) in front of all header lines that are other than the the two above? That way you comment out those lines. If you feel insecure, please attach your copy of the mentioned file and i will make the change for you. |
|
ok, did like you told me, but that didnt work for me: I am still not able to download the SPSS Data file. btw: the original content type was "application/download", not text/comma... I tried both in my tests, no luck. Though, I got the download to work with the hint from the php.net forum post by inserting the pragma:public header. my export_data_spss.php looks like this, and I actually CAN export the SPSS data file now!// auskommentiert aufgrund von developer hinweis:
} if ($subaction=='dldata') {
}Still, I dont know if the Pragma:Public header may cause other issues... the php.net posts mentioned to also add: |
|
Changing header('Pragma: no-cache'); to header('Pragma: cache'); seems to do the trick for me... can you try if that works for you? |
|
um... see above... please read: should i still try "pragma:cache"? |
|
Not sure, probably anything other than no-cache does the trick. I will change it to public as it looks nicer. Please keep an eye on strange things like getting cached results. |
|
ok, I will keep an eye. I will also change the pragma to public in the $subaction "dlstructure", to get a fully working SPSS export. last question: is this fix going to be added to the next build, or do we need make these changes after every future limesurvey update? edit: i will also include the edit2: |
|
If it proves to work it will go into all relevant sections for the next release. We are working on 1.88 / 1.90 not sure about the name. It will go beta real soon as there are a lot of changes that need to be tested. I will close this bug as fixed for the new release, but please feel free to reopen when you have trouble with the changed pragma header. |
|
thanks for your help :) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-04-29 09:50 | rom | New Issue | |
2010-04-29 09:50 | rom | File Added: mantis_screenshot.jpg | |
2010-04-29 09:50 | rom | Issue Monitored: rom | |
2010-04-30 01:52 | Mazi | Note Added: 11671 | |
2010-04-30 01:52 | Mazi | Assigned To | => mdekker |
2010-04-30 01:52 | Mazi | Status | new => assigned |
2010-04-30 10:39 | rom | Note Added: 11672 | |
2010-05-03 13:50 | mdekker | Note Added: 11690 | |
2010-05-03 14:04 | rom | Note Added: 11691 | |
2010-05-03 14:13 | mdekker | Note Added: 11692 | |
2010-05-03 14:35 | rom | Note Added: 11693 | |
2010-05-03 14:36 | mdekker | Note Added: 11694 | |
2010-05-03 14:36 | rom | Note Edited: 11693 | |
2010-05-03 14:37 | rom | Note Added: 11695 | |
2010-05-03 14:40 | mdekker | Note Added: 11696 | |
2010-05-03 14:44 | rom | Note Added: 11697 | |
2010-05-03 14:45 | rom | Note Edited: 11697 | |
2010-05-03 14:48 | mdekker | Note Added: 11698 | |
2010-05-03 14:49 | rom | Note Edited: 11697 | |
2010-05-03 14:50 | rom | Note Added: 11699 | |
2010-05-03 15:13 | mdekker | Relationship added | child of 04304 |
2010-05-03 15:14 | mdekker | Status | assigned => resolved |
2010-05-03 15:14 | mdekker | Fixed in Version | => 1.90b |
2010-05-03 15:14 | mdekker | Resolution | open => fixed |
2010-05-05 10:28 | c_schmitz | Status | resolved => closed |
2021-08-03 12:00 | guest | Bug heat | 6 => 8 |