Error: Invalid Login when upgrading from 3.10.11 to 3.10.12 Topic is solved

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

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.
User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Thu Jul 13, 2023 1:05 pm

Also I tested with firewall and mod_security disabled and still have that same error message.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17445
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by toivo » Thu Jul 13, 2023 1:44 pm

What does the update log in administrator/logs/joomla_update.php contain? Please copy and paste the relevant messages into your reply.

Go to the Global Configuration and set 'Error Reporting' to 'Maximum' and turn on the Debug System option. Go to Extensions - Plugins and search for 'debug'. Enable the plugin System - Debug, go to the Logging tab and select 'Log Almost Everything'. The debugging log file will be written to administrator/logs/everything.php.

Now the error messages will have the details where the error occurred, including the line number and the name of the script, followed by the PHP call stack. Copy and paste them to your reply.
Toivo Talikka, Global Moderator

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Fri Jul 14, 2023 3:46 am

Hi Toivo,
I did all you recommended to get full error reporting but then I couldn't find the file "public_html/administrator/logs/everything.php". Instead I found the file "public_html/logs/everything.php".

are the lines below the info we are after?


2023-07-14T03:34:14+00:00 INFO 119.13.57.105 updater Loading information from update site #44 with name "Joomla! Update Component Update Site" and URL https://update.joomla.org/core/extensio ... update.xml took 0.15 seconds
2023-07-14T03:34:28+00:00 INFO 119.13.57.105 updater Loading information from update site #44 with name "Joomla! Update Component Update Site" and URL https://update.joomla.org/core/extensio ... update.xml took 0.08 seconds
2023-07-14T03:34:34+00:00 INFO 119.13.57.105 update Update started by user Super User (754). Old version is 3.10.11.
2023-07-14T03:34:35+00:00 INFO 119.13.57.105 update File Joomla_3.10.12-Stable-Update_Package.zip downloaded.
2023-07-14T03:34:36+00:00 INFO 119.13.57.105 update Starting installation of new version.
2023-07-14T03:34:42+00:00 INFO 119.13.57.105 update Starting installation of new version.
2023-07-14T03:35:43+00:00 CRITICAL 156.59.198.136 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown. Stack trace: #0 [ROOT]/libraries/src/Router/SiteRouter.php(139): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri))
#1 [ROOT]/libraries/src/Application/CMSApplication.php(1142): Joomla\CMS\Router\SiteRouter->parse(Object(Joomla\CMS\Uri\Uri))
#2 [ROOT]/libraries/src/Application/SiteApplication.php(796): Joomla\CMS\Application\CMSApplication->route()
#3 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Application\SiteApplication->route()
#4 [ROOT]/libraries/src/Application/CMSApplication.php(225): Joomla\CMS\Application\SiteApplication->doExecute()
#5 [ROOT]/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#6 {main}

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Fri Jul 14, 2023 3:55 am

additionally in the file /public_html/logs/joomla_update.php it says:


2023-07-12T03:16:27+00:00 INFO 119.13.57.232 update Update started by user Super User (754). Old version is 3.10.11.
2023-07-12T03:16:28+00:00 INFO 119.13.57.232 update Downloading update file from https://s3-us-west-2.amazonaws.com/joom ... 9563335d39.
2023-07-12T03:16:29+00:00 INFO 119.13.57.232 update File Joomla_3.10.12-Stable-Update_Package.zip downloaded.
2023-07-12T03:16:30+00:00 INFO 119.13.57.232 update Starting installation of new version.
2023-07-12T03:16:32+00:00 INFO 119.13.57.232 update Starting installation of new version.
2023-07-12T03:16:47+00:00 INFO 119.13.57.232 update Starting installation of new version.
2023-07-12T03:16:48+00:00 INFO 119.13.57.232 update Starting installation of.... etc...

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17445
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by toivo » Fri Jul 14, 2023 5:59 am

reggaebkk wrote:
Fri Jul 14, 2023 3:46 am
I couldn't find the file "public_html/administrator/logs/everything.php". Instead I found the file "public_html/logs/everything.php".
That is fine. The website was installed a few years ago, when logs were written into the subfolder 'logs' at the top level. Now new Joomla sites write them into the folder administrator/logs. If required, the log patch can be changed in the Global Configuration.

reggaebkk wrote:
Fri Jul 14, 2023 3:46 am
are the lines below the info we are after?
Yes, they were exactly the info requested. However, it is not clear which URL cannot be parsed.

Do the following so that we get the details of the URL. First, please make a backup copy of the file libraries/src/Router/SiteRouter.php, just in case.

Find line 139 from the file SiteRouter.php:

Code: Select all

		$vars += parent::parse($uri);
Add the following lines before line 139:

Code: Select all

		// debug
		 echo '<br>----------------<br>after<br>' . print_r($uri, true) . '<br>----------------<br>';
		// debug end
