Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.4

Bug #482 open_basedir problems
Submitted: 2003-12-23 03:29 UTC
From: spammable at howsfamily dot net Assigned:
Status: No Feedback Package: Spreadsheet_Excel_Writer
PHP Version: 4.3.4 OS: Windows XP Pro
Roadmaps: (Not assigned)    
Subscription  


 [2003-12-23 03:29 UTC] spammable at howsfamily dot net
Description: ------------ Originally, the writer always output a 0-byte file. You should probably change the example code in the documentation to include a test of the return value of Workbook->close(), which is where I found the error. When a basedir restriction is in effect, the OLE library needs a specific temporary file location set. In my case, I added: $OLE->setTempDir($myTempDir); and $root->setTempDir($myTempDir); just after the constructors of the appropriate objects in the Workbook->_storeOLEFile() function.

Comments

 [2003-12-23 11:11 UTC] xnoguer at php dot net
There is a setTempDir() method on the cvs version of the package. Please check if it solves your problem. The docs for Workbook::close() will be updated as soon as I can.
 [2005-03-07 03:51 UTC] dufuz
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you.