Social Login error

This topic contains 8 replies, has 4 voices, and was last updated by  Bjorn Nielsen 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #2910

    Brian Wilson
    Buyer
    Post count: 11

    I installed the plugin and have setup the API’s multiple times now. No matter what I do, when I click on the social icon on the login form, it shows:

    ERROR: Session path doesn’t exist:

    Not sure what to do to get this working. Any help is appreciated. I was using the Nextend Social Plugin before and had no issues with the API keys generated for them.

    #2912

    Alex Rollin
    Moderator
    Post count: 27815

    Sessions are required on the server to make the social login work.

    We can check on that for you, but you should also put in a request to your host to make sure sessions are enabled on the server.

    If you would like us to check, please provide WP Admin and FTP. We need FTP to be able to check on this.

    Thanks

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    FTP Credentials
    FTP Host:
    FTP Port:
    FTP User:
    FTP Password:

    #2913

    Brian Wilson
    Buyer
    Post count: 11
    This reply has been marked as private.
    #2926

    Patrik
    Moderator
    Post count: 1971

    Hi,

    ERROR: Session path doesn’t exist:

    This can be fixed by your hosting provider as this error displays when the session directory is not available or writable on your hosting.

    If you are self-hosted:
    It is telling us the folder does not exist, you can use this code to check where it is checking

    
    
    $foldername = session_save_path();
        if (is_writable($foldername)) {
            echo '<br>The Sessions folder is writable:'.$foldername;
        } else {
            echo '<br>The Sessions folder is not writable:'.$foldername;
        }

    Let me know if any questions.

    Regards,
    Patrik

    #2927

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Regarding errors in Twitter social login, it is due to debugging enabled by your hosting provider and it should be disabled. If you can ask your provider to disable it then it will be removed and the login will work properly. I have fixed it by placing the following code in a php.ini file on root folder:

    
    
    display_errors = Off
    display_startup_errors = Off
    log_errors = On
    ignore_repeated_errors = On
    ignore_repeated_source = Off
    html_errors = Off

    This will override the default configurations of hosting provider for your site. You can keep this as well and it will not affect anything on your site. Please check the things and let me know if this resolved your issue or not.

    Regards,
    Patrik

    #2931

    Brian Wilson
    Buyer
    Post count: 11

    Thanks Patrik! That did the trick and resolved the issues with the Twitter social login. I contacted the host and they said that nothing else really needs to be done since you resolved it with the php.ini file. Thank you!

    #3069

    Bjorn Nielsen
    Buyer
    Post count: 21

    I have the same problems, tryed those advice i read here without luck…. Maybe someone can give me another hint, how to fix….
    I have the problem, With FB Button

    #3070

    Patrik
    Moderator
    Post count: 1971

    Hi Bjorn,

    I would suggest you create a new topic and provide your admin and FTP details in private reply so that we can help you to fix the issue.

    Regards,
    Patrik

    #3072

    Bjorn Nielsen
    Buyer
    Post count: 21

    new topic created.. plz close or delete those here….

Viewing 9 posts - 1 through 9 (of 9 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket