No Code Attached Yet
avatar tchaddad
tchaddad
1 Nov 2024

Steps to reproduce the issue

Expected result

  • Notifications Message : Joomla is up to date
  • no other errors reported (because it is a clean install)

Actual result

Image

System information (as much as possible)

  • Windows Server 2016
  • Apache 2.4.57
  • MySQL 9.0 (database collation utf8mb4_unicode_ci)
  • PHP 8.2.11

Additional comments

Web Developer Tools shows me that this is the request that causes the error:

XHRGET
https://www.example.com/administrator/index.php?option=com_installer&view=update&task=update.ajax&ea418c76a32a17c81b0ebcaf26aea39f=1&cache_timeout=3600&eid=0&skip=240
[HTTP/1.1 500 Internal Server Error 32249ms]

But unfortunately I'm not seeing any more detailed information in the Apache logs.

If I click on "Unknown Extensions..." message, I eventually get this error:

Image

Since this is a totally clean install I thought I should ask if there are PHP ini settings or other things I should be setting / checking. If I can provide any additional information please let me know.

[Note: this same server has been successfully hosting a Joomla 4.x site for several months, and this was my first attempt to create a Joomla 5 install. I only mention this for context about the server itself]

avatar tchaddad tchaddad - open - 1 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 1 Nov 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Nov 2024
avatar tchaddad
tchaddad - comment - 1 Nov 2024

I noticed in #43287 (comment) that PHP Sodium is possibly necessary for Joomla 5.1+, and I indeed do not have it in my PHP installation.

Can someone confirm if this is the likely cause of my issue?

avatar richard67
richard67 - comment - 1 Nov 2024

I noticed in #43287 (comment) that PHP Sodium is possibly necessary for Joomla 5.1+, and I indeed do not have it in my PHP installation.

Can someone confirm if this is the likely cause of my issue?

@tchaddad As that comment says, Joomla itself doesn’t require that, and it could be possibly a bug in the upstream library.

Could you at least enable it for a check to see if it helps?

@SniperSister Any news about that?

avatar tchaddad tchaddad - change - 1 Nov 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-11-01 19:17:17
Closed_By tchaddad
avatar tchaddad tchaddad - close - 1 Nov 2024
avatar tchaddad
tchaddad - comment - 1 Nov 2024

Thanks @richard67 - I had to go digging to find sources for both php_sodium.dll and then libsodium.dll, as I had neither in my PHP install initially. Once both were available, the Notifications resolved and the other error also is not triggered:
Image

So I guess for PHP on Windows, it is somewhat necessary to have PHP Sodium for Joomla 5.2. Hopefully this helps anyone else in that situation with finding a solution.

Add a Comment

Login with GitHub to post a comment