Fresh Joomla! 4 install - Keeps logging out of Admin Topic is solved

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

Moderator: General Support Moderators

Forum rules
Post Reply
User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 7:15 am

Hi Guys

I have really searched hard for a solution but am unable to find a proper one for this.

I have been using Joomla! 3 for many websites, no issue. Same servers all the time.

After installing a fresh version of Joomla! 4 I am logged out and have to login again into the admin backend every time I try to do anything.

I installed Jooma! using Softaculous, then I tried by installing the software download... same issue. Reverting to Joomla! 3.10.1.. no issue.

Joomla! version : 4.02
PHP Version: 7.3 and 7.4 (tried both)

Any ideas will be greatly appreciated.

Regards

Joe
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 7:21 am

I'm just trying to interpret the problem from the subject line.

Are you saying that you can login to your brand-new/I-didn't-do-anything-to-it/third-party-scripted-installation J! 4 website ... for a few seconds/minutes and then you're unexpectedly logged out? Does that sound like a quick statement of the problem?

Or are you saying that you updated a third-party-scripted-installation J! 3.10 website, didn't do anything to it except update it to J! 4, and now you've got problems? Or are you saying that you created a brand new J! 3.10 website and you did not use the "Live Update" function of the Joomla! Update component to update the website to J! 4.0 and now you have problems?

I'm only trying to understand how you arrived at the destination that you're now located. :)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 7:28 am

It is a fresh install of Joomla! 4 not an upgrade.

Yes I am able to log in but I get logged out again and have to login again..

I will be able to move around between menus but after a few seconds I get logged out again when I click on the next thing.

I am able to log back in but then I just get logged out again.

"Are you saying that you can login to your brand-new/I-didn't-do-anything-to-it/third-party-scripted-installation J! 4 website ... for a few seconds/minutes and then you're unexpectedly logged out? Does that sound like a quick statement of the problem?"... Yes :)
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 7:31 am

Thanks for your reply.

OK. If it's a brand new website, created where no previous website existed using J! 4.0.2 as the starting point, then you can't attempt to "revert to J! 3.10". So let's eliminate that as a potential opportunity. (Sure, you can delete the J! 4 filesystem, DROP the existing database tables, and start all over with a fresh J! 3.10 website, but that's not the same thing as "reverting" is it?) :)

The next question is how did you create this J! 4.0.2 website. You mentioned Softactulous; is that the tool you used to create the "fresh" J! 4 website?
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 7:47 am

Hi Sozzled.. 1st thank you for taking the time to try and assist :)

By "revert" I meant I uninstalled Joomla! 4 and re-installed Joomla! 3

Yes I installed Joomla! 4 using Softaculous. Then I thought that it might be the reason for the issue and uninstalled it.

I then installed Joomla! 4 again using the conventional method of uploading the files, creating the database etc. but got the same result.

Note that I have not even started building the site nor did I install any 3rd party plugins or modules or components yet.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 7:56 am

Thanks for your reply. I'm much better informed now than when I was half-an-hour ago. :D

First things first: I'm very happy that you binned your webhosting provider's "quickie installation" method and went with the traditional/conservative/tried-and-true approach. You can give yourself a few brownie points for that. :)

Let's explore the mysterious login-but-then-unexpectedly-logout matter. My guess (and this is a wild stab in the dark) is that there's something peculiar happening with the way you've defined how sessions are handled. A really good idea to identify probable causes is to use the Forum Post Assistant tool. Have you heard of this before? :)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 8:15 am

I must confess I have indeed heard of this tool but unfortunately never used it before (8 years). :D

I did however check up on it and I ran it.

There is one error I saw that may be the culprit but I do not know what to do about it:

Last Known PHP Error
[30-Aug-2021 10:03:41 Europe/Rome] PHP Notice: Constant PASSWORD_DEFAULT already defined in /home/***/public_html/update_pass.php on line 17
Last edited by Joe_SA on Mon Aug 30, 2021 8:19 am, edited 1 time in total.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 8:17 am

Forum Post Assistant (v1.6.2) : 30-Aug-2021 wrote:
Last PHP Error(s) Reported :: wrote:[30-Aug-2021 10:03:41 Europe/Rome] PHP Notice: Constant PASSWORD_DEFAULT already defined in /home/joomtuto/public_html/update_pass.php on line 17
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.0.2-Stable (Furaha) 24-August-2021
Joomla! Configured :: Yes | Writable (644) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: N/A | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.0.2: Yes | Database Supports J! 4.0.2: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.44.3.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 269.80 GiB |

