Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 05-10-2012, 03:53 AM
del Drago's Avatar
del Drago del Drago is offline
 
Join Date: Dec 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum redirecting to Facebook Login

Hello,

I've got a serious problem, and no one can seem to help. This occurs sporadically (once every 2-3 days).

If a user who is not logged into a Facebook account visits my forum, they are redirected from the forum to a Facebook login page.

When this happens, the only way for me to fix this is to "Clear System Cache" from Maintenance in Admin CP.

Users who are already logged into their Facebook accounts don't face this problem at all. They are able to visit the forum without issue.

I'm running suite 4.1.12 PL 1, and am using xcache for caching. (Clearing xcache doesn't solve this problem, though. Only clearing the system cache makes it go away).

The address of the redirect page is:

Code:
https://www.facebook.com/login.php?api_key=117381948333563&skip_api_login=1&display=page&cancel_url=http%3A%2F%2Fmythicscribes.com%2Fforums%2F%3Ferror_reason%3Duser_denied%26error%3Daccess_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.%26state%3Dd133fb807c8cf9635edf4fcb23a7a3e4&fbconnect=1&next=https%3A%2F%2Fwww.facebook.com%2Fdialog%2Fpermissions.request%3F_path%3Dpermissions.request%26app_id%3D117381948333563%26redirect_uri%3Dhttp%253A%252F%252Fmythicscribes.com%252Fforums%252F%26display%3Dpage%26response_type%3Dcode%26state%3Dd133fb807c8cf9635edf4fcb23a7a3e4%26fbconnect%3D1%26from_login%3D1%26client_id%3D117381948333563&rcount=1
It looks as if there is an error message embedded within that URL:

Code:
3DThe%2Buser%2Bdenied%2Byour%2Brequest.
Can anyone here think of any possible factors that could make something like this happen? Any brainstorming would be helpful.

Could something have changed with the Facebook API since I set it up nearly two years ago? Would reconfiguring the Facebook settings make a difference?

If worse comes to worse, would disabling Facebook Connect solve this? But then what happens to all of the members who registered via Facebook connect, and don't have passwords?

Thank you for your help.

Any ideas as to what may be happening here?

--------------- Added [DATE]1336626261[/DATE] at [TIME]1336626261[/TIME] ---------------

UPDATE:

This happened again a few minutes ago, and I was able to do some further testing.

This time clearing the system cache didn't make it go away. The only thing that made it stop was when I (on a different computer) logged into a facebook account. Then (on all computers) the forum worked fine again.
Reply With Quote
  #2  
Old 05-13-2012, 02:21 PM
del Drago's Avatar
del Drago del Drago is offline
 
Join Date: Dec 2010
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made an interesting discovery:

If I visit my forum when I'm not logged into facebook, and then I append the following text to the end of my forum's URL, then I am taken to the Facebook login screen:

Code:
?dofbredirect=1
To clarify, the URL in my browser that causes the redirect is:

Code:
http://mythicscribes.com/forums/forum.php?dofbredirect=1
HOWEVER, if someone was recently connected to the forum using Facebook Connect, this URL above causes me to be logged into the forum as that user!!!

This makes me think that there is a caching issue going on somewhere.

Any ideas?

Thanks!!
Reply With Quote
  #3  
Old 05-20-2012, 03:00 PM
astdirect astdirect is offline
 
Join Date: Dec 2009
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had same issue today when trying to integrate facebook share button onto arcade pages. Removed code and sorted issue.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03590 seconds
  • Memory Usage 2,174KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete