Facebook Login Error | Redirected loop

I have Dolphin 7.1.6 which I had installed on a Shared Hosting. It was working Fine there. I am getting this error when I moved the site to a VPS.

When I am clicking on Facebook Login Button. It redirect to Facebook, there I am logging to my account and allowing access, it redirecting back to my website and again website redirecting to Facebook and facebook redirecting back to my website and it continues and lastly "The page isn't redirecting properly"

What to do to solve this ?

Quote · 15 Aug 2015

You have some problems with caching.

After facebook login it redirect you to the same page which sent you to facebook.

Since this page is in the cache, then instead of logging you into Dolphin it redirects you to Facebook, then everything repeats.

I would suggest to disable caching/reverse proxy/etc to see if it helps, then tune it up to make it dependant on logged in cookies, so when memberID cookie is changes cache need to be invalidated.

You can see the problem with caching if you login, then go to homepage and press logout - but your site will show you that you are still logged in, despite the fact that cookies for logged in member are removed.

Rules → http://www.boonex.com/terms
Quote · 19 Aug 2015

The server was managed by Webuzo Control Panel and the problem is only occurring when it is installed on Ubuntu . It is working fine on CentOS.

Their developer team checked this issue and informed me to use Webuzo on CentOS until they fix this issue with Ubuntu.

So the current solution is to Install and Use Webuzo on CentOS. The issue seems to be resolved now.
Thanks !

Quote · 22 Aug 2015

Thank you for letting know! 

Rules → http://www.boonex.com/terms
Quote · 22 Aug 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.