Error when loggin in wiht Facebook - by David Henry

This topic has 12 replies, 3 voices, and was last updated 7 years, 2 months ago ago by Olga Barlow

  • Avatar: David Henry
    David Henry
    Participant
    August 31, 2017 at 19:03

    everything goes fine until I click the OK to allow access, then I get a large error, I’ve pasted this into the private into but the bones is:

    failed to open stream: no suitable wrapper could be found in /usr/www/users/spindk/wp-content/plugins/et-core-plugin/inc/functions.php on line 32

    Any ideas?

    Please, contact administrator
    for this information.
    11 Answers
    Avatar: David Henry
    David Henry
    Participant
    September 1, 2017 at 15:17

    anyone know how to fix this issue?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 4, 2017 at 10:24

    Hello,

    Sorry for the delay.
    Check the documentation https://www.8theme.com/documentation/xstore/troubleshooting/facebook-login/ and make sure that file_get_contents() function is enabled in the server configuration.

    Regards

    Avatar: David Henry
    David Henry
    Participant
    September 4, 2017 at 14:13

    Hi Rose,

    I’ve checked everything and it’s all right.

    I have also set allow_url_fopen to on, I now see a different error:

    Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/spindk/wp-content/themes/xstore/framework/thirdparty/vendor/opauth/facebook/FacebookStrategy.php:77) in /usr/www/users/spindk/wp-content/themes/xstore/framework/thirdparty/vendor/opauth/opauth/lib/Opauth/OpauthStrategy.php on line 315

    Any ideas?

    Avatar: David Henry
    David Henry
    Participant
    September 4, 2017 at 14:16

    update, as per this post I’ve disabled debug, but is this a good idea?

    https://www.8theme.com/topic/facebook-login-doesnt-work/

    Is has fixed this issue though.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 7, 2017 at 08:37

    Hello,

    I see the different error when checking your site. What version of PHP do you use? Could you provide me temporary admin panel and FTP access to your site?
    Is mysql_escape_string() enabled on your server?

    Regards

    Avatar: David Henry
    David Henry
    Participant
    September 7, 2017 at 12:38

    php is 7.0.1, I’ve switched to 5.6 nad the page loads but with errors which you can see if logged it. e.g.:
    syntax error on wp-content/themes/xstore/functions.php:117

    Please, contact administrator
    for this information.
    Avatar: David Henry
    David Henry
    Participant
    September 7, 2017 at 15:38

    this is what my host says by the way…

    mysql_escape_string() is provided by default on all PHP installations from 4.4 to 5.6.

    The function has been removed by the PHP developers starting from version 7.0

    It looks like you cannot use php7.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 8, 2017 at 16:49

    Hello,

    I don’t see any errors now.
    Please, describe your actions step by step to reproduce the problem.

    Regards

    Avatar: David Henry
    David Henry
    Participant
    September 8, 2017 at 19:12
    1. ok, go to this page:
      https://stage.spindizzyrecords.com/my-account/
    2. Login with facebook
    3. if you’ve logged successfully, browse to any other page
    4. If you have admin status you should now see a red button at the top, click it to see the errrors: http://i.share.pho.to/dbd245f0_o.png

    If the theme or the facebook element doesn’t work with php7.0.1 then maybe I’m better off dropping it, what do you think?

    Avatar: David Henry
    David Henry
    Participant
    September 8, 2017 at 19:27

    here’s another error:
    http://i.share.pho.to/0f3e6961_o.png

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 11, 2017 at 13:26

    Hello,

    Could you increase max input vars limit to 3000? I faced FB error and seems that request is larger than 1000 and can’t be completed. After that, we’ll check errors that you sent on screeshots because we don’t see them when we are logged in using the default username and pass.

    Regards

  • Viewing 12 results - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.