Problems with Create PDF Plugin
2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 1, 2011 (RSS)
By meg - August 1, 2011
I first updated the CMS Builder, then activated the Create PDF Plugin, but encountered some errors. Please advise me on how to resolve these issues in a timely fashion. Thank you.
Errors:
Warning: shell_exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 448
Failed! Run external program on server
Testing shell_exec() with command: pwd
Result:
Error: No output returned from command!
Warning: exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 478 Warning: join(): Invalid arguments passed in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 479
Failed! Test running PDF conversion program on server
Testing pdf binary with command: /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/wkhtmltopdf/wkhtmltopdf-i386 -V
Result: 0 bytes returned
Error: No output returned from command! (Exit code: -1)
Warning: shell_exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 141
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!
Visually review PDF output
Visually inspect the PDF below, correct any error message, then make sure the graphics and fonts display as expected:
Warning: shell_exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 141
Errors:
Warning: shell_exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 448
Failed! Run external program on server
Testing shell_exec() with command: pwd
Result:
Error: No output returned from command!
Warning: exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 478 Warning: join(): Invalid arguments passed in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 479
Failed! Test running PDF conversion program on server
Testing pdf binary with command: /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/wkhtmltopdf/wkhtmltopdf-i386 -V
Result: 0 bytes returned
Error: No output returned from command! (Exit code: -1)
Warning: shell_exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 141
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!
Visually review PDF output
Visually inspect the PDF below, correct any error message, then make sure the graphics and fonts display as expected:
Warning: shell_exec() has been disabled for security reasons in /data/19/1/51/101/1866101/user/2026945/htdocs/cms/plugins/createPDF/createPDF.php on line 141
Re: [meg] Problems with Create PDF Plugin
By Damon - August 1, 2011
Hi Meg,
Thanks for posting the details.
Some options to get the Create PDF plugin working:
1. Ask the host to enable shell_exec(). Ideally the host will do this and everything will start working as it should.
2. Setup and use the proxy feature in Create PDF to use another host that has all the requirements to run Create PDF to act as as a "server" to generate PDFs.
In the Create PDF plugin folder, there is a readme.txt with details about setting up a proxy server.
3. Move the site to another host. Many hosts do allow shell_exec() to be enabled.
Let me know what if you have any questions and what we can do to help.
Thanks for posting the details.
Some options to get the Create PDF plugin working:
1. Ask the host to enable shell_exec(). Ideally the host will do this and everything will start working as it should.
2. Setup and use the proxy feature in Create PDF to use another host that has all the requirements to run Create PDF to act as as a "server" to generate PDFs.
In the Create PDF plugin folder, there is a readme.txt with details about setting up a proxy server.
3. Move the site to another host. Many hosts do allow shell_exec() to be enabled.
Let me know what if you have any questions and what we can do to help.
Cheers,
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/