Re: Spreadsheet_Excel_Writer problem
| From: | Alex Othold | Date: | Mon, 26 Jul 2004 20:28:41 +0000 |
| Subject: | Re: Spreadsheet_Excel_Writer problem | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13854@lists.php.net to get a copy of this message | ||
"Justin Patrin" <papercrane@gmail.com> wrote in message
news:432beae04072611402ee26154@mail.gmail.com...
> On Mon, 26 Jul 2004 13:11:01 +0100, Alex Othold
> <alex@adido-solutions.com> wrote:
> > Hi
> >
> > I'm sorry if I'm posting this to the wrong newsgroup I wasn't sure which
one
> > to use.
> >
> > I have a class the utilizes the excel writer package but I'm having a
few
> > problems with it on my production server.
> >
> > My development server is a Windows XP Pro box running PHP version 4.3.5.
On
> > this box I dont get any problems and my class generates a valid excel
> > document.
> >
> > My production server is a FreeBSD box running PHP version 4.3.4. With
this
> > box my class will create a excel document but when I go to open the file
up,
> > it comes back and tells me the file is unreadable.
> >
> > Can anyone help me with this or point me in the right direction, as its
> > driving me mad.
> >
>
> Try opening the generated document in a text editor. Do you see any
> messages at the top? Likely, there are notices ot warnings being
> reported by PHP that are getting into the output.
>
> --
> DB_DataObject_FormBuilder - The database at your fingertips
> http://pear.php.net/package/DB_DataObject_FormBuilder
>
> paperCrane --Justin Patrin--
Hi,
Thanks for the reply.
I have checked the generated file in a text editor but it just tells me its
an empty file (0 bytes).
The query I run def returns data as I can generate a tab sperated excel file
from it.