Error when loggin in wiht Facebook - by David Henry

11 replies3 participantsUpdated by Olga Barlow

  • Avatar: David Henry
    David Henry
    Participant

    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

    anyone know how to fix this issue?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    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

    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

    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
    Participant

    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

    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

    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
    Participant

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

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

    Avatar: Olga Barlow
    Olga Barlow
    Participant

    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

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register