Find the start of the function parse() from line 77 and 78:

Code: Select all

	public function parse(&$uri)
	{
Add the following after line 78

Code: Select all

		// debug
		echo '<br>----------------<br>before<br>' . print_r($uri, true) . '<br>----------------<br>';
		// debug end
Run the update the same way you ran it before. Copy and paste into your reply the debugging lines, similar to the following, starting with 'before' or 'after':
----------------
before
Joomla\CMS\Uri\Uri Object ( [uri:protected] => http://joomlatest/ [scheme:protected] => http [host:protected] => joomlatest [port:protected] => [user:protected] => [pass:protected] => [path:protected] => / [query:protected] => [fragment:protected] => [vars:protected] => Array ( ) )
----------------
Toivo Talikka, Global Moderator

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Fri Jul 14, 2023 6:34 am

Thanks.
I am not sure I did properly what you asked, I think I did, but there is no mention of "before" or "after" in the everything.php file... here is the result:

2023-07-14T03:33:28+00:00 INFO 119.13.57.105 controller Checking edit ID com_plugins.edit.plugin.425: 1 Array ( [0] => 425 )
2023-07-14T03:33:34+00:00 INFO 119.13.57.105 controller Checking edit ID com_plugins.edit.plugin.425: 1 Array ( [0] => 425 )
2023-07-14T03:33:46+00:00 CRITICAL 156.59.198.136 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown. Stack trace: #0 [ROOT]/libraries/src/Router/SiteRouter.php(139): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri))
#1 [ROOT]/libraries/src/Application/CMSApplication.php(1142): Joomla\CMS\Router\SiteRouter->parse(Object(Joomla\CMS\Uri\Uri))
#2 [ROOT]/libraries/src/Application/SiteApplication.php(796): Joomla\CMS\Application\CMSApplication->route()
#3 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Application\SiteApplication->route()
#4 [ROOT]/libraries/src/Application/CMSApplication.php(225): Joomla\CMS\Application\SiteApplication->doExecute()
#5 [ROOT]/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#6 {main}
2023-07-14T03:34:14+00:00 INFO 119.13.57.105 updater Loading information from update site #44 with name "Joomla! Update Component Update Site" and URL https://update.joomla.org/core/extensio ... update.xml took 0.15 seconds


Did I do it properly? These don't mean anything to me ;(
Or did I do it wrong?

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Fri Jul 14, 2023 12:49 pm

I see no reply, is it because I didn't modify the file properly?

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9747
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by AMurray » Sat Jul 15, 2023 10:06 pm

Turn off the FTP option in Joomla (that's what I think is prompting that "invalid password" error).
Regards - A Murray
General Support Moderator

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Sun Jul 16, 2023 3:03 am

Thanks for your reply. But no, FTP is disabled on all affected websites (all websites are affected).

User avatar
reggaebkk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 176
Joined: Mon Jul 14, 2008 1:39 pm

SOLVED: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by reggaebkk » Mon Jul 17, 2023 9:13 am

And so it is SOLVED. I have no clue what happened but my pc crashed and I re-installed Windows and apps and browser... then I tried the update and it worked on all websites. Problem was obviously not with the script but with my local machine. I've already updated successfully 4 websites, no error message. Sorry to all for the loss of time but also for the fact that I can't explain what the problem was, just that it was on my local machine, maybe windows, maybe Brave browser... maybe my wifi connection... no clue.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17445
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by toivo » Mon Jul 17, 2023 11:28 am

That was an intriguing solution indeed! Thank you for the update.
Toivo Talikka, Global Moderator

unet
Joomla! Intern
Joomla! Intern
Posts: 65
Joined: Thu Aug 25, 2016 3:57 pm

Re: SOLVED: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by unet » Fri Aug 11, 2023 5:27 am

reggaebkk wrote:
Mon Jul 17, 2023 9:13 am
And so it is SOLVED. I have no clue what happened but my pc crashed and I re-installed Windows and apps and browser... then I tried the update and it worked on all websites. Problem was obviously not with the script but with my local machine. I've already updated successfully 4 websites, no error message. Sorry to all for the loss of time but also for the fact that I can't explain what the problem was, just that it was on my local machine, maybe windows, maybe Brave browser... maybe my wifi connection... no clue.
I was having the same problem and I switched from Chrome to Opera and solved the problem.

patrickbmccabe
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Sun Oct 08, 2017 4:32 pm

Re: Error: Invalid Login when upgrading from 3.10.11 to 3.10.12

Post by patrickbmccabe » Tue Nov 28, 2023 7:33 am

Im was Having the Same error,"Invalid Login" on Mac OSX Monteray 12.5.1 so I also switched from browser from Chrome Version 119.0.6045.159 (Official Build) (x86_64) to Firefox 12.0 :- "BOOM " problem gone flwlessly upgraded


Post Reply

Return to “Migrating and Upgrading to Joomla! 3.x”