Support » Plugin: SSH SFTP Updater Support » Persistent Login Screen

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author TerraFrost

    (@terrafrost)

    I apologize for the tardyness of this response.

    Anyway…

    In class-wp-filesystem-ssh2.php can you find and uncomment out this line?:

    //define(‘NET_SFTP_LOGGING’, NET_SFTP_LOG_REALTIME);

    If you could post the output after that that’d be helpful.

    In lieu of those… it’s possible the server is just blocking requests from localhost or something. If that’s what was going on the logs wouldn’t be of too much use but the logs could provide insight if there was something else at play.

    Thanks!

    Thanks for your response.

    I’ve uncommented that line and re-tested.

    I’m still getting the same error message.

    Plugin Author TerraFrost

    (@terrafrost)

    Assuming that the output didn’t change when you did that… open class-wp-filesystem-ssh2.php and find this line:

    if ( ! $this->link ) {
    			$this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
    			return false;
    		}

    Replace it with this:

    if ( ! $this->link ) {
    			$this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
                            exit('THIS FAR')
    			return false;
    		}

    And tell me what happens.

    I’m still getting the same error message.

    The change I had you made wasn’t intended to fix the issue so much as to provide me info with which to diagnose it.

    Dreamweaver is telling me that there is a syntax error with that line of code.

    I replaced it anyways, and now I’m getting a blank screen in WordPress when I enter in my login credentials.

    Still no fix. 🙁

    Plugin Author TerraFrost

    (@terrafrost)

    I left off the semi-colon for exit('THIS FAR'). Try this:

    if ( ! $this->link ) {
    			$this->errors->add('connect', sprintf(__('Failed to connect to SSH2 Server %1$s:%2$s'), $this->options['hostname'], $this->options['port']));
                            exit('THIS FAR');
    			return false;
    		}

    (I’d edit my orig post but it doesn’t appear that I can)

    Still no fix. 🙁

    It’s not supposed to fix it so much as provide me with more diagnostic information.

    I updated my code with the semi-colon.

    Plugin Author TerraFrost

    (@terrafrost)

    So what happened? Can you give me a screenshot of the page you’re seeing when you try to login with this plugin?

    Thanks!

    Ahh, I’m still receiving the same error from the beginning with the screens being stuck on the credential page.


    There was an error connecting to the server, Please verify the settings are correct.

    This editor doesn’t allow me to upload the screenshot!

    Thanks!

    Plugin Author TerraFrost

    (@terrafrost)

    It’s not saying anything else?

    You can post a screenshot here:

    http://imgur.com/

    Thanks!

    Plugin Author TerraFrost

    (@terrafrost)

    Can you post a screenshot of the “There was an error connecting to the server, Please verify the settings are correct.” error that you’re getting?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Persistent Login Screen’ is closed to new replies.