I have a problem with a php page I created, she can not get it to run from the browser, however if run from the console if I run shell
- In the browser gives me this result:
url:
http://eduktic.com/informes_yes/prueba_wk.phparray(2) { [0]=> string(19) "Loading pages (1/6)" [1]=> string(132) "[> ] 0% [======> ] 10%" }
- In command line I get good results so:
yo...@eduktic.com [~/public_html/informes_yes]# php prueba_wk.php
array(7) {
[0]=>
string(49) "Fontconfig error: Cannot load default config file"
[1]=>
string(19) "Loading pages (1/6)"
[2]=>
Counting pages (2/6)"========================================] 100% ] 0%
[3]=>
Resolving links (4/6)"=====================================================] Object 1 of 1
[4]=>
Loading headers and footers (5/6)"==========================================] Object 1 of 1
[5]=>
string(20) "Printing pages (6/6)"
[6]=>
Done"========================================================] Page 1 of 1 ] Preparing
}
wonder since that is affecting took months and not achieving positive results.
The code of my page is this
<?
$cmd = "wk12ok/bin/wkhtmltopdf
http://www.google.com miprueba.pdf 2>&1";
$t = exec($cmd, $salida);
var_dump ($salida);
exit();
?>