WordPress.org

Support

Support » Plugins and Hacks » Simple Twitter Connect » [Resolved] [Plugin: Simple Twitter Connect] The blank page

[Resolved] [Plugin: Simple Twitter Connect] The blank page

Viewing 7 replies - 1 through 7 (of 7 total)
  • I’m getting exactly the same problem …/?oauth_token=B2l38X7TWQxPViWt49mCQlMKEDF5JHtZpXW97451YPQ&oauth_verifier=QI6C9Gwtk8CXfmO7dwM72mJ01uZOBISrDQfS9hAig

    It won’t load further than that blank page.

    I’m having the same problem. Not sure where to start debugging this. I’ve switched to a simple wordpress .htaccess, so it isn’t that.

    My URL is

    http://twopixel.co.uk/?oauth_token=9lBa6eHgSxXCKl805LAXkXdQWKCTyqR8Ivs3GNRUDU&oauth_verifier=gNH2y8EQUesrSLQXwh1vDGUHRygOWzeDDjdlaSf2bt0

    Which generates a blank page with minimal HTML headers.

    if I turn on wp debugging, I get

    Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_g848d55kt0o1hll1auccpk9hc7, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 33

    Notice: Undefined index: stc_req_token in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 189

    Notice: Undefined index: stc_req_secret in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 189

    Notice: Undefined index: oauth_token in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/twitterOAuth.php on line 118

    Notice: Undefined index: oauth_token_secret in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/twitterOAuth.php on line 118

    Notice: Undefined index: oauth_token in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 193

    Notice: Undefined index: oauth_token_secret in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 194

    Notice: Undefined index: oauth_token in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 196

    Notice: Undefined index: oauth_token_secret in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 196

    Notice: Undefined index: stc_callback_action in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 199

    Notice: Undefined index: stc_callback in /var/www/vhosts/twopixel.co.uk/httpdocs/wp-content/plugins/simple-twitter-connect/stc.php on line 204

    Warning: Unknown: open(/var/lib/php/session/sess_g848d55kt0o1hll1auccpk9hc7, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

    Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_g848d55kt0o1hll1auccpk9hc7, O_RDWR) failed:

    That is your problem.

    This plugin requires that PHP session support be available and working. In your case, it appears that the session support isn’t setup properly on your server.

    If you have the ability to use a custom php.ini file (most shared hosts offer this to a limited extent), then you can create a directory in your hosting account called something like /tmp or whatever, and then edit the php.ini to set the sessions.save_path value to that directory. This will give the sessions a place to be created.

    A future version of STC may remove the need for sessions.

    Excellent thanks! I will have a go at getting the session support configured.

    I edited stc.php at line 32 and added ini_set()

    function stc_init() {
    
      ini_set ('session.save_path', '/var/www/vhosts/twopixel.co.uk/.somefolder');
    
    ...

    Sign in for comments is now working (which is what I wanted)

    Thanks again for the help.

    Don’t edit the plugin. Put that code into your wp-config.php file instead, right at the top of the file.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Simple Twitter Connect] The blank page’ is closed to new replies.
Skip to toolbar