You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering the above error after executing this statement:
//$temp_file is the .docx file created by phpWord
//res is the name of the .docx file without the extension
Gears\Pdf::convert('C:\xampp\htdocs\yu\\'.$temp_filename, 'C:\xampp\htdocs\yu\\'.$res.'.pdf',
[
'converter' => function()
{
return new Gears\Pdf\Docx\Converter\LibreOffice
([
'binary' => 'C:\Program Files (x86)\LibreOffice 5\program\soffice.exe',
'output'=>'C:\xampp\htdocs\yu'
]);
}
]);
When i var_dump $cmd in LibreOffice.php line 123 i get the following: string(212) "start /wait C:\Program Files (x86)\LibreOffice 5\program\soffice.exe --headless --convert-to pdf:writer_pdf_Export --outdir "C:\xampp\htdocs\yu" "C:\Users\sirben\AppData\Local\Temp\Gea9A67.tmp.docx""
What is it that am doing wrong?
I am encountering the above error after executing this statement:
My backtrace is as follows:
When i var_dump
$cmdin LibreOffice.php line 123 i get the following:string(212) "start /wait C:\Program Files (x86)\LibreOffice 5\program\soffice.exe --headless --convert-to pdf:writer_pdf_Export --outdir "C:\xampp\htdocs\yu" "C:\Users\sirben\AppData\Local\Temp\Gea9A67.tmp.docx""What is it that am doing wrong?
Thank you