{"action":"created","issue":{"url":"https://api.github.com/repos/mikehaertl/php-pdftk/issues/103","repository_url":"https://api.github.com/repos/mikehaertl/php-pdftk","labels_url":"https://api.github.com/repos/mikehaertl/php-pdftk/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/mikehaertl/php-pdftk/issues/103/comments","events_url":"https://api.github.com/repos/mikehaertl/php-pdftk/issues/103/events","html_url":"https://github.com/mikehaertl/php-pdftk/issues/103","id":297785262,"number":103,"title":"only blank page","user":{"login":"meentix","id":13523010,"avatar_url":"https://avatars2.githubusercontent.com/u/13523010?v=4","gravatar_id":"","url":"https://api.github.com/users/meentix","html_url":"https://github.com/meentix","followers_url":"https://api.github.com/users/meentix/followers","following_url":"https://api.github.com/users/meentix/following{/other_user}","gists_url":"https://api.github.com/users/meentix/gists{/gist_id}","starred_url":"https://api.github.com/users/meentix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meentix/subscriptions","organizations_url":"https://api.github.com/users/meentix/orgs","repos_url":"https://api.github.com/users/meentix/repos","events_url":"https://api.github.com/users/meentix/events{/privacy}","received_events_url":"https://api.github.com/users/meentix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-16T13:29:49Z","updated_at":"2018-02-16T13:47:33Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have a managed virtual server and my hoster installed pdftk succesfully (pdftk 2.02), Iv tested that. They also say that they have installed php-pdftk but I dont get it to work. I have a testscript here: http://meentix.aix-cloud.de/fpdm/phppdftk.php with the following php code:\r\n\r\n`use mikehaertl\\pdftk\\Pdf;\r\n\r\n// Fill form with data array\r\n$pdf = new Pdf('tkantrag2.pdf');\r\n$pdf->fillForm([\r\n        'Name'=>'Test',\r\n    ])\r\n    ->needAppearances()\r\n    ->saveAs('fillednew.pdf');\r\n\r\n// Check for errors\r\nif (!$pdf->saveAs('fillednew.pdf')) {\r\n    $error = $pdf->getError();\r\n}`\r\n\r\nThe pdf tkantrag2.pdf exists in the same folder as the script is. But there is no fillednew.pdf created and there is no error message, only a blank page... Dont know why, can you please help me to find the problem. Thanks."},"comment":{"url":"https://api.github.com/repos/mikehaertl/php-pdftk/issues/comments/366239323","html_url":"https://github.com/mikehaertl/php-pdftk/issues/103#issuecomment-366239323","issue_url":"https://api.github.com/repos/mikehaertl/php-pdftk/issues/103","id":366239323,"user":{"login":"mikehaertl","id":675062,"avatar_url":"https://avatars0.githubusercontent.com/u/675062?v=4","gravatar_id":"","url":"https://api.github.com/users/mikehaertl","html_url":"https://github.com/mikehaertl","followers_url":"https://api.github.com/users/mikehaertl/followers","following_url":"https://api.github.com/users/mikehaertl/following{/other_user}","gists_url":"https://api.github.com/users/mikehaertl/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehaertl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehaertl/subscriptions","organizations_url":"https://api.github.com/users/mikehaertl/orgs","repos_url":"https://api.github.com/users/mikehaertl/repos","events_url":"https://api.github.com/users/mikehaertl/events{/privacy}","received_events_url":"https://api.github.com/users/mikehaertl/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T13:47:33Z","updated_at":"2018-02-16T13:47:33Z","author_association":"OWNER","body":"You may have to configure the path to `pdftk`. See here: \r\nhttps://github.com/mikehaertl/php-pdftk#shell-command\r\n\r\nIt's also safer to always use full paths instead of only filenames."}}
{"actor":{"display_login":"mikehaertl"}}