ERROR: There was an error connecting to the server, Please verify the settings
While updating the WordPress plugin using FTP client I was getting the error as -
'ERROR: There was an error connecting to the server, Please verify the settings are correct'.
Solution -1. Enable the debug mode for your WordPress site -
You can enable it from wp-config.php file. You can update the below value -
define( 'WP_DEBUG', true );2. Check the permission for plugin directory -
Please make sure you have read and write permission (777) for plugin directory.3. FTP Setup -
Make sure the you've below setup in your wp-config.php file for FTP -
define( 'FS_METHOD', 'ftpext' );define( 'FTP_BASE', '/path/to/wordpress/' );define( 'FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/' );define( 'FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/' );define( 'FTP_PUBKEY', '/home/cPanel_username/.ssh/id_rsa.pub' );define( 'FTP_PRIKEY', '/home/cPanel_username/.ssh/id_rsa' );define( 'FTP_USER', 'username' );define( 'FTP_PASS', 'password' );define( 'FTP_HOST', 'ftp.your_site_name' OR 'your hostname');define( 'FTP_SSL', false );Make sure you are able to connect to your account using the FTP details in wp-config.php file.
4. SSH SFTP Updater Plugin -You'll need to make sure, if you've 'SSH2 SFTP Updater Plugin' enabled then in connection information, connection type should be SSH2.It resolved my issue!
Was this answer helpful?
Is it possible to exlude file/folder from the full cPanel backup on cPanel server? Solution :-...
1. Steps for WHM: I. Log into WHM >> Basic cPanel & WHM Setup II. Change the Primary...
While accessing the WordPress site and dashboard, I was getting the error as 'MySQL Error 28'....
'mod_pagespeed' is module of Apache which is nothing but plugin which is used for compressing the...
There is always issues on the server like Hard Drive Failures and its very important to keep your...
Powered by WHMCompleteSolution