{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfCake/CakePdf/issues/49","labels_url":"https://api.github.com/repos/FriendsOfCake/CakePdf/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfCake/CakePdf/issues/49/comments","events_url":"https://api.github.com/repos/FriendsOfCake/CakePdf/issues/49/events","html_url":"https://github.com/FriendsOfCake/CakePdf/issues/49","id":27200493,"number":49,"title":"CakePdf ignoring global settings","user":{"login":"pfulop","id":3984319,"avatar_url":"https://avatars.githubusercontent.com/u/3984319?v=3","gravatar_id":"","url":"https://api.github.com/users/pfulop","html_url":"https://github.com/pfulop","followers_url":"https://api.github.com/users/pfulop/followers","following_url":"https://api.github.com/users/pfulop/following{/other_user}","gists_url":"https://api.github.com/users/pfulop/gists{/gist_id}","starred_url":"https://api.github.com/users/pfulop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfulop/subscriptions","organizations_url":"https://api.github.com/users/pfulop/orgs","repos_url":"https://api.github.com/users/pfulop/repos","events_url":"https://api.github.com/users/pfulop/events{/privacy}","received_events_url":"https://api.github.com/users/pfulop/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-02-08T13:31:41Z","updated_at":"2015-05-31T18:22:53Z","closed_at":null,"body":"Hi there,\r\n\r\nI am using the latest CakePDF plugin with wkthmltopdf engine. In my case I have two wkhtmltopdf binaries, version 0.9.9 and 0.11.0 (I needed to use it without X11 and I have not removed the old version).\r\nIn my global configuration I have binary path defined to access new version. Everything is working when I am using first method from README \"1: Render as pdf (including forced download) in the browser with PdfView\". \r\nIf however I want to save it to disk on the server, the pdf does not get rendered with error \"WKHTMLTOPDF didn't return any data Error: An Internal Error Has Occurred\". I remember this error from time using 0.9.9. So I set the binary path directly in controller \r\n\r\n  $conf = array(    'binary' => '/usr/bin/wkhtmltopdf-amd64'   );\r\n  $CakePdf = new CakePdf($conf);\r\n\r\nand it is working. Every other setting from global configuration seems to be applied except binary. "},"comment":{"url":"https://api.github.com/repos/FriendsOfCake/CakePdf/issues/comments/107232092","html_url":"https://github.com/FriendsOfCake/CakePdf/issues/49#issuecomment-107232092","issue_url":"https://api.github.com/repos/FriendsOfCake/CakePdf/issues/49","id":107232092,"user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"created_at":"2015-05-31T18:22:53Z","updated_at":"2015-05-31T18:22:53Z","body":"Do you still have this problem?"}}