Re: Spreadsheet_Excel_Writer problem
| From: | Justin Patrin | Date: | Mon, 26 Jul 2004 18:40:01 +0000 |
| Subject: | Re: Spreadsheet_Excel_Writer problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13850@lists.php.net to get a copy of this message | ||
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--