[wp-trac] [WordPress Trac] #30802: General settings menu isn't opened.

WordPress Trac noreply at wordpress.org
Mon Feb 2 16:48:54 UTC 2015


#30802: General settings menu isn't opened.
-------------------------------+--------------------
 Reporter:  hyoseop            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.1.1
Component:  Filesystem API     |     Version:  4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+--------------------

Comment (by mc_teo):

 Hey All,

 I just updated a WordPress installation to 4.1 and have the same problem:
 general settings won't open, and it won't allow me to delete plugins. Both
 get the same error.

 I searched around, and in the Apache error log, there is the following
 line, multiple times per page request:
 {{{
 [Mon Feb 02 15:08:55 2015] [error] [client <ip>] PHP Warning:
 stream_set_timeout(): No support for ssh2 stream timeout. Please recompile
 with libssh2 >= 1.2.9 in /home/<user>/public_html/wp-admin/includes
 /class-wp-filesystem-ssh2.php on line 139, referer: http://<host>/wp-
 admin/
 }}}

 The line referred to is: (class-wp-filesystem-ssh2.php:139)
 {{{
 stream_set_timeout( $stream, FS_TIMEOUT );
 }}}

 The version of libssh2 I had installed (latest version from Ubuntu 10.04
 repos) was about 1.1.0, so I built the latest libssh2 version (1.4.3), and
 built the latest php-ssh2 extension (0.12) (using phpize if it matters),
 and reloaded apache. It now shows up in phpinfo() that php-ssh2 was built
 with 1.4.3, but it didn't change anything with the error. I don't know if
 its a case of something else that needs to be changed to force WordPress
 to use this updated extension, or what.

 It should be noted that I hardcoded the credentials in wp_config.php

 {{{
 define('FTP_PUBKEY', '/home/<user>/.ssh/id_rsa.pub');
 define('FTP_PRIKEY', '/home/<user>/.ssh/id_rsa');
 define('FTP_USER', '<user>');
 define('FTP_PASS', '');
 define('FTP_HOST', 'localhost');
 }}}

 On how I built the php-ssh2 extension; I just followed
 http://php.net/manual/en/install.pecl.phpize.php, but now I notice in
 phpinfo(), there is a PWD environmental variable set to the path that I
 built php-ssh2. Shouldn't this be the path the .php file is in?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30802#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list