Topic-icon Login mod with FB Keep Loggin in over and over

Active Subscriptions:

None
Site: Arma15.com

When you login with facebook both on phone and desktop as soon as you enter FB User & PW and hit login the page continiously flashes "You are now being logged in using facebook credentials" over and over until you leave the page completely locking up the web page. Please help
The topic has been locked.
Support Specialist
11 years 3 months ago #51349 by mel
Could you try disabling the JFBConnect > Configuration > Facebook > Show 'Logging In' message setting to see if this helps? If it doesn't have an effect, the next most common cause of this issue is usually caching-related. In that case, we'd recommend turning off any caching in global configuration and disabling any plugins such as the system cache plugin and other third-party plugins such as JotCache. Let me know if you're still having problems after trying these two suggestions.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51353 by target4fun
I did both and still getting same problem. I also disabled the a plugin that related to caching... Global was already disabled.
The topic has been locked.
Support Specialist
11 years 3 months ago #51356 by alzander
Your site is using JCH Optimize and it's heavily compressing and combining the Javascript on the page. It seems like one of those optimizations is interfering with our Javascript code, which is causing the authentication to go a bit crazy.

Can you disable JCH Optimize and test again? If that works, you'll need to go through each setting of JCH to determine which specific setting is causing the problem. We'll try to help from there, but some optimizations simply don't work with our Javascript and the calls we need to make into Facebook and other social network's APIs.

I hope that helps get you going,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51357 by target4fun
Disabled JCH Pro and cleaned cache still same problem so it isnt JCH. JCH is still disabled fyi
The topic has been locked.
Support Specialist
11 years 3 months ago #51359 by alzander
There's still some sort of caching enabled on the site. I can't tell what though. When I try to authenticate on the front page, the page reloads very fast and it looks like I'm not logged in. However, when I navigate to a different page (like Products), I see the "Facebook profile successfully connected." message and I am logged in.

I'm not sure what's happening now, but again, please check for any optimization plugins or caching options to ensure they are disabled. Normally, they don't cause problems. However, if they are set to use Browser Caching, the behavior I describe above is what will happen. You can't use browser caching while allowing user logins on your site.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago - 11 years 3 months ago #51360 by target4fun
okay expires headers plugin it was. So now I can log in. Once it logs in it doesnt show it until I refresh page? Also the picture that shows up when I try to "Like" or "Share" is some sort of generic picture. Is there a way to select the picture?

Thanks for all your help! I have this almost working .
Last edit: 11 years 3 months ago by target4fun.
The topic has been locked.
Support Specialist
11 years 3 months ago #51372 by mel

Also the picture that shows up when I try to "Like" or "Share" is some sort of generic picture. Is there a way to select the picture?

JFBConnect has a few different options to add an og:image - using one of our Open Graph plugins, adding an {SCOpenGraph} easy-tag and using the Defaults setting in JFBConnect > Open Graph > Configuration area. For more specific details on how to set these, please see:
www.sourcecoast.com/jfbconnect/docs/open-graph/tags-for-joomla
The topic has been locked.
Support Specialist
11 years 3 months ago #51373 by alzander
The refresh problem is likely because you haven't cleared your browser cache yet. When the headers are set to expire far in the future, like that plugin does, disabling it won't fix the issue completely. You need to clear your browser cache to make sure those bogus headers are removed.

I wanted to test to be sure, but now, when I go to your site and try to authenticate, I'm getting this long error:

