View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05400 | Bug reports | Import/Export | public | 2011-08-17 14:15 | 2011-08-29 06:43 |
Reporter | Assigned To | adamzammit | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91+ | ||||
Fixed in Version | 1.91+ | ||||
Summary | 05400: QueXML export on Windows Server (IIS) | ||||
Description | Hi, I have 2 webservers with limeusurvey setup. One of them is a Linux box and the other is a Windows Server 2008 with IIS 7.0 + PHP 5.2.14 + MySQL 5 QueXML export is working fine on the linux box whereas once I run it on windows it gives a "Server Error: Connection reset". FIREFOX ERROR: INTERNET EXPLORER ERROR: CHROME: I have tested it on Windows 7 + IIS 7.5 + PHP 5.3.6 and the problem persists. Any info on resolving this issue would be helpful Thanks | ||||
Steps To Reproduce | Perform 'QueXML export' with the setup specified above. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 10695 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome 13.0, Firefox 5.0, IE 8.0 | ||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | Windows Server 2008 SP 1 | ||||
Webserver software & version (if known) | IIS 7.0 | ||||
PHP Version | 5.2.14 or 5.3.6 | ||||
Please enable PHP error logging on the windows box and check the PHP error log. Check the webservers error log as well. The error logs should contain more information why the request crashes. I assume some memory limit or probably missing functions. |
|
Hi, The PHP log file returns multiple copies of the following [17-Aug-2011 13:22:02] PHP Notice: Undefined index: questions in C:\inetpub\wwwroot\SiriusNewestTesting\admin\classes\quexml\quexmlpdf.php on line 1182 PHP memory_limit is set to 128M per script. |
|
PHP Notices and Warnings are not the cause of a 500 error, more the Fatal error ones. What does your webserver log shows? |
|
Ok. I enabled failed request tracing on IIS and this is what it spit out.
Is there a specific FastCGI error log? |
|
I am not familiar with IIS / PHP on Windows - but can you please try the following: Are you able to export to queXML using the following method: "Display/Export" -> "Export Survey" -> "queXML survey XML format (*.xml)" This should just export a queXML file (not the PDF/associated files) Also can you please confirm that you have set the temporary directory permissions correctly |
|
Hi, Yes, I can export to queXML and get just the .xml file. All permissions ( for \tmp ) are set correctly since I can import templates, surveys, groups etc.. |
|
Figured it out. Firstly: I am running on Version 1.91+ Build 10695 so whenever I run the queXML + PDF export it complained about the following C:\inetpub\wwwroot\limesurvey\admin\classes\tcpdf\tcpdf.php on line 7586 Deprecated: Function ereg() is deprecated in and it was missing definition for setFontSubsetting() which was supposed to be in the TCPDF lib. I had to copy class\TCPDF from Version 1.91+ Build 10746. Now works fine! Secondly: A (smaller) problem was in the admin/quexmlsurvey.php the line: additionally had to flush the buffer before returning the file. e.g: ob_clean(); This caused problem when the server was trying to send the requested file. |
|
Thanks for reporting the required changes to quexmlsurvey.php. I have made those changes in revision 10888. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-17 14:15 |
|
New Issue | |
2011-08-17 14:17 | mot | Note Added: 16082 | |
2011-08-17 14:17 | mot | Status | new => feedback |
2011-08-17 14:24 | c_schmitz | Assigned To | => adamzammit |
2011-08-17 14:24 | c_schmitz | Status | feedback => assigned |
2011-08-17 14:41 |
|
Note Added: 16083 | |
2011-08-17 17:56 | mot | Note Added: 16084 | |
2011-08-18 11:29 |
|
Note Added: 16088 | |
2011-08-23 07:36 | adamzammit | Note Added: 16114 | |
2011-08-26 13:18 |
|
Note Added: 16158 | |
2011-08-26 15:45 |
|
Note Added: 16164 | |
2011-08-29 06:43 | adamzammit | Note Added: 16175 | |
2011-08-29 06:43 | adamzammit | Status | assigned => closed |
2011-08-29 06:43 | adamzammit | Resolution | open => fixed |
2011-08-29 06:43 | adamzammit | Fixed in Version | => 1.91+ |