On 09/07/2012 05:51 AM, Mourad Hedfi wrote: > Hello everybody, > I've developped a Php application and I'm using the Writer of LibreOffice > 3.5 to convert rtf document to pdf. The command is "libreoffice3.5 > --headless -convert-to pdf > /var/www/Caneva/public/files/client/377/factures/1-789452012-0001.rtf > -outdir /var/www/Caneva/public/files/client/377/factures 2>&1" > > The command works fine in the terminal, but when a call it from Php, it > throughts the following error : "terminate called after throwing an > instance of 'com::sun::star::uno::RuntimeException". > > I'm on Linux Cent OS 6.0. Doe's anyone have an idea about this problem and > can help me to resolve it. > > Many thank in advance. > Best regards. > Hi,
Please post the php code. Since it works fine in terminal, I would expect there to be bug in the PHP code. -- Jay Lozier [email protected] -- For unsubscribe instructions e-mail to: [email protected] Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
