Home › Forums › WoodMart support forum › Google Authentication Login
Google Authentication Login
- This topic has 26 replies, 2 voices, and was last updated 6 years, 8 months ago by Artem Temos.
-
AuthorPosts
-
March 5, 2018 at 7:52 pm #44063
minimakidParticipantI followed the documentation on your site regarding setting up the Google login feature, but when I went through and tested it nothing happened. The Google Login page appears and I fill in my information, but then I am just taken to the standard login page. Does this mean I messed up a part of the instructions?
March 6, 2018 at 7:18 am #44104
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
March 6, 2018 at 2:20 pm #44244
minimakidParticipantDo I just add this snippet to the bottom of the functions.php file? Or does it need to be in a specific place in the document?
March 6, 2018 at 2:57 pm #44256
Artem TemosKeymasterJust added to the bottom of that file.
March 6, 2018 at 3:46 pm #44289
minimakidParticipantAn error came up when I added the code to the bottom of the php file, so I removed the line and updated the file. Then this error came up when I tried to remove the line and update the php. Let me know if you see anything in the screenshot that looks off? Because now I can no longer access the widgets as a result of the edit. Thank you for your time.
Attachments:
You must be logged in to view attached files.March 6, 2018 at 7:17 pm #44328
Artem TemosKeymasterTry to edit your files via FTP. Or provide us your FTP access and we will do this for you.
March 7, 2018 at 7:23 pm #44525
minimakidParticipantI have attached the login info for FTP to this post. This is the link: https://server250.web-hosting.com:2083/ or you can use itsawrapva.com/cpanel.
Thanks so much for your help!
March 8, 2018 at 7:11 am #44576
Artem TemosKeymasterWe meant FTP access to the server. Not your hosting CPanel. If you don’t have this data, you can contact your hosting providers and ask for that information.
March 8, 2018 at 11:33 am #44650
minimakidParticipantFor my provider, there isn’t really a link to FTP itself. You access FTP through cPanel. It’s like the first link on the dashboard. Were you unable to access it through cPanel? I made the account so that you could edit the files in FTP.
March 8, 2018 at 12:37 pm #44661
Artem TemosKeymasterWe can’t login prntscr.com/ioh0lq
March 11, 2018 at 5:13 pm #45243
minimakidParticipantThis one should work now!
March 11, 2018 at 5:54 pm #45257
Artem TemosKeymasterWe don’t see the child theme installed on your website. You need to add the code we gave you to the child theme’s functions.php file.
March 11, 2018 at 6:10 pm #45264
minimakidParticipantDoes that mean I need to re-install the child theme instead? And if I do that does it get rid of the content I’ve made on the site?
March 12, 2018 at 7:10 am #45294
Artem TemosKeymasterYes, you need to install and activate the child theme. When you will switch themes in Appearance -> Themes the only one problem that may occur is widgets configuration. Some widgets may disappear from their areas in Appearance -> Widgets. So you will need to turn them back manually in Appearance -> Widgets.
March 12, 2018 at 10:33 am #45347
minimakidParticipantThe child theme is now installed and activated. What should be the next step? Thanks again for your help!
March 12, 2018 at 10:34 am #45350
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file
add_filter( 'woodmart_alt_auth_method', '__return_true' );
March 12, 2018 at 10:38 am #45356
minimakidParticipantWhen I added the snippet it reported a syntax error.
March 12, 2018 at 10:40 am #45360
Artem TemosKeymasterCould you please write us a file where did you add the code so we can check on your website?
March 12, 2018 at 10:54 am #45373
minimakidParticipantI added the code to the bottom of the functions.php file in the child theme. I think it should be in the FTP as well. Do you need access to the Dashboard backend too?
March 12, 2018 at 11:01 am #45375
Artem TemosKeymasterStrange, but we don’t see the child theme there https://gyazo.com/a1b111f968c8fa90dfe9e75913f187fe
March 12, 2018 at 11:06 am #45379
minimakidParticipantIt is installed though. I just installed it an hour ago, so it should be there? If you look at the dashboard on itsawrap.com/wp-admin it is installed and active.
March 12, 2018 at 12:38 pm #45396
Artem TemosKeymasterMaybe we are looking into the wrong place? Could you please send us a path on your server where you have this website’s code.
March 12, 2018 at 1:16 pm #45403
minimakidParticipantThis is the directory that leads to the child theme’s functions.php file.
March 12, 2018 at 1:46 pm #45418
Artem TemosKeymasterSeems that you gave a wrong FTP access since we don’t have this folder.
March 12, 2018 at 1:54 pm #45420
minimakidParticipantI am using the same account as you. The account I sent over for cPanel was the same one I use. When you open cPanel are you clicking on “File Manager”? When you click on File Manager you should see this screen, and then type in the directory there in the box I made in the screenshot.
Attachments:
You must be logged in to view attached files.March 12, 2018 at 1:55 pm #45423
minimakidParticipantThe account info I sent over is the top level account for the web hosting service I use. So you should have all access.
March 12, 2018 at 2:40 pm #45444
Artem TemosKeymasterHi,
The problem seems to be caused by your hosting server. Google 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.
Regards
-
AuthorPosts
Tagged: google login
- You must be logged in to create new topics. Login / Register