Joomla Language Pack Installation Shows Can't Connect to .xml

Recently, I set up a new Joomla 4 test website,I encountered some minor issues during the setup process,so I decided to organize them into an article。On the 'Install Languages' page in the control panel,the following error message appears:

Can't connect to https://update.joomla.org/language/translationlist_4.xml

 

  依照上次「Joomla 無法更新 – 出現”無法打開更新網站”的錯誤訊息」的經驗直覺應該又是與 SSL 元件有關係但這次直接執行 httpd 時卻不像上次一樣有錯誤訊息後來上網爬文依序檢查相關元件總算找到這次問題是出在 php.ini 裡的 openssl 設定導致

 


◎ 開啟 php.ini,搜尋 “extension=openssl”,Remove the semicolon comment at the beginning and save the file。

 

◎ Then re-enter the 'Install Languages' page,It should display properly。

 

Actually, besides openssl,It is also recommended to check if allow_url_fopen is enabled,If it is Off,Change it to On,You can turn it off again after the update。Keeping allow_url_fopen Off is safer normally,For details, refer to網站伺服器出現 php***.tmp 的木馬檔」這篇。

 

【參考連結】

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.