Hi,
As the title says, I have installed wkhtmltopdf successfully using the RPM and a basic "rpm -i <file>.rpm" within my Centos 7.7 server's shell as root.
I then tested the installation by making a .pdf of http://www.google.com, the result was exactly was expected.
I read the entire installation documentation and I have followed all steps, including adding this to my /users/defaults.php file:
$mydbr_defaults['export']['wkhtmltopdf']['command'] = '/usr/local/bin/wkhtmltopdf';
My server's path to wkhtmltopdf is correct, it is installed at '/usr/local/bin/', however, MyDBR can not see it installed in Environment Settings.
Please point out where I might have mis-configured this installation, again, it works fine via shell and I HAVE included the explicit path to wkhtmltopdf in defaults.php. Not much else I can do unfortunately...
Update1: Here's the results of 'which wkhtmltopdf' and 'wkhtmltopdf -V':
[root@vps ~]# which wkhtmltopdf
/usr/local/bin/wkhtmltopdf
[root@vps ~]# wkhtmltopdf -V
wkhtmltopdf 0.12.5 (with patched qt)
Update2: Here's the contents of my /user/defaults.php file:
<?php
// This is used to override values in defaults.php at main level.
$mydbr_defaults['export']['wkhtmltopdf']['command'] = '/usr/local/bin/wkhtmltopdf';
$mydbr_defaults['page_title'] = 'SurveySource'; //$mydbr_defaults['oem']['sidemenu_mode'] = 'frame'; $mydbr_defaults['oem']['sidemenu_mode'] = 'report';
$mydbr_defaults['oem']['favicons']['icons'] = array( array('type' => 'image/png', 'rel' => 'apple-touch-icon', 'href' => '/user/images/apple-touch-icon.png', 'sizes' => '180x180'), array('type' => 'image/png', 'rel' => 'icon', 'href' => '/user/images/favicon-32x32.png', 'sizes' => '32x32'), array('type' => 'image/png', 'rel' => 'icon', 'href' => '/user/images/favicon-16x16.png', 'sizes' => '16x16'), array('type' => 'text/xml', 'rel' => 'manifest', 'href'=> '/user/images/site.webmanifest'), array('type' => 'image/svg+xml', 'rel' => 'mask-icon', 'href'=> '/user/images/safari-pinned-tab.svg', 'color'=> '#5bbad5'), );
/* Debug flag to determine server cookie problems. Enabling this may expose your database login information so use with caution
$mydbr_defaults['debug_cookie'] = true; */
I'm still stumped :(