Added die(); and got the following
/opt/egroupware/tmp/83c58fbc133f677e24d6288006f4562f.odt
Checked for the file and it was there. opened it up, and it “SEEMED” blank. Then I remembered that you can open .ODT files with an archive manager. When I did, I found out that it was actually populated with data (content.xml had all my data in it), and images…so…
I changed the setting from php to shell, clicked save, then save again (to make sure the binaries were saved), logged out of egroupware and back in, ran an invoice report.
/opt/egroupware/tmp/ec083d3fc8df0238ddb9d2b5399be28f.odt
File was there, and PERFECT.
Went ahead and backed out the echo and die code and ran a report. Everything is fine. Now, I just need to configure the template to send the file with the invoice number as a suffix prior to extension.
CONCLUSION:
With PHP 5.2.10 (at least on my system), The shell setting for zip must be used to properly create OpenOffice documents.
Thanks for your help.
Dan.
UPDATE: I still get the ‘no report specified’ from Midori. This is most likely a problem with Midori/Webkit rather than pERP, but wanted you to be aware.
UPDATE2: Same results in webkit enabled Epiphany as in Midori…so it is a webkit issue.