Advertisement

Unable to login to admin after updating to 5.2

Need help with the Administration of your Joomla! 5.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
User avatar
dagroupinc
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Tue Apr 06, 2010 6:09 pm

Unable to login to admin after updating to 5.2

Post by dagroupinc » Mon Nov 04, 2024 3:41 pm

We're having the same issue since updating our sites to J5.2 — can't log in to the admin.
Last edited by toivo on Thu Jan 09, 2025 10:51 pm, edited 1 time in total.
Reason: mod note: split from someone else's unrelated topic - please create your own topics in the future!

Advertisement
User avatar
dagroupinc
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Tue Apr 06, 2010 6:09 pm

Re: Unable to login to joomla admin

Post by dagroupinc » Mon Nov 04, 2024 3:59 pm

sorry — actually only one website. I enter my super admin credentials and the log in button doesnt do anything.
Last edited by dagroupinc on Mon Nov 04, 2024 4:38 pm, edited 2 times in total.

User avatar
dagroupinc
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Tue Apr 06, 2010 6:09 pm

Re: Unable to login to joomla admin

Post by dagroupinc » Mon Nov 04, 2024 4:37 pm

Inspector is showing this error:

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.

If you absolutely must: you can enable string evaluation by adding unsafe-eval as an allowed source in a script-src directive.

⚠️ Allowing string evaluation comes at the risk of inline script injection.

1 directive

Directive Status
script-src blocked

User avatar
dagroupinc
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Tue Apr 06, 2010 6:09 pm

Re: Unable to login to joomla admin

Post by dagroupinc » Mon Nov 04, 2024 9:16 pm

FYI—For me at least it was an htaccess issue. Fixed now.

User avatar
dagroupinc
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Tue Apr 06, 2010 6:09 pm

Re: Unable to login to joomla admin

Post by dagroupinc » Thu Jan 09, 2025 5:21 pm

UGH — This is happening again and the admin Log In button doesn't function. We've replaced the htaccess file and checked the config file. Running J5.2.2 since Dec 1, 2024 with no issue until we tried admin access to the site on 1/6

User avatar
dagroupinc
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Tue Apr 06, 2010 6:09 pm

Unable to login to joomla admin

Post by dagroupinc » Thu Jan 09, 2025 5:31 pm

UPDATE:

• Joomla Docs say J5.2.2 is compitable with PHP v8.1 and newer
• Our J5.2.2 site is using PHP v8.2.27
• When we switch to PHP v8.3.15 . . .

We can now log in.

Bug? Anyone else?
Last edited by toivo on Thu Jan 09, 2025 10:54 pm, edited 1 time in total.
Reason: mod note: merged with the current topic

Advertisement

Post Reply

Return to “Administration Joomla! 5.x”