Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder: Plugins & Add-ons:
createPdf error

 

 


rjbathgate
User

Mar 8, 2011, 8:23 PM

Post #1 of 11 (3734 views)
Shortcut
createPdf error Can't Post

Hi,

Through the CreatePDF plugin tester, I receive the following:

----
Failed! Test running PDF conversion program on server

Testing pdf binary with command: /var/www/vhosts/xxxxx/httpdocs/cmsAdmin/plugins/createPDF/wkhtmltopdf/wkhtmltopdf-amd64 -V
Result: 0 bytes returned
Error: No output returned from command! (Exit code: 11)
----

All other tests work ok, but the Visual Output is blank also.

And when trying to run a createPDF_fromOutput, the page just loads blank.

I've installed all the libraries as per readme.txt, and am using v1.02.

Any ideas?!

Thanks very much
Rob


Dave
Staff / Moderator


Mar 9, 2011, 7:21 PM

Post #2 of 11 (3690 views)
Shortcut
Re: [rjbathgate] createPdf error [In reply to] Can't Post

Hi Rob,

I've got your email about this so I'll do some research and get back to you. Thanks!

Dave Edis - Senior Developer
interactivetools.com
 


Dave
Staff / Moderator


Mar 16, 2011, 2:01 PM

Post #3 of 11 (3587 views)
Shortcut
Re: [Dave] createPdf error [In reply to] Can't Post

Just a follow up on this one. Re-uploading the /cmsAdmin/plugins/createPDF/wkhtmltopdf/ folder fixed it!

Dave Edis - Senior Developer
interactivetools.com
 


concrete
User

May 20, 2011, 3:16 PM

Post #4 of 11 (3445 views)
Shortcut
Re: [Dave] createPdf error [In reply to] Can't Post

Hi Dave I'm having the same exact issue. I reluploaded the directory but i still have the same issue.


Dave
Staff / Moderator


May 20, 2011, 3:20 PM

Post #5 of 11 (3444 views)
Shortcut
Re: [concrete] createPdf error [In reply to] Can't Post

Hi Darrell,

Who is the host? If you want to email me FTP and CMS details I could try and get it going for you.

Note: Email, don't post login details to the forum.

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com
 


concrete
User

May 20, 2011, 3:38 PM

Post #6 of 11 (3442 views)
Shortcut
Re: [Dave] createPdf error [In reply to] Can't Post

Host is mediatemple.

I just sent over the details via email


Dave
Staff / Moderator


May 23, 2011, 11:07 AM

Post #7 of 11 (3278 views)
Shortcut
Re: [concrete] createPdf error [In reply to] Can't Post

Hi Darrell,

I re-uploaded createPDF/wkhtmltopdf/wkhtmltopdf-i386 and set the permissions to 755.

Now we're getting a little further but we're getting some errors.

Do you have root access (ssh/telnet) on this server or is it shared hosting?

We're currently generating PDFs but we need to get some fonts installed. See: admin.php?_pluginName=createPDF&_pluginAction=test

To get the fonts installed we need these commands run on the server (from the createPDF readme):
yum install xorg-x11-fonts-Type1
yum install msttcorefonts

Let me know if you have root access. Otherwise you'll need to email your host and ask them.

Dave Edis - Senior Developer
interactivetools.com
 


concrete
User

May 24, 2011, 9:42 AM

Post #8 of 11 (3239 views)
Shortcut
Re: [Dave] createPdf error [In reply to] Can't Post

Hey Dave I installed the packages and now it works. Thanks


Toledoh
Enthusiast

Apr 27, 2012, 2:57 PM

Post #9 of 11 (522 views)
Shortcut
Re: [Dave] createPdf error [In reply to] Can't Post

I've got a similar situation. I've re-uploaded the files, and checked permissions... but no luck. Tech support are very helpful on this server, but I'm not sure what to ask them to do as I'm not getting any PDF display as yet...



Passed! Run external program on server

Testing shell_exec() with command: pwd
Result: /home/murraysb/public_html/cmsAdmin

Failed! Test running PDF conversion program on server

Testing pdf binary with command: /home/murraysb/public_html/cmsAdmin/plugins/createPDF/wkhtmltopdf/wkhtmltopdf-amd64 -V
Result: 0 bytes returned
Error: No output returned from command! (Exit code: 11)

Passed! Test downloading content from remote URL

Downloading content from url with: getPage('http://www.google.com/');
Result: HTTP status code 302

Failed! Test converting a web page to a PDF

Created PDF with: HTML from: http://www.google.com/;
Result: 0 byte PDF returned
Error: No pdf output was returned!
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au


Dave
Staff / Moderator


Apr 27, 2012, 3:45 PM

Post #10 of 11 (520 views)
Shortcut
Re: [Toledoh] createPdf error [In reply to] Can't Post

Hi Tim,

I've released an updated Create PDF plugin here:
http://www.interactivetools.com/add-ons/detail.php?Create-PDF-1017

Can you give it a try and see if it helps resolve the problem? If not email me direct and I'll take a look. Thanks!

Dave Edis - Senior Developer
interactivetools.com
 


Toledoh
Enthusiast

Apr 27, 2012, 10:48 PM

Post #11 of 11 (496 views)
Shortcut
Re: [Dave] createPdf error [In reply to] Can't Post

Yep - that fixed it also Dave. I got an error and a suggestion on the test page, made the change as suggested and works a treat!
Cheers,

Tim Forrest
Toledoh Enterprises
www.toledoh.com.au