Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1026

Migrating and Upgrading to Joomla! 5.x • Joomla 4.4.9 to 5.2.1: Admin Panel Stuck in Refresh Loop (Solved)

$
0
0
Hello,

I am posting this because I ran into an "admin loop" after upgrading from 4.4.9 to 5.2.1, and after hours of research/guess/tests, finally it's solved.

I upgraded by following the Joomla documentation: https://docs.joomla.org/Joomla_4.4.x_to ... ep_by_Step

The upgrade went well, no error message.

All ok on the front-end.

But not in the backend: when logging as admin (superuser), the admin panel started without notifications but quite immediately, it started an "infinite refresh loop", going back to the first page, the initial "admin panel". In other words: no login problem as superuser, admin home page, clicking on any menu item within the admin panel opens the page, but after one or two seconds you have a kind of redirect, going back to the first admin page. No chance to use the admin panel to check/change your configuration.

After hours searching for a quick fix, I went through old posts (solutions from older Joomla versions, e.g. Joomla 1.5) and to sum it up, it was about:

- Clear all caches
- Use phpMyAdmin because admin is not usable, stuck in a refresh loop
- Delete Joomla sessions
- Enable com_login, com_users, plg_user_joomla, plg_authentication_joomla & plg_authentication_cookie
- Check configuration.php for public $live_site, public $cookie_domain & public $cookie_path, all should be ='';
- Also in configuration.php, remove any whitespace or linebreak before "?>" or after <?php, and set session_lifetime to 15
- In php.ini, check that session_save_path is ok, writeable, and also set session.use_cookies = 1
- Check folders and files permissions for tmp and logs files
- Try a different PHP version

I did all of that and nothing stopped the "admin refresh loop".

As a last resort before reinstalling Joomla, I decided to investigate the .htaccess file.

I made a local copy and then deleted all content within the live .htaccess file on the server.

As a result, when logging in as admin, I got what I think is a "Guided Tour" introducing the new features in Joomla 5.2.1.
Once this tour completed, the admin panel functioned normally without any refresh loop.
I then logged out, restored the original lines back into the .htaccess file, cleared the server cache, and logged in again => solved!

I don't know what happened and why, but I hope this will help.

Statistics: Posted by StoneFree — Sun Nov 17, 2024 10:56 pm



Viewing all articles
Browse latest Browse all 1026

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>