?
avatar micker
micker
17 Jan 2019

Steps to reproduce the issue

use the login module in front

Expected result

Login and redirection

Actual result

No login and redirection to index.php

System information (as much as possible)

PHP exécuté sur | Linux am4.siteground.biz 3.12.18-clouder0 #28 SMP Thu Mar 8 11:53:03 EET 2018 x86_64
Type de la base de données | mysql
Version de la base de données | 5.6.40-84.0-log
Interclassement de la base de données | utf8_general_ci
Collation de la connexion à la base de données | utf8mb4_general_ci
Version de PHP | 7.1.26
Serveur web | Apache
Serveur web pour interface PHP | cgi-fcgi
Version de Joomla | Joomla! 3.9.2 Stable [ Amani ] 15-January-2019 15:00 GMT
Version de la plateforme Joomla! | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Navigateur | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Additional comments

no error in console
tested in 2 sites

avatar micker micker - open - 17 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jan 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Jan 2019
avatar micker micker - change - 17 Jan 2019
The description was changed
avatar micker micker - edited - 17 Jan 2019
avatar micker micker - change - 17 Jan 2019
Title
Login module doesn't work
[3.9.2]Login module doesn't work
avatar micker micker - edited - 17 Jan 2019
avatar infograf768
infograf768 - comment - 17 Jan 2019

Can't reproduce the issue here.

avatar micker
micker - comment - 17 Jan 2019

Can i put link for testing ?

avatar infograf768
infograf768 - comment - 18 Jan 2019

I would not do that in public.

avatar HLeithner
HLeithner - comment - 18 Jan 2019

@micker if your site is public you can add it here

avatar infograf768
infograf768 - comment - 18 Jan 2019

imho, it would not help if we do not have credentials...

avatar HLeithner
HLeithner - comment - 18 Jan 2019

yeah thats true...

avatar Ninja-007
Ninja-007 - comment - 19 Jan 2019

Did you disable any plugin related to the login or authetication in backend or install new one which can cause conflict?

avatar maciej-wolpiuk
maciej-wolpiuk - comment - 23 Jan 2019

Hello

I have same problem with redirection on component who I write.

In view I have:

if ($user->get('guest')) {
$redirectUrl = urlencode(base64_encode(JRoute::('index.php?option=com_mwindustries&view=orders',false)));
$url = JRoute::
('index.php?option=com_users&view=login&return='.$redirectUrl,false);
$app->redirect($url);
}
but after login to site Im redirect do profile page.

I was check code and find that problem is in com_users\models\login.php, line 65
if (!JUri::isInternal($data['return']))
{
$data['return'] = '';
}

When Im put var_dump($data['return']); in line 64 its return "/joomla/index.php?option=com_mwindustries&view=orders&Itemid=104", but same var_dump in line 69 return - string(0) ""

So problem is in JUri::isInternal function.

Sins
Mac

avatar maciej-wolpiuk
maciej-wolpiuk - comment - 8 Feb 2019

Due to https://docs.joomla.org/How_do_you_redirect_users_after_a_successful_login%3F return address must be non-sef.
So this address works good $redirectUrl = urlencode(base64_encode('index.php?option=com_mwindustries&view=orders'));
After login user is redirect to good page.

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Mar 2019

can this issue be closed?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23580.

avatar joomla-cms-bot joomla-cms-bot - change - 16 Mar 2019
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 16 Mar 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Mar 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-03-16 11:28:31
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 16 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Mar 2019

Closed as no Answer; please reopen if needed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23580.

avatar Ninja-007
Ninja-007 - comment - 16 Mar 2019

@franz-wohlkoenig
I have modfied my layout and view class as per ACL, therefore there is no need of separate dashboards for different user groups now. :)

Add a Comment

Login with GitHub to post a comment