LOGOUT problem with new Joomla 4.0.3 installation
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
LOGOUT problem with new Joomla 4.0.3 installation
Weird issue with frontend
Clean installation of joomla (uploaded files, created bd etc). Went fine!
Created a new menu item of "User Profile" type just for testing purposes.
After installation i login as admin (frontend)
Both menus... home and User Profile work fine for some time. They take me to the right places.
Then i logout, relogin and stay at the home page.
I hit on ctrl + F5 (refresh) after 5 sec.
The site logs me out!
Tried again...
I login again.
CTRL + F5 works for one time. I am still connected.
CTRL + F5 again logs me out.
Can someone please advise?
I have uninstalled and installed joomla 4 times so far. Always the same problem.
Clean installation of joomla (uploaded files, created bd etc). Went fine!
Created a new menu item of "User Profile" type just for testing purposes.
After installation i login as admin (frontend)
Both menus... home and User Profile work fine for some time. They take me to the right places.
Then i logout, relogin and stay at the home page.
I hit on ctrl + F5 (refresh) after 5 sec.
The site logs me out!
Tried again...
I login again.
CTRL + F5 works for one time. I am still connected.
CTRL + F5 again logs me out.
Can someone please advise?
I have uninstalled and installed joomla 4 times so far. Always the same problem.
Last edited by imanickam on Fri Sep 24, 2021 3:31 pm, edited 1 time in total.
Reason: Corrected the version number mentioned in the Subject
Reason: Corrected the version number mentioned in the Subject
-
- Joomla! Explorer
- Posts: 343
- Joined: Fri Aug 19, 2005 12:12 pm
- Location: Out of my mind ...sometimes
Re: LOGOUT problem with new Joomla 4.3 installation
What's your database?
MySQL or MariaDB?
MySQL or MariaDB?
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
-
- Joomla! Champion
- Posts: 5950
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: LOGOUT problem with new Joomla 4.3 installation
@ Liaskas MySqli is the db connector not the DB type.
https://gadsolutions.biz Electrical services
https://electrical-testing-safety.co.uk Testing services
https://electrical-testing-safety.co.uk Testing services
- Webdongle
- Joomla! Master
- Posts: 44089
- Joined: Sat Apr 05, 2008 9:58 pm
Re: LOGOUT problem with new Joomla 4.3 installation
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
Re: LOGOUT problem with new Joomla 4.0.3 installation
Database Type mysql
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: LOGOUT problem with new Joomla 4.0.3 installation
I cannot reproduce this. From where did you obtain the J! 4 installation package (that you have installed several times)? What web browser are you using to click CTRL+F5?
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
Re: LOGOUT problem with new Joomla 4.0.3 installation
Downloaded joomla Joomla_4.0.3-Stable-Full_Package.zip from joomla.org
I have tested with firefox and chrome. Same result with both browsers.
Something i forgot to mention.
I am installing joomla in a subdirectory (do not know if this may be related)
https://domain.com/new
I have tested with firefox and chrome. Same result with both browsers.
Something i forgot to mention.
I am installing joomla in a subdirectory (do not know if this may be related)
https://domain.com/new
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: LOGOUT problem with new Joomla 4.0.3 installation
Yes, installing J! in a sub-folder of another J! website is "related". Depends on whether you made the necessary .htaccess changes to allow things to work. Did you read the information in the documentation about installing J! in a sub-folder of another website?
Are the two websites sharing the same database tables? Are you using the database to manage user sessions?
Are the two websites sharing the same database tables? Are you using the database to manage user sessions?
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
Re: LOGOUT problem with new Joomla 4.0.3 installation
There is no relation at all between the two joomla installations.
Different database...
.htaccess of the installation that has the problem is the default that comes with the joomla installation
I am talking about a completely different site installed in a subdirectory.
Different database...
.htaccess of the installation that has the problem is the default that comes with the joomla installation
I am talking about a completely different site installed in a subdirectory.
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: LOGOUT problem with new Joomla 4.0.3 installation
Are you using a .htaccess file in the sub-folder?
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
Re: LOGOUT problem with new Joomla 4.0.3 installation
Yes... renamed the htaccess.txt to .htaccess
Settings in configuration...
Search Engine Friendly URLs -> Yes
Use URL Rewriting -> Yes
I also see that with Chrome i can not login as Admin to backend. It gives the following all the time...
The security token did not match. The request was aborted to prevent any security breach. Please try again.
With firefox i can login to backend.
Settings in configuration...
Search Engine Friendly URLs -> Yes
Use URL Rewriting -> Yes
I also see that with Chrome i can not login as Admin to backend. It gives the following all the time...
The security token did not match. The request was aborted to prevent any security breach. Please try again.
With firefox i can login to backend.
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: LOGOUT problem with new Joomla 4.0.3 installation
OK. There's nothing particularly wrong with installing J! in a sub-folder of another J! website—you just need to be a bit more careful—and I don't do that myself. I always create a separate folder: one folder for each website. (I even create a separate database for each website!)
Look at lines 84-90 of your .htaccess file in the sub-folder's "root". See the instructions?
Lastly: what are you using for System » Global Configuration » System » Session Handler
Look at lines 84-90 of your .htaccess file in the sub-folder's "root". See the instructions?
Lastly: what are you using for System » Global Configuration » System » Session Handler
-
- Joomla! Apprentice
- Posts: 13
- Joined: Fri Dec 08, 2006 9:28 am
Re: LOGOUT problem with new Joomla 4.0.3 installation
Lines 84-90 of your .htaccess file
##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
The following line is # RewriteBase /
Uncommented RewriteBase. Nothing changed.
With RewriteBase uncommented i disabled "Search Engine Friendly URLs".
Now i can change pages using the menu items without losing connection. But still... page refresh logs me out.
Session handler is database. Tested also Files but it has the same problem.
##
# Uncomment the following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
The following line is # RewriteBase /
Uncommented RewriteBase. Nothing changed.
With RewriteBase uncommented i disabled "Search Engine Friendly URLs".
Now i can change pages using the menu items without losing connection. But still... page refresh logs me out.
Session handler is database. Tested also Files but it has the same problem.
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: LOGOUT problem with new Joomla 4.0.3 installation
Thanks. Change Session Handler = Filesystem. Pressing F5 (or CTRL+F5) should not log you out.
We may find some other reason why your website is not working if you use the Forum Post Assistant and post the report here.
We may find some other reason why your website is not working if you use the Forum Post Assistant and post the report here.
- Webdongle
- Joomla! Master
- Posts: 44089
- Joined: Sat Apr 05, 2008 9:58 pm
Re: LOGOUT problem with new Joomla 4.0.3 installation
If you uncommented #RewriteBase /
Did you add the subdirectory to the path?
e.g.
RewriteBase /subdirectory
Or perhaps you added the the path without uncommenting?
Make sure the livesite var (in configuration.php) is not given a value in any of the folders
N.B.
If the site (in the subdirectory) has been created as a sub domain then it is root (/) of the subdomain not root path (/subdirectory).
Did you add the subdirectory to the path?
e.g.
RewriteBase /subdirectory
Or perhaps you added the the path without uncommenting?
Make sure the livesite var (in configuration.php) is not given a value in any of the folders
N.B.
If the site (in the subdirectory) has been created as a sub domain then it is root (/) of the subdomain not root path (/subdirectory).
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".