Update WordPress with SFTP instead of FTP

Configuration instructions in Codex on Enabling SSH Upgrade Access recommend either: Using SSH SFTP Updater Support plugin from official repository. Using built–in SSH2 support, which requires the PECL SSH2 extension installed on the server. It used to refer to this tutorial: Using SSH to Install/Upgrade in before, which might be of use.

Not able to access admin panel after updating WordPress database fails

The problem, it turns out, was that the db_version field in the wp_options table and the wp_db_version variable in the file /wp-includes/version.php didn’t match. In my case (an upgrade to 3.5.2) the database showed “22441” while the PHP file showed “22442”. Changing the number in the database to “22442” solved the issue. I’m not quite … Read more

Can I upgrade a plugin to a specific version?

Using WP-CLI you can specify this as described in the official documentation. $ wp plugin update <plugin> Using either of the following arguments –minor Only perform updates for minor releases (e.g. from 1.3 to 1.4 instead of 2.0) –patch Only perform updates for patch releases (e.g. from 1.3 to 1.3.3 instead of 1.4) –version=<version> If … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)