Menu

Spreadsheet_Excel_Writer failure.

Help
2007-11-28
2013-04-16
  • Nobody/Anonymous

    I'm running PHPBugtracker on a Redhat LAMP install (4.3.9) and the latest release of the tracker(1.0.3).  I've ran the "pear install OLE-beta" and pear install Spreadsheet_Excel_Writer-beta" commands successfully, but when I try to download a spreadsheet I get a blank page.

    The URL in the browser is (http://bugtracker.m80apps.com/query.php?xl=1).

    It fails on Mac Leopard with Firefox, and also Windows 2003 with IE.

    The page is completely blank with no markup.

    Your thoughts please.

     
    • Bryce Nesbitt

      Bryce Nesbitt - 2007-11-29

      Well, in fact the page would be blank, because it's just delivering an attachment.  If you've got something like FireFox Live HTTP Headers you can see what phpBugTracker returns.  In my case:

      HTTP/1.x 200 OK

      Date: Thu, 29 Nov 2007 06:12:02 GMT

      Server: Apache/2.2.6 (Debian) mod_jk/1.2.25 mod_python/3.3.1 Python/2.4.4 content-disposition: attachment; filename="buglist.xls"

      Content-Type: application/vnd.ms-excel

      So it's a content-type of "ms-excel", with a filename ending in ".xls".  Is your browser set up to accept such a download correctly?

      Also check the phpBugTracker config page.  Did the red text talking about Spreadsheet_Excel_Writer go away when you installed the pear module?

      --------
      Also: next time log in as yourself rather than "nobody", so you can see replies.

       
    • Nobody/Anonymous

      I found the problem.  I had Pear pointing to a local install directory.  Once I pointed the Pear to the global directory everything worked perfectly.  Thanks for the quick response.  I'll log in as myself next time.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.