Joomla 安裝語言出現 Error connecting to the server: 303 錯誤

  在 Joomla 4 的測試環境上安裝語言時會跳出以下錯誤

Error connecting to the server: 303

Invalid URL
Unable to find install package.

 

  另如果在 Extensions 頁面透過Install from Web來安裝 Extension則會出現下列錯誤

An error has occurred.
utf8_decode(): Argument #1 ($string) must be of type string, array given

 

  雖然直覺這問題是跟 Joomla 本身要開啟網址發生異常有關但始終找不到癥結點上網爬文也無所斬獲今天試著檢視 php.ini 的所有 extension判斷如果跟網址或 SSL 可能有關就把該 Extension 啟用看看運氣很好的找到了關鍵元件—— curl.dll

 

◎ 在 php.ini 搜尋extension=curl”,將前面的 “;” 註解刪除重啟 Apache 即可

 

  之後比對了一下舊環境的設定確實有啟用 curl只是我在後面註明這是 for BookStack 系統因此我才沒有在新環境啟用它現在看來應該是 BookStack 跟 Joomla 都有需要使用而我誤以為只有 BookStack 需要了

 

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.