jos-Warning: exception 'RuntimeException' with message 'Duplicate entry 'arma15.com/' for key 'idx_link_old' SQL=INSERT INTO `wrckq_redirect_links` (`old_url`,`new_url`,`referer`,`comment`,`hits`,`published`,`created_date`) VALUES ('arma15.com/žée', '' ,'arma15.com/', '',1,0, '2015-02-21 13:58:39')' in /home1/alamode1/public_html/arma15/libraries/joomla/database/driver/mysqli.php:606 Stack trace: #0 /home1/alamode1/public_html/arma15/plugins/system/redirect/redirect.php(114): JDatabaseDriverMysqli->execute() #1 [internal function]: PlgSystemRedirect::handleError(Object(JException)) #2 /home1/alamode1/public_html/arma15/libraries/legacy/error/error.php(754): call_user_func(Array, Object(JException)) #3 [internal function]: JError::handleCallback(Object(JException), Array) #4 /home1/alamode1/public_html/arma15/libraries/legacy/error/error.php(217): call_user_func_array(Array, Array) #5 /home1/alamode1/public_html/arma15/libraries/legacy/error/error.php(179): JError::throwError(Object(JException)) #6 /home1/alamode1/public_html/arma15/libraries/legacy/error/error.php(253): JError::raise(1, 404, 'Article not fou...', NULL, true) #7 /home1/alamode1/public_html/arma15/components/com_content/models/article.php(162): JError::raiseError(404, 'Article not fou...') #8 /home1/alamode1/public_html/arma15/libraries/legacy/view/legacy.php(398): ContentModelArticle->getItem() #9 /home1/alamode1/public_html/arma15/components/com_content/views/article/view.html.php(44): JViewLegacy->get('Item') #10 /home1/alamode1/public_html/arma15/libraries/legacy/controller/legacy.php(693): ContentViewArticle->display() #11 /home1/alamode1/public_html/arma15/components/com_content/controller.php(79): JControllerLegacy->display(true, Array) #12 /home1/alamode1/public_html/arma15/libraries/legacy/controller/legacy.php(730): ContentController->display() #13 /home1/alamode1/public_html/arma15/components/com_content/content.php(16): JControllerLegacy->execute(NULL) #14 /home1/alamode1/public_html/arma15/libraries/cms/component/helper.php(352): require_once('/home1/alamode1...') #15 /home1/alamode1/public_html/arma15/libraries/cms/component/helper.php(332): JComponentHelper::executeComponent('/home1/alamode1...') #16 /home1/alamode1/public_html/arma15/libraries/cms/application/site.php(191): JComponentHelper::renderComponent('com_content') #17 /home1/alamode1/public_html/arma15/libraries/cms/application/site.php(237): JApplicationSite->dispatch() #18 /home1/alamode1/public_html/arma15/libraries/cms/application/cms.php(251): JApplicationSite->doExecute() #19 /home1/alamode1/public_html/arma15/index.php(40): JApplicationCms->execute() #20 {main}

JApplicationCms -> execute() @ /home1/alamode1/public_html/arma15/index.php:40
JApplicationSite -> doExecute() @ /home1/alamode1/public_html/arma15/libraries/cms/application/cms.php:251
JApplicationSite -> dispatch() @ /home1/alamode1/public_html/arma15/libraries/cms/application/site.php:237
JComponentHelper :: renderComponent() @ /home1/alamode1/public_html/arma15/libraries/cms/application/site.php:191
JComponentHelper :: executeComponent() @ /home1/alamode1/public_html/arma15/libraries/cms/component/helper.php:332
require_once() @ /home1/alamode1/public_html/arma15/libraries/cms/component/helper.php:352
JControllerLegacy -> execute() @ /home1/alamode1/public_html/arma15/components/com_content/content.php:16
ContentController -> display() @ /home1/alamode1/public_html/arma15/libraries/legacy/controller/legacy.php:730
JControllerLegacy -> display() @ /home1/alamode1/public_html/arma15/components/com_content/controller.php:79
ContentViewArticle -> display() @ /home1/alamode1/public_html/arma15/libraries/legacy/controller/legacy.php:693
JError :: raiseWarning() @ /home1/alamode1/public_html/arma15/components/com_content/views/article/view.html.php:52
JError :: raise() @ /home1/alamode1/public_html/arma15/libraries/legacy/error/error.php:276

That's not related to JFBConnect. It seems there's some SQL error reagarding the URL I'm trying to be redirected to. Are you seeing that message? I tried from both Firefox and Chrome.

Thanks,
Alex
The topic has been locked.