User tests: Successful: Unsuccessful:
PR for #29425
This is a real edge case discovered by @Fedik #29425 (comment)
libxml is enabled by default when compiling php and it cannot be disabled etc in a php.ini
The check I have put in place is the same one that myBB uses for the same issue.
The only questions are
Status | New | ⇒ | Pending |
Category | ⇒ | Installation |
@brianteeman can you fix the cs plz
maybe better to place it in installation/includes/app.php
or even installation/index.php
with some nice message like:
joomla-cms/installation/index.php
Lines 20 to 26 in 77bcd71
I think that the check needs to be in the Initial checks (compatibility layer)
The problem the App does not even start if xml
not available ;)
upd: the text in templates/system/incompatible.html
can be updated to show more info, than just minimum php version
maybe better to place it in installation/includes/app.php or even installation/index.php
Since all the checks from the Model could end up being foobar if any of these fail I guess beefing up these files is a more realistic approach. Yeah I know the code will end up being god awful but functional code is better than beautiful non functional code.
My 2c
Labels |
Added:
?
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-02-03 19:32:00 |
Closed_By | ⇒ | brianteeman |
@brianteeman although this would work I think that the check needs to be in the Initial checks (compatibility layer):
joomla-cms/installation/src/Model/ChecksModel.php
Line 66 in 77bcd71
Also that would result to a better error view