{"action":"opened","issue":{"url":"https://api.github.com/repos/ivodvb/AutoRsyncBackup-Report/issues/5","labels_url":"https://api.github.com/repos/ivodvb/AutoRsyncBackup-Report/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ivodvb/AutoRsyncBackup-Report/issues/5/comments","events_url":"https://api.github.com/repos/ivodvb/AutoRsyncBackup-Report/issues/5/events","html_url":"https://github.com/ivodvb/AutoRsyncBackup-Report/issues/5","id":54573040,"number":5,"title":"Throw error if there is not write access for log directory","user":{"login":"teunis90","id":3136781,"avatar_url":"https://avatars.githubusercontent.com/u/3136781?v=3","gravatar_id":"","url":"https://api.github.com/users/teunis90","html_url":"https://github.com/teunis90","followers_url":"https://api.github.com/users/teunis90/followers","following_url":"https://api.github.com/users/teunis90/following{/other_user}","gists_url":"https://api.github.com/users/teunis90/gists{/gist_id}","starred_url":"https://api.github.com/users/teunis90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teunis90/subscriptions","organizations_url":"https://api.github.com/users/teunis90/orgs","repos_url":"https://api.github.com/users/teunis90/repos","events_url":"https://api.github.com/users/teunis90/events{/privacy}","received_events_url":"https://api.github.com/users/teunis90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ivodvb/AutoRsyncBackup-Report/milestones/1","labels_url":"https://api.github.com/repos/ivodvb/AutoRsyncBackup-Report/milestones/1/labels","id":931543,"number":1,"title":"Beta version","description":"First beta version","creator":{"login":"ivodvb","id":3462689,"avatar_url":"https://avatars.githubusercontent.com/u/3462689?v=3","gravatar_id":"","url":"https://api.github.com/users/ivodvb","html_url":"https://github.com/ivodvb","followers_url":"https://api.github.com/users/ivodvb/followers","following_url":"https://api.github.com/users/ivodvb/following{/other_user}","gists_url":"https://api.github.com/users/ivodvb/gists{/gist_id}","starred_url":"https://api.github.com/users/ivodvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivodvb/subscriptions","organizations_url":"https://api.github.com/users/ivodvb/orgs","repos_url":"https://api.github.com/users/ivodvb/repos","events_url":"https://api.github.com/users/ivodvb/events{/privacy}","received_events_url":"https://api.github.com/users/ivodvb/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-01-12T14:24:51Z","updated_at":"2015-01-16T13:02:01Z","due_on":"2015-01-13T23:00:00Z","closed_at":null},"comments":0,"created_at":"2015-01-16T13:02:01Z","updated_at":"2015-01-16T13:02:01Z","closed_at":null,"body":"Throw error if there is not write access for log directory. Script should not continue in that case.\r\n\r\nThese errors where produces on screen when executing mail.php:\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nNXTHD info : User root started autorsyncbackup-report @ 2015-01-16 12:09:43\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46\r\nPHP Warning:  file_put_contents(log/2015-01-16.log): failed to open stream: No such file or directory in /usr/local/share/autorsyncbackup/autorsyncbackup-report/classes/Loggable.php on line 46"}}