vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Forum redirecting to Facebook Login (https://vborg.vbsupport.ru/showthread.php?t=282711)

del Drago 05-10-2012 03:53 AM

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.

del Drago 05-13-2012 02:21 PM

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!!

astdirect 05-20-2012 03:00 PM

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


All times are GMT. The time now is 01:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00991 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete