Skip to content

OJS Login Not Working: When You’re Locked Out of Your Own Journal

OJS Bugs 2 min read Updated
On this page
  1. OJS Login Not Working: When You’re Locked Out of Your Own Journal
  2. What This Error Means
  3. Common Causes
  4. Quick Check
  5. Why This Error Is Serious
  6. Our Solution

OJS Login Not Working: When You’re Locked Out of Your Own Journal

You enter your credentials and the page either reloads silently, throws an error, or logs you out immediately after logging in. For journal managers and editors, being locked out of the admin panel means all editorial work stops. For authors, it means they can’t track or complete their submissions.

What This Error Means

OJS login failure usually means the session isn’t being created or persisted correctly, the user record is misconfigured in the database, or authentication is failing due to password hash issues—often after a migration or upgrade. In some cases, the account exists but the role assignment is broken.

Common Causes

  • PHP session directory not writable—sessions fail silently
  • Incorrect base_url in config.inc.php causing cookie domain mismatch
  • After an OJS upgrade, password hashes in the database didn’t migrate correctly
  • Browser cookies blocked or cleared mid-session
  • Two-factor authentication plugin enabled but email not arriving (see Email article above)
  • Account disabled or user role removed accidentally
  • Reverse proxy or CDN stripping session cookies before they reach the server
  • Exceeded login attempts triggering account lockout

Quick Check

First, try a different browser or incognito mode to rule out browser-side cookie issues. Then verify base_url in config.inc.php exactly matches the URL you’re using (including https:// vs http:// and trailing slashes):

Code
[general]
base_url = "https://yourjournal.com"

A mismatch here is the most common cause of “login loops.” Also check that your PHP session path is writable:

bash

Code
php -r "echo session_save_path();"
ls -la /path/to/session/dir

Why This Error Is Serious

  • Editorial standstill: Editors and managers cannot access any journal functions
  • Submission abandonment: Authors locked out during submission won’t retry—they submit elsewhere
  • Security concern: Repeated failed logins may indicate a compromised account or brute-force attempt
  • Deadline impact: Login failures during submission or revision windows cause irreversible workflow delays
  • No self-recovery: Unlike most bugs, a lockout prevents you from even reaching the settings to fix it

Locked Out of OJS? We’ll Get You Back In

We resolve OJS authentication issues including login loops, password hash problems, and session failures.

Unlock My Access →

Trusted by 200+ academic journals worldwide

Our Solution

We access your journal at the server and database level to diagnose the authentication issue, fix session configuration, correct base URL mismatches, and restore admin access safely. If the issue is a corrupted user record after an upgrade, we repair it directly in the database without affecting submission or publication data.

Altechmind Technologies specializes in OJS configuration, migration, and troubleshooting. View all OJS services →

Last updated on February 21, 2026

Was this article helpful?