{"action":"created","issue":{"url":"https://api.github.com/repos/aur1mas/Wkhtmltopdf/issues/24","labels_url":"https://api.github.com/repos/aur1mas/Wkhtmltopdf/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/aur1mas/Wkhtmltopdf/issues/24/comments","events_url":"https://api.github.com/repos/aur1mas/Wkhtmltopdf/issues/24/events","html_url":"https://github.com/aur1mas/Wkhtmltopdf/issues/24","id":55597424,"number":24,"title":"WKHTMLTOPDF didn't return any data","user":{"login":"sevenup30","id":2363027,"avatar_url":"https://avatars.githubusercontent.com/u/2363027?v=3","gravatar_id":"","url":"https://api.github.com/users/sevenup30","html_url":"https://github.com/sevenup30","followers_url":"https://api.github.com/users/sevenup30/followers","following_url":"https://api.github.com/users/sevenup30/following{/other_user}","gists_url":"https://api.github.com/users/sevenup30/gists{/gist_id}","starred_url":"https://api.github.com/users/sevenup30/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevenup30/subscriptions","organizations_url":"https://api.github.com/users/sevenup30/orgs","repos_url":"https://api.github.com/users/sevenup30/repos","events_url":"https://api.github.com/users/sevenup30/events{/privacy}","received_events_url":"https://api.github.com/users/sevenup30/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-27T10:00:56Z","updated_at":"2015-04-07T05:20:48Z","closed_at":null,"body":"Hi there,\r\ni'm trying to use your classe, but when o use it i do have this error, it create me a html file with my content but say that it do not receive any data :/\r\n\r\nhere's my code: \r\ntry {\r\n        $wkhtmltopdf = new Wkhtmltopdf(array('path' => './public/uploads/'));\r\n        $wkhtmltopdf->setTitle(\"Title\");\r\n        $wkhtmltopdf->setHtml(\"<html><table>coucou </table></html>\");\r\n        $wkhtmltopdf->output(Wkhtmltopdf::MODE_DOWNLOAD, \"file.pdf\");\r\n    } catch (Exception $e) {\r\n        echo $e->getMessage();\r\n    }\r\n\r\n\r\ni also try with get_page_content, an url always same issue.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/aur1mas/Wkhtmltopdf/issues/comments/90363273","html_url":"https://github.com/aur1mas/Wkhtmltopdf/issues/24#issuecomment-90363273","issue_url":"https://api.github.com/repos/aur1mas/Wkhtmltopdf/issues/24","id":90363273,"user":{"login":"haibuo1981","id":1844864,"avatar_url":"https://avatars.githubusercontent.com/u/1844864?v=3","gravatar_id":"","url":"https://api.github.com/users/haibuo1981","html_url":"https://github.com/haibuo1981","followers_url":"https://api.github.com/users/haibuo1981/followers","following_url":"https://api.github.com/users/haibuo1981/following{/other_user}","gists_url":"https://api.github.com/users/haibuo1981/gists{/gist_id}","starred_url":"https://api.github.com/users/haibuo1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haibuo1981/subscriptions","organizations_url":"https://api.github.com/users/haibuo1981/orgs","repos_url":"https://api.github.com/users/haibuo1981/repos","events_url":"https://api.github.com/users/haibuo1981/events{/privacy}","received_events_url":"https://api.github.com/users/haibuo1981/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T05:20:47Z","updated_at":"2015-04-07T05:20:47Z","body":"\"protected $_bin = 'your binary wkhtmltopdf path';\"  \r\nYou must set above line in the class at first."}}