Home › Forums › WoodMart support forum › Facebook Login Error
Facebook Login Error
- This topic has 27 replies, 2 voices, and was last updated 6 years, 2 months ago by Artem Temos.
-
AuthorPosts
-
September 4, 2018 at 10:08 am #75456
kiransharma.1ParticipantHi,
I have configured facebook and google login buttons as per instructions in documentation. My google login button works but unfortunately , Facebook login create problem. Its not giving any error but just redirect to account page without login. I have tried with all possible ways. please check following link:
September 4, 2018 at 11:28 am #75462
Artem TemosKeymasterHi,
Try to add the following PHP code snippet to the child theme functions.php file
add_filter( 'woodmart_alt_auth_method', '__return_true' );
Regards
September 5, 2018 at 6:48 am #75547
kiransharma.1Participantstill dint work. you can test on this link:
https://www.lovelylifestyle.com/guitarisma
Please let me know if i mistake somewhere..
September 5, 2018 at 6:50 am #75550
Artem TemosKeymasterIn this situation are you able to provide us your FTP access so we could troubleshoot it and provide you with a solution?
September 5, 2018 at 9:09 am #75570
kiransharma.1Participantcan i provide you admin panel details?
I cant share ftp.September 5, 2018 at 9:15 am #75571
Artem TemosKeymasterSorry, but we can’t troubleshoot it without FTP access.
September 5, 2018 at 11:39 am #75591
kiransharma.1ParticipantSir, I can provide you api crendentials if you say. wp-admin detail. but cannot provide FTP cause of some security.
I believe we can sort it out with these credentials as well.
I need to fix this bug asap. so its very urgent.September 5, 2018 at 11:42 am #75592
Artem TemosKeymasterThe problem seems to be caused by some of your server settings. It is not a bug since it works on all other websites. That is why we would like to troubleshoot it and to do this, we need an access to your website files. We would be glad to fix this for you, but we can’t do this without access. Hope you understand what I mean.
September 6, 2018 at 6:00 am #75716
kiransharma.1ParticipantSir, I have installed one facebook login plugin and integrate it with my napp. its working fine. so i donot thing , there are any server related problem.
our main website working perfectly fine . problem is just here in this shared folder website.
September 6, 2018 at 6:02 am #75719
Artem TemosKeymasterAnyway, if you want us to fix this for you, we need your FTP access. How else can we troubleshoot why our theme’s scripts are not working?
September 6, 2018 at 8:31 am #75761
kiransharma.1Participantyes sir i can understand your concern, but I have no permission to share FTP access. I could share FTP if this website has its own hosting but we just shift it on our other live website server only for testing.
I am sharing admin panel detail in private message. please try if you can sort it out here.
September 6, 2018 at 8:46 am #75767
Artem TemosKeymasterBut how did you modify the file we asked you before? Previous client with similar problem fixed it with this advice
The problem seems to be caused by your hosting server. Facebook redirects you to the page sending some serialized data via GET parameter in the URL. The problem that your server can’t parse it and it has some limitation on the number of characters in this parameter. Try to contact your hosting providers to increase it in two or three times.
September 7, 2018 at 7:13 am #75893
kiransharma.1ParticipantSir I have modified changes thru FTP which you asked me to do, please check attached screenshots.
If there is server problem, then other facebook plugin login functionality should also not work. also our mail website facebook login.
I even integrate other webiste working facebook api(which is also on same server), but it still not work.
Attachments:
You must be logged in to view attached files.September 7, 2018 at 7:15 am #75896
Artem TemosKeymasterDifferent plugins may use different technologies and may work with your server at the same time when our theme may not.
So try to implement the fix we suggested above.
September 7, 2018 at 7:16 am #75897
kiransharma.1ParticipantSir I have modified changes thru’ FTP which you asked me to do so, please check attached screenshots.
If there is server problem, then other Facebook plugin login functionality should also not work.
I even integrate other website working Facebook API (which is also on same server), but it still not work.
September 7, 2018 at 7:19 am #75899
kiransharma.1ParticipantOkay, I am discussing these all things with our hosting providers. I will get back to you later.
Thank you
September 7, 2018 at 11:56 am #75965
kiransharma.1ParticipantHey,
should we set only highlighted variable or all of them?
September 7, 2018 at 11:56 am #75966
kiransharma.1ParticipantSeptember 7, 2018 at 12:08 pm #75977
kiransharma.1Participantwe have set these values. please verify:
suhosin.get.disallow_nul = 1
suhosin.get.disallow_ws = 0
suhosin.get.max_array_depth = 50
suhosin.get.max_array_index_length = 64
suhosin.get.max_name_length = 64
suhosin.get.max_totalname_length = 256
suhosin.get.max_value_length = 512
suhosin.get.max_vars = 100September 7, 2018 at 12:11 pm #75981
Artem TemosKeymasterTry to increase all values in three times
September 7, 2018 at 12:21 pm #75985
kiransharma.1ParticipantHi, we have set following values:
suhosin.get.disallow_nul = 3
suhosin.get.disallow_ws = 2
suhosin.get.max_array_depth = 150
suhosin.get.max_array_index_length = 192
suhosin.get.max_name_length = 192
suhosin.get.max_totalname_length = 768
suhosin.get.max_value_length = 1536
suhosin.get.max_vars = 300but still it dint work. you can check also.
September 7, 2018 at 12:22 pm #75986
Artem TemosKeymasterStrange, but we don’t know why else it can’t work. The only one way to check is to connect your website with FTP and troubleshoot it.
September 7, 2018 at 12:33 pm #75988
kiransharma.1ParticipantSir can you access FTP by Team Viewer on my computer If i give you access?
September 7, 2018 at 12:33 pm #75989
Artem TemosKeymasterOK, let’s try this way.
September 7, 2018 at 12:39 pm #75990
kiransharma.1Participant…
September 7, 2018 at 1:16 pm #75992
Artem TemosKeymasterSo the problem is fixed and it was caused by wrong Facebook APP settings.
September 8, 2018 at 5:33 am #76059
kiransharma.1ParticipantActually documentation only ask us to set these three values:
1. Facebook App ID
2. Facebook App Secret
3. Valid OAuth Redirect URIsI have set already all these fields but API further checking for these fields:
1. Native or desktop app? (which we “Disabled” later, it was “Enabled” by default)
2. Require App Secret (we set to “No”. It was “Yes” by default)so these changes help us to integrate Facebook api successfully.
Thank you Sir for all your support!! much appreciated.
September 8, 2018 at 6:47 am #76065
Artem TemosKeymasterYou are welcome!
-
AuthorPosts
Tagged: Facebook login
The topic ‘Facebook Login Error’ is closed to new replies.
- You must be logged in to create new topics. Login / Register