• Home
  • Get help
  • Ask a question
Last post 14 hours 11 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67824
All time tickets 10480
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#3478 – logout redirect is not working

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 04 April 2017 06:39 UTC
windline
 Hello

When I logout the redirect is not working. I have turned off sh404sef and the logout works fine. I am redirected upon logout at the frontpage

I am getting the following error:

You asked for https://www.xxxx.gr/el/index.php&lang=el?option=com_users&8497946f15960fc76b42854106390057=1&Itemid=1744&id=72&lang=el&return=aW5kZXgucGhwP0l0ZW1pZD0xNzQ0&task=user.logout&view=article, but despite our computers looking very hard, we could not find it. What happened ?

I would appreciate your help

Thank you
Tuesday, 04 April 2017 07:37 UTC
wb_weeblr
Hi

I am redirected upon logout at the frontpage
You are not redirected to the front page, but instead a 404 error page is displayed (which may be using the same design and modules as the front page, with default settings)

This redirect URL is indeed completely wrong and should not be used: https://www.xxxx.gr/el/index.php&lang=el?.... does not exist and sh404SEF is right in saying this is a 404.
The URL should be https://www.xxxx.gr/index.php?option=com_content..., without the /el/ and with the ? in the right position.

1 - Your site is multilingual. Do you use Joomla native multiligual system, or Falang or another similar extension?
2 - Do you use only standard Joomla module for login and logout? where is the login/lgout module actually?
3 - Does the same happen if you switch temporarily to one of Joomla built-in templates (such as protostar)?


Rgds
 
Tuesday, 04 April 2017 07:54 UTC
windline
1. We use the joomla native multilanguage system
2. We use the standard menu option from joomla
3. Yes

The redirect problem happens only when sh404sef is enabled. If I turn your component off the redirect works fine and I am not getting this error.
Tuesday, 04 April 2017 08:24 UTC
wb_weeblr
Hi

The redirect problem happens only when sh404sef is enabled. If I turn your component off the redirect works fine and I am not getting this error.
Maybe but that strcitly do es not mean sh404SEF is actually causing the problem, only that it appears when sh404SEF is enabled, which is quite different

Could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterwards, but it must have superuser level.

Thanks and regards
 
Tuesday, 04 April 2017 08:40 UTC
windline
You can work at the dev environment which is a copy of the live site

https://www.xxxx.gr/dev/administrator/index.php?kostas

username: xxxx
pass: xxxx

Inform us of the solution to apply the changes to the live site.

Thanks
Tuesday, 04 April 2017 09:07 UTC
wb_weeblr
Hi

I had a preliminary look, but I can't find what extension is adding this incorrect &lang=el in the log out menu URL (that's not done by sh404SEF).

I will have to take an akeeba backup of the dev site and install locally to debug through actual PHPH code, to find out what's happening. Can't do that this morning, but I'll be able to get back at it this afternoon. I'll keep you posted here.

Rgds
 
Tuesday, 04 April 2017 09:13 UTC
windline
Thank you. Take your time
Wednesday, 05 April 2017 08:50 UTC
windline
I would like also to add that I have another client that faces the same problem. So I believe this is a general issue with sh404sef but it was not discovered yet.

We didn't have this problem six moths ago. We noticed this problem lately so I believe it has to do with the recent updates.

Thanks
Wednesday, 05 April 2017 15:33 UTC
wb_weeblr
Hi

OK, I don't know how I did not spot that at first look, I just spend multiple hours doing the backup, installing, stepping through the code, etc without really finding anything, until I looked again and found that the problem is that you have an alias (a redirect) on /el/

[xxxx]

I don't know why and how it was added, but of course you cannot have an alias on one of the language code URL, this will completely breaks the Joomla multilingual system. Just delete it and the problem is solved.

Rgds
 
Thursday, 20 April 2017 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.