?
avatar chmst
chmst
7 Jul 2021

Steps to reproduce the issue

Update a J4 - in this case from RC2 to RC4 on a webspace where allow_url_fopen = 0

If allow_url_fopen = 0 the update starts with a warning:

Expected result

If this is an error, then the pre_check should show it, otherwise no warning

Actual result

Warning: get_headers(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in
administrator/components/com_joomlaupdate/Model/UpdateModel.php on line 300

System information (as much as possible)

After setting allo_url_fopen to 1:

grafik

Additional comments

avatar chmst chmst - open - 7 Jul 2021
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jul 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Jul 2021
avatar chmst chmst - change - 8 Jul 2021
The description was changed
avatar chmst chmst - edited - 8 Jul 2021
avatar chmst chmst - edited - 8 Jul 2021
avatar brianteeman
brianteeman - comment - 9 Jul 2021

You should have received a nice warning
JLIB_UPDATER_ERROR_COLLECTION_FOPEN="The PHP allow_url_fopen setting is disabled. This setting must be enabled for the updater to work."

avatar wilsonge
wilsonge - comment - 13 Jul 2021

You should. However that string is unused by core :D

avatar chmst chmst - change - 13 Jul 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-07-13 20:46:55
Closed_By chmst
avatar chmst chmst - close - 13 Jul 2021
avatar chmst
chmst - comment - 13 Jul 2021

With the newest code from github I cannot reproduce the issue. So closing this now.

Add a Comment

Login with GitHub to post a comment