You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(function_exists('xml_parser_create') &&
version_compare('2.7.0', LIBXML_DOTTED_VERSION) === 1) {
$errors[] = array(
'error' => $l->t('libxml2 2.7.0 is at least required. Currently %s is installed.', [LIBXML_DOTTED_VERSION]),
'hint' => $l->t('To fix this issue update your libxml2 version and restart your web server.')
);
}
There is no check which version is loaded!
"LIBXML_DOTTED_VERSION" is not equal "LIBXML_LOADED_VERSION"
if i edit "/lib/private/util.php"
and change "LIBXML_DOTTED_VERSION" to "LIBXML_LOADED_VERSION" nextcloud started.
I have a Qnap NAS. There is only limited possible to install other software.
so it will be also on devices from other manufacturers.
sorry, my english is to bad. i hope you understand me
Activity
MorrisJobke commentedon Jun 23, 2016
I just checked this. I can't find any documentation for this constant in http://php.net/manual/en/libxml.constants.php
But a local test showed, that it is available:
It looks like the compiled version is older and a newer one is loaded. We also then need to adjust the if statement to something like:
@LukasReschke Does this makes sense? Should there be an additional check?
kasi45 commentedon Jun 23, 2016
"LIBXML_LOADED_VERSION" is a new global constant since PHP 5.3
http://php.net/manual/en/migration53.global-constants.php
MorrisJobke commentedon Jun 23, 2016
Thanks :) I will then try to fix this :)
libxml - compare against loaded version
MorrisJobke commentedon Jul 27, 2016
Fix is in #612
libxml - compare against loaded version
libxml - compare against loaded version
libxml - compare against loaded version
MorrisJobke commentedon Jul 28, 2016
fixed in master, stable10 and stable9