{"action":"created","issue":{"url":"https://api.github.com/repos/octobercms/library/issues/196","repository_url":"https://api.github.com/repos/octobercms/library","labels_url":"https://api.github.com/repos/octobercms/library/issues/196/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/library/issues/196/comments","events_url":"https://api.github.com/repos/octobercms/library/issues/196/events","html_url":"https://github.com/octobercms/library/pull/196","id":142946288,"number":196,"title":"Modified Dongle, DeferOneOrMany and File to be sqlserver/iis capable","user":{"login":"tschallacka","id":8638425,"avatar_url":"https://avatars.githubusercontent.com/u/8638425?v=3","gravatar_id":"","url":"https://api.github.com/users/tschallacka","html_url":"https://github.com/tschallacka","followers_url":"https://api.github.com/users/tschallacka/followers","following_url":"https://api.github.com/users/tschallacka/following{/other_user}","gists_url":"https://api.github.com/users/tschallacka/gists{/gist_id}","starred_url":"https://api.github.com/users/tschallacka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschallacka/subscriptions","organizations_url":"https://api.github.com/users/tschallacka/orgs","repos_url":"https://api.github.com/users/tschallacka/repos","events_url":"https://api.github.com/users/tschallacka/events{/privacy}","received_events_url":"https://api.github.com/users/tschallacka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-03-23T12:23:15Z","updated_at":"2016-07-23T01:11:52Z","closed_at":"2016-07-23T00:22:00Z","pull_request":{"url":"https://api.github.com/repos/octobercms/library/pulls/196","html_url":"https://github.com/octobercms/library/pull/196","diff_url":"https://github.com/octobercms/library/pull/196.diff","patch_url":"https://github.com/octobercms/library/pull/196.patch"},"body":"Please include these changes to make these elements work with SQL server systems and IIS systems. They should be non breaking on other configuration systems. But these changes are mandatory to make them work on IIS/SQLServer. \r\nShould they cause breakages on other systems I'd like to know about it, so I can help fix it and make october more flexible :-)"},"comment":{"url":"https://api.github.com/repos/octobercms/library/issues/comments/234690348","html_url":"https://github.com/octobercms/library/pull/196#issuecomment-234690348","issue_url":"https://api.github.com/repos/octobercms/library/issues/196","id":234690348,"user":{"login":"daftspunk","id":1392869,"avatar_url":"https://avatars.githubusercontent.com/u/1392869?v=3","gravatar_id":"","url":"https://api.github.com/users/daftspunk","html_url":"https://github.com/daftspunk","followers_url":"https://api.github.com/users/daftspunk/followers","following_url":"https://api.github.com/users/daftspunk/following{/other_user}","gists_url":"https://api.github.com/users/daftspunk/gists{/gist_id}","starred_url":"https://api.github.com/users/daftspunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daftspunk/subscriptions","organizations_url":"https://api.github.com/users/daftspunk/orgs","repos_url":"https://api.github.com/users/daftspunk/repos","events_url":"https://api.github.com/users/daftspunk/events{/privacy}","received_events_url":"https://api.github.com/users/daftspunk/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T01:11:52Z","updated_at":"2016-07-23T01:11:52Z","body":"Ok, they didn't fix it there either. It looks like a permission issue where IIS does not have permissions to the temp directory (`C:\\windows\\temp`).\r\n\r\nThey've noted some quick options for local dev sites:\r\n\r\n* Try adding `IIS_WPG` with read/write access to the temp folder.\r\n* Specify another `upload_tmp_dir` in PHP.ini\r\n* Setup impersonation\r\n* Grant at least the List folder contents on temp (translated from another language, not sure what the actual value is) to the IIS user (o r groep).\r\n\r\nI assume in a production environment, the web server would have suitable permissions?\r\n\r\n---\r\n\r\nThe main issue with the proposed code change in this PR is that it only fixes 1 specific location, there could be many other areas where `getRealPath()` is used, in modules or plugins. The fix needs to be applied to the root cause of the problem."}}
{"actor":{"display_login":"daftspunk"}}