Error 500 when bad password or on user logout

Did you find a bug in Joomla! 3.x but aren't sure? This forum is the place to help figure out if the problem is a bug and how to report it. If you are an experienced Joomla! user and are certain that you have found a bug please use the Bug Tracker to submit your issue.
This forum is for discussion about bugs and to get help with reporting them to the Bug Tracker: https://issues.joomla.org

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Error 500 when bad password or on user logout

Post by ThomasKolasa » Tue Aug 02, 2016 10:17 am

Hello,

so since update to version 3.6 when user tries to log in with bad password he is not redirected to proper page (did you forget password? for example). Instead he gets an Error 500 message. Also when user logs out, the page isn't properly refreshed and user also gets Error 500. Any ideas what's happening? I can't see any of this errors in error log. A matter of fact I can't see any logs since the update. After turning off the FTP, the bad password messages works properly and the event is registered inside log. But I have still problems with logout which gives the Error 500 all time - no matter if the FTP is enabled or not. :(

I already did start such a topic on Joomla StackExchange but since there no one writes me back I want to post this here.

http://joomla.stackexchange.com/questio ... 2209_17322

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Tue Aug 02, 2016 10:26 am

Please put error reporting "maximum" and check if you see any other error instead 500 error
chat room spontes : http://www.spontes.com

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Tue Aug 02, 2016 10:29 am

Als check this http://forum.joomla.org/viewtopic.php?t=929081 if is similar with you logout issue
chat room spontes : http://www.spontes.com

ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Re: Error 500 when bad password or on user logout

Post by ThomasKolasa » Tue Aug 02, 2016 10:47 am

Thank You so much ribo.

First I checked the error message with setting to Maximum:
Catchable fatal error: Argument 1 passed to KUserSessionContainerMessage::load() must be of the type array, null given, called in C:\xampp\htdocs\backup\libraries\koowa\libraries\user\session\abstract.php on line 413 and defined in C:\xampp\htdocs\backup\libraries\koowa\libraries\user\session\container\message.php on line 133
Second I did include the fix inside the user.php from link You provided and now the logout works like a charm. :)
Thirdly I did check the FTP enabled and bad password. The user.php fix doesn't help on this one. Probably the bug is similar but in different file?

Thank You for such a fast answer. :)

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Tue Aug 02, 2016 11:09 am

As i understand your error is from Nooku Framework and not from joomla so better to ask them if they will update something
chat room spontes : http://www.spontes.com

ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Re: Error 500 when bad password or on user logout

Post by ThomasKolasa » Tue Aug 02, 2016 11:29 am

No ribo - that was the error message as for the bad logout. Why would there be a problem in Nooku framework if fix in the Joomla user.php file sorted it out? More like there's no fallback for older code or something?

The error message from bad password and FTP enabled is:
Catchable fatal error: Argument 3 passed to JClientFtp::getInstance() must be of the type array, null given, called in /home/kolasat/inwestor3.um.ostrowiec.pl/libraries/joomla/filesystem/file.php on line 488 and defined in /home/kolasat/inwestor3.um.ostrowiec.pl/libraries/joomla/client/ftp.php on line 194
There's also strange thing that on my production server I still receive the error message with FTP enabled when on my local dev environment I don't get this error anymore. :/

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Tue Aug 02, 2016 11:39 am

Check this https://github.com/joomla/joomla-cms/pull/11086 . Also clear cache to your product server
chat room spontes : http://www.spontes.com

ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Re: Error 500 when bad password or on user logout

Post by ThomasKolasa » Tue Aug 02, 2016 12:14 pm

How do You find all of this so fast? Did You search by name of file?
Sadly this fix changes the 500 Error into Joomla error message "35 - JFTP: :append: Wrong answer."

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Tue Aug 02, 2016 12:58 pm

Please report your issue here https://issues.joomla.org/
chat room spontes : http://www.spontes.com

ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Re: Error 500 when bad password or on user logout

Post by ThomasKolasa » Fri Aug 05, 2016 7:19 am

Hi Ribo,
after upgrading to 3.6.1 everything works as supposed to. :)
Sincerely,
Thomas

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Fri Aug 05, 2016 1:31 pm

That s nice, update also joomla update component and after update joomla to 3.6.2
chat room spontes : http://www.spontes.com

ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Re: Error 500 when bad password or on user logout

Post by ThomasKolasa » Tue Aug 09, 2016 8:52 am

Hello Ribo

I did update to 3.6.2 and now with FTP enabled I receive "35 - JFTP: :append: Wrong answer." and I didn't get it with 3.6.1 :/ Saddly on my local dev environment (xampp) with ftp layer enabled and FileZilla on, the error doesn't appear. Seems like he can't append to log file or something.

Sincerely,
Thomas

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Error 500 when bad password or on user logout

Post by ribo » Tue Aug 09, 2016 11:09 am

ThomasKolasa wrote::/ Saddly on my local dev environment (xampp) with ftp layer enabled and FileZilla on, the error doesn't appear.
Then it seems that it is a sever issue and you must contact with your host
chat room spontes : http://www.spontes.com

ThomasKolasa
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Jan 26, 2016 11:11 pm

Re: Error 500 when bad password or on user logout

Post by ThomasKolasa » Tue Aug 09, 2016 11:14 am

I have problems with that server since I started to work with it... Yes, I am pretty sure that this is an issue with server, but on the other side - it worked before. Why this doesn't work right now?


Locked

Return to “Joomla! 3.x Bug Reporting”