Home » File Formats » Spreadsheet_Excel_Writer » Bug #7727
setTempDir only sets the temp directory for some of the files
Details
| Submitted | 2006-05-26 00:53 UTC |
|---|---|
| From | pear at garden dot msbx dot com |
| Assigned | dufuz |
| Status | Closed |
| Package | Spreadsheet_Excel_Writer |
| PHP Version | 5.1.2 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2006-05-26 00:53 UTC] pear at garden dot msbx dot com
Description:
------------
Version 0.9.0 of spreadsheet_excel_writer
setTempDir sets the temporary directory used for the OLE file, but it does not set the temp directory used by the Worksheet class to store the main data in function _append.
This can be a problem when the PHP process has permissions to write to the directory specified in setTempDir but not to that chosen by other means. The result is an Excel spreadsheet with the header and the footer, but no data, and hence unreadable.
Also, spreadsheet_excel_writer does not throw any errors if it fails to write to either location.