f I try to install an unstable release, eg the one pulled from moodle github, I get this error:
The localhost page isn’t working |
localhost didn’t send any data. |
ERR_EMPTY_RESPONSE
|
My env:
ubuntu 16.04, apache2, php7 as apache module, mariadb
The problem is in
admin/renderer.php
protected function maturity_warning($maturity) { |
if ($maturity == MATURITY_STABLE) { |
return ''; // No worries. |
} |
$maturitylevel = get_string('maturity' . $maturity, 'admin'); |
return $this->warning( |
$this->container(get_string('maturitycorewarning', 'admin', $maturitylevel)) . |
$this->container($this->doc_link('admin/versions', get_string('morehelp'))), |
'error'); |
}
|
I really don't know why, but it works if I change it like this, basically just exploding it in many instructions...
protected function maturity_warning($maturity) { |
if ($maturity == MATURITY_STABLE) { |
return ''; // No worries. |
} |
$maturitylevel = get_string('maturity' . $maturity, 'admin'); |
$string1 = get_string('maturitycorewarning', 'admin', $maturitylevel); |
$string2 = get_string('morehelp'); |
$var1 = $this->container($string1); |
$prm1 = $this->doc_link('admin/versions', $string2); |
$var2 = $this->container($prm1); |
return $this->warning($var1 . $var2,'error'); |
} |
I found this error in the log
[Thu Jul 21 15:55:37.628035 2016] [core:notice] [pid 2129] AH00051: child pid 27418 exit signal Segmentation fault (11), possible coredump in /etc/apache2