{"action":"closed","issue":{"url":"https://api.github.com/repos/WordImpress/Give/issues/511","repository_url":"https://api.github.com/repos/WordImpress/Give","labels_url":"https://api.github.com/repos/WordImpress/Give/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/WordImpress/Give/issues/511/comments","events_url":"https://api.github.com/repos/WordImpress/Give/issues/511/events","html_url":"https://github.com/WordImpress/Give/issues/511","id":139609446,"number":511,"title":"Alternatives for allow_url_fopen or fail gracefully","user":{"login":"mathetos","id":930724,"avatar_url":"https://avatars.githubusercontent.com/u/930724?v=3","gravatar_id":"","url":"https://api.github.com/users/mathetos","html_url":"https://github.com/mathetos","followers_url":"https://api.github.com/users/mathetos/followers","following_url":"https://api.github.com/users/mathetos/following{/other_user}","gists_url":"https://api.github.com/users/mathetos/gists{/gist_id}","starred_url":"https://api.github.com/users/mathetos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathetos/subscriptions","organizations_url":"https://api.github.com/users/mathetos/orgs","repos_url":"https://api.github.com/users/mathetos/repos","events_url":"https://api.github.com/users/mathetos/events{/privacy}","received_events_url":"https://api.github.com/users/mathetos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WordImpress/Give/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"DevinWalker","id":1571635,"avatar_url":"https://avatars.githubusercontent.com/u/1571635?v=3","gravatar_id":"","url":"https://api.github.com/users/DevinWalker","html_url":"https://github.com/DevinWalker","followers_url":"https://api.github.com/users/DevinWalker/followers","following_url":"https://api.github.com/users/DevinWalker/following{/other_user}","gists_url":"https://api.github.com/users/DevinWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/DevinWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevinWalker/subscriptions","organizations_url":"https://api.github.com/users/DevinWalker/orgs","repos_url":"https://api.github.com/users/DevinWalker/repos","events_url":"https://api.github.com/users/DevinWalker/events{/privacy}","received_events_url":"https://api.github.com/users/DevinWalker/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/WordImpress/Give/milestones/18","html_url":"https://github.com/WordImpress/Give/milestones/1.3.7","labels_url":"https://api.github.com/repos/WordImpress/Give/milestones/18/labels","id":1507404,"number":18,"title":"1.3.7","description":"","creator":{"login":"DevinWalker","id":1571635,"avatar_url":"https://avatars.githubusercontent.com/u/1571635?v=3","gravatar_id":"","url":"https://api.github.com/users/DevinWalker","html_url":"https://github.com/DevinWalker","followers_url":"https://api.github.com/users/DevinWalker/followers","following_url":"https://api.github.com/users/DevinWalker/following{/other_user}","gists_url":"https://api.github.com/users/DevinWalker/gists{/gist_id}","starred_url":"https://api.github.com/users/DevinWalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DevinWalker/subscriptions","organizations_url":"https://api.github.com/users/DevinWalker/orgs","repos_url":"https://api.github.com/users/DevinWalker/repos","events_url":"https://api.github.com/users/DevinWalker/events{/privacy}","received_events_url":"https://api.github.com/users/DevinWalker/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":16,"state":"open","created_at":"2016-01-14T17:51:12Z","updated_at":"2016-03-22T02:39:19Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-09T15:31:19Z","updated_at":"2016-03-22T02:39:19Z","closed_at":"2016-03-22T02:39:19Z","body":"Related to #506 two users have reported being unable to generate a PDF export from our Export tools because they don't have allow_url_fopen enabled in their stack. One is a Media Temple customer so I don't think this is unusual. \r\n\r\nWe use allow_url_fopen to add our logo into the PDF report on the fly. I've emailed Eugene at MT for insight into this and possible alternatives. But wonder if @DevinWalker has other thoughts for how we can insert our logo into the Report without using allow_url_fopen\r\n\r\nIf we don't have an alternative, then it would be better to allow that generation to fail more gracefully, checking for whether it's enabled or not and pre-emptively disabling the generate button with a notice for why they can't generate PDF reports."}}