{"action":"opened","issue":{"url":"https://api.github.com/repos/opencart/opencart/issues/3062","labels_url":"https://api.github.com/repos/opencart/opencart/issues/3062/labels{/name}","comments_url":"https://api.github.com/repos/opencart/opencart/issues/3062/comments","events_url":"https://api.github.com/repos/opencart/opencart/issues/3062/events","html_url":"https://github.com/opencart/opencart/issues/3062","id":82557834,"number":3062,"title":"Installer check for Curl HTTP Loopback support","user":{"login":"qphoria","id":569693,"avatar_url":"https://avatars.githubusercontent.com/u/569693?v=3","gravatar_id":"","url":"https://api.github.com/users/qphoria","html_url":"https://github.com/qphoria","followers_url":"https://api.github.com/users/qphoria/followers","following_url":"https://api.github.com/users/qphoria/following{/other_user}","gists_url":"https://api.github.com/users/qphoria/gists{/gist_id}","starred_url":"https://api.github.com/users/qphoria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qphoria/subscriptions","organizations_url":"https://api.github.com/users/qphoria/orgs","repos_url":"https://api.github.com/users/qphoria/repos","events_url":"https://api.github.com/users/qphoria/events{/privacy}","received_events_url":"https://api.github.com/users/qphoria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T19:39:56Z","updated_at":"2015-05-29T19:39:56Z","closed_at":null,"body":"I do a lot of upgrades to 2.x and I think about 35% of people's servers DO NOT support curl http loopback which means the API calls throw an ajax error and people cannot do any of the API calls like edit orders or update order history. This is a pretty major showstopper and I think a check should be done during install to see that curl loopback is enabled.\r\n\r\nThe easiest way would be to simply attempt a curl call to the main install index and either check the response isn't empty, or use curl_getinfo() to check the http_code. This returns \"0\" on sites that do not have loopback enabled.\r\n\r\nIt should also be documented somewhere explaining the issue. Backupbuddy for Wordpress has some info for their own system here: http://ithemes.com/codex/page/BackupBuddy:_Frequent_Support_Issues#HTTP_Loopback_Connections_Disabled"}}