pdf to xod working in windows and linux local host but not working in my linux host

已查看 79 次
跳至第一个未读帖子

Vivek Pulakkat

未读,
2016年4月21日 12:34:462016/4/21
收件人 PDFTron PDFNet SDK
Hi,

I am able to convert the pdf to xod from my local machines running linux and windows using php execute,shell_execute command but the same i hosted in my linux host service(1and1 and liquid web) which is not working,can you please tell me how this is happening or any further configuration should use to get my work done.

Note : I am using docpub for this,if you have any alternative solution please describe me how, i tried with PDFNet also which is not user friendly for me.If you can help me configuring pdfnet in webhost which is also fine for me.

Ryan

未读,
2016年4月21日 13:01:182016/4/21
收件人 pdfne...@googlegroups.com
Yes, it is certainly fine to run DocPub as a shell command.

There is a dependency on some c++ runtimes. So my first guess, is that you are running 32bit DocPub on a 64bit server, but the server only has the 64bit versions of the runtime dependency.

Easiest solution would be to run 64bit DocPub.

See this post for more info.

If this doesn't help, then we would need full error messages, and information about the server.

Vivek Pulakkat

未读,
2016年4月21日 18:53:012016/4/21
收件人 PDFTron PDFNet SDK
Thanks for you replay,

It is not happening like that i have tried both 64 and 32 in my servers (From php i executed shell command ) but no xod file generated,actually we are in deep trouble i need to integrate this in to a bigger system  with in next few days once it is working only we can go for license.So tell me any server side or php side configuration like is required to run these shell commands but the interesting fact is its working perfectly in my local system.

Ryan

未读,
2016年4月22日 14:13:132016/4/22
收件人 pdfne...@googlegroups.com
Can you convert a PDF file to XOD on the server using DocPub? Try both calling it from the terminal, and from your PHP code.
Does the error happen on any file, or just a particular one?
Is it only certain file types that fail?

Do you not get any error message? You can run docpub with --verb 2 to get additional information during processing.

Vivek Pulakkat

未读,
2016年4月25日 12:14:182016/4/25
收件人 PDFTron PDFNet SDK
I tried running the test file you have given in your docpub test trial through server ssh but the error showing is "Segmentation fault",Kindly tell me how it is happening in web host(Linux with apache server).I am repeating, its working perfectly in my local machine.The problem only in my webhost purchased from (1and1 and liquidweb hosting),I hope you guys can identify this issue and can suggest a perfect solution for this.
Thank You.

Vivek Pulakkat

未读,
2016年4月25日 12:14:192016/4/25
收件人 PDFTron PDFNet SDK
see i am not having the proper root shell access in my hosting space,so i am not able to execute the script through terminal, The only way i can run using PHP, also i is not happening for a particular file i tried more than 10 trials(pdf files) which is not working, Thats why i am asking you ; do u have any specific requirement or some configuration for running a DocPub in linux server(PHP Apache server).,

On Friday, April 22, 2016 at 10:13:13 PM UTC+4, Ryan wrote:

Ryan

未读,
2016年4月26日 19:53:242016/4/26
收件人 PDFTron PDFNet SDK
Hi, can you run DocPub at all on the problem machine (just ./docpub)?

If not, I believe it is an issue with the C++ runtime linkage, as described earlier. Switching to 32 or 64bit docpub should fix this issue. if not contact 1and and liquidweb.

If that works, but you crash converting any PDF file, can you try a different docpub output, such as "-f html".

 do u have any specific requirement or some configuration for running a DocPub in linux server(PHP Apache server).,

Other than x86/x64 C++ runtime, no there is no other dependency on linux OS. 
回复全部
回复作者
转发
0 个新帖子