carlosrpj
By:
carlosrpj

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

May 24, 2017 163 views
WordPress Ubuntu

Associated Droplet: negociofechado

Dear we are facing this page on our site, the same is without access, please kindly contact us regarding this message, because all the time is asking to verify the settings, follow the message below ....

We wait and count with your support, we have the system without access ...

THIS MESSAGE BELOW IS WHAT APPEARS WHEN YOU ACCESSED THE SITE:

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

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Hostname
107.170.14.168
FTP Username
negociosfechados
FTP Password
•••••
Connection Type
FTP FTPS (SSL)

2 Answers

Use SSH to fix your permissions using chmod and chown.

@carlosrpj

Unless you've installed and configured FTP software on your Droplet, you won't be able to use FTP and would need to use SFTP.

That said, generally this isn't required if proper permissions are setup to allow WordPress to read + write. How you'd go about this depends on whether you're using Apache or NGINX.

On Apache, www-data is the default user that needs to own your files and directories, so if you are running Apache, you'd need to set ownership on the files.

For example, if you're home directory (where index.php is) is:

/var/www/html

You may need to run:

chown -R www-data:www-data /var/www/html

NGINX works slightly different in that permissions need to be set for the user that is running the PHP process(es). By default, that's www-data as well, so the same command could be used.

Have another answer? Share your knowledge.