Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joomla 5.2.2 and PHP v8.2.x compatibility issue? #44711

Open
dagroupinc opened this issue Jan 9, 2025 · 5 comments
Open

Joomla 5.2.2 and PHP v8.2.x compatibility issue? #44711

dagroupinc opened this issue Jan 9, 2025 · 5 comments

Comments

@dagroupinc
Copy link

Steps to reproduce the issue

  1. Log In to Joomla Admin

Expected result

Ability to log in

Actual result

When clicking on Log In button, nothing happens

Device and system info

  • What version of Joomla were you using?
    5.2.2

  • What device were you using? (eg, phone, laptop)
    Desktop (iMac)

  • What web browser were you using? (eg, Chrome, Safari)
    Chrome

  • If you were using assistive technology, please let us know the device or software you were using (eg VoiceOver, JAWS, sip-and-puff device, etc)

Additional comments

Website running on Siteground with PHP 8.2.27
Changed PHP to 8.3.15 and the admin Log In works

Joomla documentation states that v5.2.2 should work with PHP v8.1 or newer

If you know which WCAG or ATAG criteria this violates, please indicate it here:

@dagroupinc dagroupinc added the a11y Accessibility label Jan 9, 2025
@chmst chmst removed the a11y Accessibility label Jan 10, 2025
@chmst
Copy link
Contributor

chmst commented Jan 10, 2025

This is a misunderstanding. Accessibility (a11y) means that everyone can use a website, it is not about login.

@dagroupinc
Copy link
Author

This issue isn't about 'accessibility'. This is about the ADMIN "Log In" button not functioning with PHP 8.2 active and a Joomla 5.2 website — as soon as we change the server to PHP 8.3 the "Log In" button functions and we can login to the admin side of Joomla.

@brianteeman
Copy link
Contributor

brianteeman commented Jan 10, 2025

@dagroupinc you created the issue using the accessibility template - thats why @chmst commented in that way.

Image

The problem is most likely that your host has misconfigured that version of php.

When using the faulty version of php check in your browser console to see if there are any errors

@richard67
Copy link
Member

Our automated system tests are executed for PHP 8.2 as well as 8.3, and they include a test of the admin login, so if there was a general issue with PHP 8.2 we would know that and there would have been a lot of issues reported in past. Therefore I doubt that the core has a general issue and I assume it might be something special with the server environment.

@dagroupinc
Copy link
Author

Got it. Site is on Siteground along with some of our other clients who haven't experienced the issue. However we do see the following on all our J5.2 sites irregardles of the version of PHP:

The Content Security Policy (CSP) prevents the evaluation of arbitrary strings as JavaScript to make it more difficult for an attacker to inject unathorized code on your site.
To solve this issue, avoid using eval(), new Function(), setTimeout([string], ...) and setInterval([string], ...) for evaluating strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants