Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
Hi,
Unable to generate PDF, even tried PHPDocx sample script still does not produce anything?
i am using corporate version.
Hello,
Please check the available documentation on this website.
And enable the debug option when you invoke the transformación. It'll return all the info.
Regards.
HI
tried log but no luck, could it be to do with open office installation ?
its not giving any error etc.
regards
Same Problem here.
Debug output is:
[INFO][C:\tmp\tempDocX_53d056130142c.docx] Converting tempDocX_53d056130142c.docx into tempOdt_53d0561305ca6.odt
[INFO][C:\tmp\tempDocX_53d056130142c.docx] Conversion succeeded
[INFO][C:\tmp\tempDocX_53d056130142c.docx] Total conversion time: 00:00:02.5326819
Done.
But I cannot find the odt file and the pdf is also not there.
By teh way: I am on a windows plattform.
Hello,
You need to enable the debug mode in the transformDocument method, not in phpdocx config.
After it run the example using the CLI mode.
Regards.
its giving following error:
/****/phpdocx_pro_new/classes/../lib/OdfConverter/64/OdfConverter: error while loading shared libraries: libexif.so.12: cannot open shared object file: No such file or directory
HI,
even generatePDF is not working anymore with pro version? is it to do with server?
can you please suggest?
it seems it works fine with small text but not with longer or bigger document?
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /XXX/pdf/include/text_frame_reflower.cls.php(381) : runtime-created function on line 1
is there any patch for this?
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 75 bytes) in /XXX/pdf/include/frame.cls.php on line 519
any thoughts on this admin?
Hello,
That error:
Fatal error: Allowed memory size
comes from the PHP config, you need to increase the available memory.
About this error:
error while loading shared libraries: libexif.so.12
you need to install that library in your OS to be able to run OdfConverter. If you see any other missing library, please install it too.
Regards.
thanks for reply.
library is installed. It converts fine when tried SSH. but in PHP it does not return any error and no pdf.
Only Docx is generate not the pdf?
AdvanceTransform i am using.
I am getting this error
** (OdfConverterTestStatic.exe:1628): CRITICAL **: _wapi_shm_file_open: shared file
[/var/www/.wapi/shared_data-mail.XXX.com-Linux-x86_64-328-12-0] open error: No such file or directory
** (OdfConverterTestStatic.exe:1628): CRITICAL **: _wapi_shm_attach: shared file
[/var/www/.wapi/shared_data-mail.XXX.com-Linux-x86_64-328-12-0] open error
** ERROR **: file shared.c: line 349 (shm_semaphores_init): assertion failed: (tmp_shared != NULL)
aborting...
** (process:1628): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
Stacktrace:
** (process:1628): WARNING (recursed) **: Thread (nil) may have been prematurely finalized
Native stacktrace:
/XXX/phpdocx_pro_new/classes/../lib/OdfConverter/64/OdfConverter()
[0x44ca20]
/lib64/libpthread.so.0() [0x348e60f500]
created folder .wapi and it worked. thanks for help