UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Email Link causes Too Many Redirects

Daniel Pierce · ·
5:19 AM Wednesday, 11 October 2017
Normal
Stack Ideas Support

System Configuration
Joomla V3.7.5
ES V2.0.25
Browser Chrome (also cleared all the Chrome Cookies)

Easy Social sends an e-mail when a user has a Friend Request or Join Group Request. The e-mail has a button in it to take the user to their account on ES to view the request.

EMAIL To Group Owner with ACCEPT / REJECT user buttons.
Reject Group: https://saverhealth.com/coop-groups?controller=groups&;task=reject&userId=733&id=18&key=f6edbe6aa9e3419eae3eb5a491ddd980
Accept Join Group: https://saverhealth.com/coop-groups?controller=groups&;task=approve&userId=733&id=18&key=f6edbe6aa9e3419eae3eb5a491ddd980

When you select the link you get the error condition "ERR_TOO_MANY_REDIRECTS" (See attachments)

Goes to URL = https://saverhealth.com/component/users/?view=login&;Itemid=101

Because the user is not logged into ES, I think the application is trying to redirect it to the logon page.

I did a search on the Support Site and found a similar issue which found Akeeba Admin Tools to be the issue so I started there. I disabled the .htaccess file back to the standard Joomla version and verified that the Admin Tools firewall was not causing an issue. I also sent a support ticket to Akeeba and they also verified that Admin Tools was not causing the issue. Here is the response from Akeeba:

------Akeeba Response -----
No, .htaccess cannot. It would block the entire request with 403 Forbidden. Instead, you either get a constant redirection back to the same URL (which means something between Easy Social and your site's menu structure is not quite right) or an Access Denied which is a Joomla! error. Since both the redirects and the Access Denied come from Joomla! this is not a .htaccess issue.

At this point you have disproved any connection between this issue and Admin Tools. It looks like something you'd need to ask Stack Ideas about.

Side note: If you are trying to use the same URL many times I expect that at some point you'll start receiving get Access Denied. Why? Because I suspect the key is either single use or has an expiration limit. Otherwise an old link could be used years later to backdoor into someone's account. This is fundamental security and I expect that Stack Ideas, being a demonstrably responsible software company, has taken into account. Therefore I think your issue is that the URL does work but leads into a redirect loop which is either a bug in the component or something in the way you've set up menu items. I've had that kind of fun with our own frontend software (Akeeba Release System mostly) used on our site: an unfortunate menu hierarchy would cause a redirect loop. Fixing the SEF router that caused the loop broke downloads so we had to change our menu structure and make liberal use of aliases.
----- End Akeeba Response------

Based on their response I disabled all the template menu items that are in the header of the page that point to EasySocial functions. Problem still happens, only the url of the link changed slightly.

Reject Group: https://saverhealth.com/co-op-personal?controller=groups&;task=reject&userId=731&id=18&key=f6edbe6aa9e3419eae3eb5a491ddd980
Accept Group: https://saverhealth.com/co-op-personal?controller=groups&;task=approve&userId=731&id=18&key=f6edbe6aa9e3419eae3eb5a491ddd980

I'm running out of things to test and thought I should see what you think may be the issue.
Dan
The replies under this section are restricted to logged in users or users with an active subscription with us