PHP Configuration :: Version: 7.4.22 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: 30th August 2021 10:03:41. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 300 | Max. Execution Time: 300 | Memory Limit: 256M

Database Configuration :: Version: 5.5.5-10.3.30-MariaDB-cll-lve (Client:mysqlnd 7.4.22) | Database Size: 4.09 MiB | #of Tables with config prefix:  69 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.22) | date (7.4.22) | libxml (7.4.22) | openssl (7.4.22) | pcre (7.4.22) | zlib (7.4.22) | filter (7.4.22) | hash (7.4.22) | Reflection (7.4.22) | SPL (7.4.22) | session (7.4.22) | standard (7.4.22) | litespeed () | bcmath (7.4.22) | bz2 (7.4.22) | calendar (7.4.22) | ctype (7.4.22) | curl (7.4.22) | dba (7.4.22) | dom (20031129) | enchant (7.4.22) | mbstring (7.4.22) | fileinfo (7.4.22) | ftp (7.4.22) | gd (7.4.22) | gettext (7.4.22) | gmp (7.4.22) | iconv (7.4.22) | imap (7.4.22) | intl (7.4.22) | json (7.4.22) | ldap (7.4.22) | exif (7.4.22) | mysqlnd (mysqlnd 7.4.22) | odbc (7.4.22) | PDO (7.4.22) | pgsql (7.4.22) | Phar (7.4.22) | posix (7.4.22) | pspell (7.4.22) | shmop (7.4.22) | SimpleXML (7.4.22) | snmp (7.4.22) | soap (7.4.22) | sockets (7.4.22) | sqlite3 (7.4.22) | sysvmsg (7.4.22) | sysvsem (7.4.22) | sysvshm (7.4.22) | tidy (7.4.22) | tokenizer (7.4.22) | xml (7.4.22) | xmlwriter (7.4.22) | xsl (7.4.22) | zip (1.15.6) | mysqli (7.4.22) | pdo_mysql (7.4.22) | PDO_ODBC (7.4.22) | pdo_pgsql (7.4.22) | pdo_sqlite (7.4.22) | xmlreader (7.4.22) | xmlrpc (7.4.22) | redis (5.3.2) | ionCube Loader (10.4.5) | Zend OPcache (7.4.22) | Zend Engine (3.4.0) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (777) | components/ (777) | modules/ (777) | plugins/ (777) | language/ (777) | templates/ (777) | cache/ (777) | logs/ (---) | tmp/ (777) | administrator/components/ (777) | administrator/modules/ (777) | administrator/language/ (777) | administrator/templates/ (777) | administrator/logs/ (777) |

