Alright, I got it to work now, after a bit of hacking in the blind :)
This is what needed to be done.
In
Administrator - Components - com_sef - admin.sef.html.php :
Find the line:
$versions = @file_get_contents($sefConfig->serverNewVersionURL);
and comment it out by adding two slashes // before it .
Then, add, at that place, the following:
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $sefConfig->serverNewVersionURL);
$versions = curl_exec($ch);
curl_close($ch);
Save and upload. Then find the next file:
Administrator - Components - com_sef - installer - upgrade.php :
Find the line
$upgradeFile = @file_get_contents($sefConfig->serverUpgradeURL);
and comment it out by adding two slashes // before it .
Then, add, at that place, the following:
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, $sefConfig->serverUpgradeURL);
$upgradeFile = curl_exec($ch);
curl_close($ch);
Then, two lines further down, you'll find:
$upgradeFile = @file_get_contents(dirname($sefConfig->serverUpgradeURL).'/'.$extension.'.zip');
Comment it out by adding two slashes // before it .
Then, add, at that place, the following:
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_URL, dirname($sefConfig->serverUpgradeURL).'/'.$extension.'.zip');
$upgradeFile = curl_exec($ch);
curl_close($ch);
Save and upload. Done. The automatic upgrade works! Wow!