Topic-icon Google error

Support Specialist
9 years 5 months ago #48797 by mel
Replied by mel on topic Google error
In your Google Application in the Developer Console, your redirect URI is not set up correctly. Your redirect URI's only have the redirect links set up for http:///www... sites. You will have to add another 2 lines in there without the www:

adultforum.gr/index.php?option=com_jfbco...back&provider=google
adultforum.gr/index.php?option=com_jfbco...back&provider=google

When I go to www.adultforum.gr/index.php?option=com_users&view=login and press the Google button, it works properly.
When I go to adultforum.gr/index.php?option=com_users&view=login and press the Google button, I get the redirect URI error (as expected since the redirect URI doesn't currently allow for this).

Adding those two lines should solve your problem.
The topic has been locked.
Active Subscriptions:

None
9 years 5 months ago #48801 by nikiniko
Replied by nikiniko on topic Google error
i click google and i get loogged wiith facebook :(
brake or i go crazy
The topic has been locked.
Support Specialist
9 years 5 months ago #48820 by mel
Replied by mel on topic Google error
With the admin credentials you provided, I followed the steps that Alex previously noted in this thread:
www.sourcecoast.com/forums/jfbconnect/jf...cebook-login-problem

1. I turned off caching in Joomla's Global Configuration area.
2. I disable the System - Cache plugin.
3. I turned off the JFBConnect setting for Auto Login for Facebook.

After this, I was able to create, login and then and re-login with a user via Google properly. I was also able to create and login with a user via Facebook. However, when I tried to log back in via Facebook, there was a Javascript error on your page. The following block has the error and is preventing JFBConnect from logging in again. You will need to figure out what is inserting this code and contact the developer of that extension if you cannot figure out how to remove and/or fix it.

The following line 177 on adultforum.gr/adult-community/login has the error since there is nothing on the right hand side of the >=
if (window.pageYOffset >= ){			
		document.getElementById("s5_menu_wrap").className = 's5_wrap_fmfullwidth';			
				document.getElementById("subMenusContainer").className = 'subMenusContainer';			
		document.getElementById("s5_floating_menu_spacer").style.height = document.getElementById("s5_menu_wrap").offsetHeight + "px";			
		if (document.getElementById("s5_menu_wrap").parentNode.offsetHeight >= document.getElementById("s5_menu_wrap").offsetHeight - 20 && document.getElementById("s5_menu_wrap").parentNode.parentNode.offsetHeight >= document.getElementById("s5_menu_wrap").	offsetHeight - 20 && document.getElementById("s5_menu_wrap").parentNode.style.position != "absolute" && document.getElementById("s5_menu_wrap").parentNode.parentNode.style.position != "absolute") {			
			document.getElementById("s5_floating_menu_spacer").style.display = "block";			
		}			
	}		
	else { 			
		document.getElementById("s5_menu_wrap").className = '';	document.getElementById("subMenusContainer").className = ''; 			
		document.getElementById("s5_floating_menu_spacer").style.display = "none";			
	}		
	}
The topic has been locked.