keat Posted April 21, 2017 Share Posted April 21, 2017 I'm trying to update a copy of my 6.0.1 site to 6.1.7 but get the following error. Failed to download latest version, please attempt manual upgrade. [21-Apr-2017 09:57:28 Europe/London] PHP Warning: file_get_contents(https://www.cubecart.com/download/6.1.7.zip) [<a href='http://docs.php.net/manual/en/function.file-get-contents.php'>function.file-get-contents.php</a>]: failed to open stream: no suitable wrapper could be found in /home/xxxxx/public_html/admin/sources/maintenance.index.inc.php on line 174 I've already perfromed a dummy run to 6.1.5, so I know it works. I updated to EasyApache 4 with php 5.6 earlier this week in anticipation of this update, maybe it's related ?? Line 174 shows: $contents = file_get_contents('https://www.cubecart.com/download/'.$_GET['upgrade'].'.zip'); edit: Looks like a PHP config change is required. Quote Link to comment Share on other sites More sharing options...
keat Posted April 21, 2017 Author Share Posted April 21, 2017 For anyone else experiences this, the settings to change in php.ini is allow_url_include , but for good measure I also enabled allow_url_fopen . Restart php. Might be worth, switching these back off when done. Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted April 21, 2017 Share Posted April 21, 2017 So this is resolved? Quote Link to comment Share on other sites More sharing options...
keat Posted April 21, 2017 Author Share Posted April 21, 2017 yes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.