[Warning] file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0

GET /mobile-app/running

Line 25 in /home/devpackage/public_html/mysite/code/AdroidAppPage.php

Source

16     }
17 }
18 class MobileAppPage_Controller extends Page_Controller {
19     static $allowed_actions = array(
20         'running'
21     );
22     function running() {
23         $filePath = $this->AppFile;
24         return SS_HTTPRequest::send_file(
25             file_get_contents($filePath),
26             'gitpackage.apk'
27         );
28     }
29 }

Trace

GET /mobile-app/running

[Warning] file_get_contents(https://gitpackage.com/assets/Uploads/gitpackage.apk): failed to open stream: no suitable wrapper could be found

GET /mobile-app/running

Line 25 in /home/devpackage/public_html/mysite/code/AdroidAppPage.php

Source

16     }
17 }
18 class MobileAppPage_Controller extends Page_Controller {
19     static $allowed_actions = array(
20         'running'
21     );
22     function running() {
23         $filePath = $this->AppFile;
24         return SS_HTTPRequest::send_file(
25             file_get_contents($filePath),
26             'gitpackage.apk'
27         );
28     }
29 }

Trace