Elevated Permissions (First 10) :: administrator/cache/ (777) | administrator/components/ (777) | administrator/language/ (777) | administrator/language/en-GB/ (777) | administrator/language/overrides/ (777) | administrator/manifests/libraries/ (777) | administrator/modules/ (777) | api/ (777) | api/language/ (777) | components/ (777) |
Database Information :: wrote:Database statistics :: Uptime: 323748 | Threads: 58 | Questions: 40203047 | Slow queries: 0 | Opens: 16139 | Flush tables: 1 | Open tables: 13967 | Queries per second avg: 124.180 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_cache (4.0.0) 1 | com_login (4.0.0) 1 | com_checkin (4.0.0) 1 | com_users (4.0.0) 1 | com_tags (4.0.0) 1 | com_banners (4.0.0) 1 | com_config (4.0.0) 1 | com_menus (4.0.0) 1 | com_categories (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_fields (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_installer (4.0.0) 1 | com_templates (4.0.0) 1 | com_privacy (3.9.0) 1 | com_workflow (4.0.0) 1 | com_languages (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_plugins (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_media (3.0.0) 1 | com_messages (4.0.0) 1 | com_modules (4.0.0) 1 | com_content (4.0.0) 1 | com_ajax (4.0.0) 1 | com_joomlaupdate (4.0.2) 1 | com_mails (4.0.0) 1 | com_admin (4.0.0) 1 | com_redirect (4.0.0) 1 | com_associations (4.0.0) 1 | com_finder (4.0.0) 1 |
3rd Party::

Modules :: Site ::
Core :: mod_login (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_archive (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_popular (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_articles_categories (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party::

Modules :: Admin ::
Core :: mod_privacy_dashboard (3.9.0) 1 | mod_login (3.0.0) 1 | mod_title (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_user (4.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_custom (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_version (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_popular (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_latest (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_system_webauthn (4.0.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_actionlogs (3.9.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_skipto (4.0.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_finder (3.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_installer_override (4.0.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 |
3rd Party:: plg_editors_codemirror (5.62.2) 1 | plg_editors_tinymce (5.8.2) 1 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 8:22 am

I haven't encountered the "Constant PASSWORD_DEFAULT" issue before. Are you using en-GB as the default back- and frontend languages?

There's no point in posting "the link"; that's not how people should use the FPA. The instructions for use are contained in https://forumpostassistant.github.io/docs/ (and, in my not humble opinion, there should be a reference in the "pink area" to this tool in this forum as there is on most of the other forum categories).
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 8:25 am

Yes I am.

As I said this is totally a fresh install without any changes to any settings yet.

Out of the box.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 8:27 am

The FPA report looks pretty tidy to me. The only other change I would recommend is to not use Session handler = Database, use "Filesystem" instead.

The folder/file permissions look a bit "generous" but those shouldn't be what's causing the mysterious premature end-of-session.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 8:30 am

Tried the Filesystem as session handler.. same result.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 8:38 am

Yeah, I thought it might be the same. :(

I have to run up the white flag with this, my friend. Evidently there's something odd with the "already defined Constant" and Google hasn't turned up any insight into how this may have crept into J! 4. I think it would be wisest to ask the people who created the file update_pass.php but, again, Google hasn't shown me who wrote that piece of software.

I don't see where update_pass.php is used by J! (by any version(s) of it). That's the villain in the caper; find out where/how update_pass.php insinuated itself into the software soup and you've probably solved the problem ... well, you'll be further advanced than you are at the moment. ;)
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 8:41 am

Thank you very much for trying brother.

I have also searched the old Google without any success... tough one.

Maybe this post will conjure up some solution eventually.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Mon Aug 30, 2021 8:48 am

I looked through the files installed by J! 4.0.2. There is no update_pass.php included in the distribution kit. This begs the question, where does it come from in your case ... and why it it there?
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 8:55 am

It does indeed beg that question...

Checked the file manager, show hidden files - there is no such a file as: .../public_html/update_pass.php

Yet the issue persists... :(
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12246
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by brian » Mon Aug 30, 2021 11:28 am

1. there is no file in joomla called update_pass.php
2. a clean install of joomla should not have those permissions

I have found two references to a file called update_pass.php
The first is from a WP firewall product called ninjafirewall and the second is from softaculous
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 1:45 pm

The current install was done with Softaculous.

Lemme delete and install from Joomla! files.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 1:56 pm

Forum Post Assistant (v1.6.2) : 30-Aug-2021 wrote:
Last PHP Error(s) Reported :: wrote:[30-Aug-2021 10:03:41 Europe/Rome] PHP Notice: Constant PASSWORD_DEFAULT already defined in /home/joomtuto/public_html/update_pass.php on line 17
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.0.2-Stable (Furaha) 24-August-2021
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.0.2: Yes | Database Supports J! 4.0.2: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.44.3.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 269.92 GiB |

PHP Configuration :: Version: 7.4.22 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: 30th August 2021 10:03:41. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 300 | Max. Execution Time: 300 | Memory Limit: 256M

Database Configuration :: Version: 5.5.5-10.3.30-MariaDB-cll-lve (Client:mysqlnd 7.4.22) | Database Size: 4.02 MiB | #of Tables with config prefix:  69 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.22) | date (7.4.22) | libxml (7.4.22) | openssl (7.4.22) | pcre (7.4.22) | zlib (7.4.22) | filter (7.4.22) | hash (7.4.22) | Reflection (7.4.22) | SPL (7.4.22) | session (7.4.22) | standard (7.4.22) | litespeed () | bcmath (7.4.22) | bz2 (7.4.22) | calendar (7.4.22) | ctype (7.4.22) | curl (7.4.22) | dba (7.4.22) | dom (20031129) | enchant (7.4.22) | mbstring (7.4.22) | fileinfo (7.4.22) | ftp (7.4.22) | gd (7.4.22) | gettext (7.4.22) | gmp (7.4.22) | iconv (7.4.22) | imap (7.4.22) | intl (7.4.22) | json (7.4.22) | ldap (7.4.22) | exif (7.4.22) | mysqlnd (mysqlnd 7.4.22) | odbc (7.4.22) | PDO (7.4.22) | pgsql (7.4.22) | Phar (7.4.22) | posix (7.4.22) | pspell (7.4.22) | shmop (7.4.22) | SimpleXML (7.4.22) | snmp (7.4.22) | soap (7.4.22) | sockets (7.4.22) | sqlite3 (7.4.22) | sysvmsg (7.4.22) | sysvsem (7.4.22) | sysvshm (7.4.22) | tidy (7.4.22) | tokenizer (7.4.22) | xml (7.4.22) | xmlwriter (7.4.22) | xsl (7.4.22) | zip (1.15.6) | mysqli (7.4.22) | pdo_mysql (7.4.22) | PDO_ODBC (7.4.22) | pdo_pgsql (7.4.22) | pdo_sqlite (7.4.22) | xmlreader (7.4.22) | xmlrpc (7.4.22) | redis (5.3.2) | ionCube Loader (10.4.5) | Zend OPcache (7.4.22) | Zend Engine (3.4.0) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 344098 | Threads: 58 | Questions: 43259814 | Slow queries: 0 | Opens: 16760 | Flush tables: 1 | Open tables: 14406 | Queries per second avg: 125.719 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::

Components :: Admin ::
Core :: com_cache (4.0.0) 1 | com_login (4.0.0) 1 | com_checkin (4.0.0) 1 | com_users (4.0.0) 1 | com_tags (4.0.0) 1 | com_banners (4.0.0) 1 | com_config (4.0.0) 1 | com_menus (4.0.0) 1 | com_categories (4.0.0) 1 | com_wrapper (4.0.0) 1 | com_fields (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_installer (4.0.0) 1 | com_templates (4.0.0) 1 | com_privacy (3.9.0) 1 | com_workflow (4.0.0) 1 | com_languages (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_plugins (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_media (3.0.0) 1 | com_messages (4.0.0) 1 | com_modules (4.0.0) 1 | com_content (4.0.0) 1 | com_ajax (4.0.0) 1 | com_joomlaupdate (4.0.2) 1 | com_mails (4.0.0) 1 | com_admin (4.0.0) 1 | com_redirect (4.0.0) 1 | com_associations (4.0.0) 1 | com_finder (4.0.0) 1 |
3rd Party::

Modules :: Site ::
Core :: mod_login (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_archive (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_popular (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_articles_categories (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party::

Modules :: Admin ::
Core :: mod_privacy_dashboard (3.9.0) 1 | mod_login (3.0.0) 1 | mod_title (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_user (4.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_custom (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_version (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_popular (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_latest (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_system_webauthn (4.0.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 0 | plg_system_actionlogs (3.9.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_skipto (4.0.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_logrotation (3.9.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_pagenavigation (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_content_finder (3.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_actionlog_joomla (3.9.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_installer_override (4.0.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 |
3rd Party:: plg_editors_codemirror (5.62.2) 1 | plg_editors_tinymce (5.8.2) 1 |
Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 1:57 pm

brian wrote:
Mon Aug 30, 2021 11:28 am
1. there is no file in joomla called update_pass.php
2. a clean install of joomla should not have those permissions

I have found two references to a file called update_pass.php
The first is from a WP firewall product called ninjafirewall and the second is from softaculous
Joomla! 4.0.2 as downloaded from joomla.org

No plugins, modules or components added yet.

Same result..
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Mon Aug 30, 2021 2:17 pm

Tried to create a user for my server techie and took me seven tries.

I had to be very quick to create one and eventually managed... so it my be that the session times out extremely quick.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Tue Aug 31, 2021 12:36 am

Joe_SA wrote:
Mon Aug 30, 2021 1:45 pm
The current install was done with Softaculous.
Again, at the risk of trying not to sound like "I told you so", I strongly advise against using third-party unofficial "packaged", scripted installations of J! using Fantastico, Softaculous or whatever is the current flavour-of-the-month.

The offerings may be good or they may not. I don't know. I'm very wary of them. We simply don't know what "extra" things may be included in those scripts just as we don't know what things may be missing from those scripts.

In any event, if people are unsure as to the state of their newly-installed, fresh out-of-the box installation of software, the best thing to do is to wipe clean the contents of the filesystem and the database. Doing this may be "tricky" because it's difficult knowing what (and where) extra "features"—unnecessary to the reliable operation of a website on a commercially-run webhosting service—may be located. In those cases it may be helpful to seek the assistance of the technical support services of the webhosting providers and hope that the support staff can answer your questions.

In this particular situation, it has been difficult to establish a base line. Because the test site was initially with an unofficial webhost-developed package of J!, everything thereafter may have been tainted because of that. I'm not criticising the site owner nor am I critical of the webhosting service provider. These things happen.

@Joe_SA: your J! 4 website should not behave like it is. I can say, with my hand on my heart, that I have used J! 4 in a couple of different webhosting environments and all my J! websites (J! 3 and J! 4 ones) don't log me out before I've had a chance to wipe my nose clean.
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Tue Aug 31, 2021 5:53 am

Thanx Sozzled... I hear you. ;)

I had my server technician have a look and he logged into the backend without a hitch. He spent 20 minute on their without getting logged out.

It may be my antivirus or, as you said, something tainted because of the initial Softaculous installation.

I am in fact the host :)

Had my hosting company since 2010 and been using Joomla! to create 100's of websites since Joomla! 1.5

This was the first time I experienced this issue. I used Softaculous for most of my installations over the years without any issues, ever.

That said, one is never to old to learn, right?

Will let you know the results of the log checking we will be doing today.

Maybe someone else also learns something from this post. :)
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
sozzled
Joomla! Master
Joomla! Master
Posts: 10964
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by sozzled » Tue Aug 31, 2021 7:22 am

Joe_SA wrote:
Tue Aug 31, 2021 5:53 am
I had my server technician have a look and he logged into the backend without a hitch. He spent 20 minute on their without getting logged out.
without any issues, ever.
That's strange, isn't it?

Have you tried logging in to your website using the username—I'm assuming it was a superuser account—you gave to your technician and what was your experience? Are you able to login to the backend and remain logged-in without being logged-out unexpectedly?
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?” :)

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Tue Aug 31, 2021 7:43 am

sozzled wrote:
Tue Aug 31, 2021 7:22 am
Have you tried logging in to your website using the username—I'm assuming it was a superuser account—you gave to your technician and what was your experience? Are you able to login to the backend and remain logged-in without being logged-out unexpectedly?
Just tried it... same result
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Tue Aug 31, 2021 7:56 am

What the Flying Cabooses???

I thought lemme try a VPN and randomly changed it to Italy (I live in South Africa) and I had no further issue.

Now I have to figure out why Joomla! would log me out because of my IP address...

I did try disabling my antivirus but that didn't work either... only VPN so far.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

ghazal
Joomla! Explorer
Joomla! Explorer
Posts: 300
Joined: Fri Aug 19, 2005 12:12 pm
Location: Out of my mind ...sometimes

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by ghazal » Tue Aug 31, 2021 9:01 am

Interesting but a little weird discussion.
I had a similar issue, but I found out that it was server settings-related.
I had my server technician have a look and he logged into the backend without a hitch. He spent 20 minute on their without getting logged out.
without any issues, ever.
Where was he logging in from? South Africa as well?
Have you checked with your ISP if the site IP was black-listed? A far fetched possibility maybe but my ISP blocks me from some sites, so VPN it is.

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Tue Aug 31, 2021 9:50 am

ghazal wrote:
Tue Aug 31, 2021 9:01 am
Where was he logging in from? South Africa as well?
Have you checked with your ISP if the site IP was black-listed? A far fetched possibility maybe but my ISP blocks me from some sites, so VPN it is.
No, he is in Germany. (that is what gave me the VPN idea)

This is one of my own servers.. I am the ISP.

I allowed the IP address through WHM and it had no effect.

Never did this with Joomla! 3 up to 3.10.1... very weird situation.

We still haven't figured it out.

For now I just have to use a VPN
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Tue Aug 31, 2021 1:24 pm

Found the issue... Finally :)

This issue seemed to be with the combination of my ISP and LTE Router.

This was the solution, just in case the same thing happens with anyone else:

In your browser go to 192.168.8.1
If you haven't changed it, login is admin admin
Select Dial-up -> Profile Management
Click on New Profile
Give the new profile a name (not important what it is)
Leave User name and Password blank
Select IPv4 & IPv6 for IP type (Sometimes not needed)
In APN type unrestricted
Click Apply
Switch the modem off and on..

Problem solved!
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:

User avatar
Joe_SA
Joomla! Intern
Joomla! Intern
Posts: 82
Joined: Sun Mar 24, 2013 11:23 am
Location: Clarens, South Africa
Contact:

Re: Fresh Joomla! 4 install - Keeps logging out of Admin

Post by Joe_SA » Thu Sep 02, 2021 6:28 am

ghazal wrote:
Tue Aug 31, 2021 9:01 am
Where was he logging in from? South Africa as well?
Have you checked with your ISP if the site IP was black-listed? A far fetched possibility maybe but my ISP blocks me from some sites, so VPN it is.
After I found the solution above, I remembered this answer.

Just thought I give it recognition as the issue had something to do with the ISP/router combination.
Creator of Joomla! websites for over a decade, yet I am still learning every day. Maybe I'm just getting old. :eek:


Post Reply

Return to “Administration Joomla! 4.x”