lisa
(@contentiskey)
Your WP-config file is accessible when you view your website’s files when using an FTP client.
Do you have access to your files via FTP client?
I have never used a FTP client, sorry I’m new to all this!
Is this something I can download or do I go through my hosting?
Thanks
Hannah
lisa
(@contentiskey)
who is hosting your website?
my hosting is 123-reg. I got told to use the FTP client by them and got given the user and password information. Now I get this error message
Error: Could not connect to server
Status: Waiting to retry…
Status: Resolving address of http://ftp.subtle.fm
Status: Connecting to 46.32.240.39:21…
Status: Connection attempt failed with “ECONNREFUSED – Connection refused by server”.
Error: Could not connect to server
lisa
(@contentiskey)
Yes, it sometimes takes a few tries to get into your website using an FTP client to it set up correctly. Are you using filezilla for your FTP client?
lisa
(@contentiskey)
double check with your host for the exact settings to login via FTP.
another alternative is to use Quick Connect in FTP instead of the site manager in FTP client.
I’ve tried connecting through quick connect again no luck. Ill get on to my hosting first thing maybe thats the problem.
@contentiskey… do you mind if I interject?
lisa
(@contentiskey)
@contentiskey… I believe you are correct.
@hannahcarroll95… please only post one thread for a problem. You were working with James Huff before. So, if you want assistance, please stay with this thread.
Your host is 123-reg, correct?
And is your site http://subtle.fm ?
On 123-reg, there is a link at the top which says “Control Panel”.
This should log you in to your account.
Once you are in, see if there is a link which says “File Manager”.
If there is not, then there should be a link which may be labelled “Your Domain” or something similar.
Hello,
Thank you very much for getting back to me I have managed to access the file.
If you don’t mind I just have another question about the database error.
This is what I got told by my hosting;
I have tried to login to the database used by the website with the login credentials from the wp-config.php file, however I was not able to do so via phpMyAdmin.
Please make sure that the database password is correct. If you have forgotten the password, you can reset it following this support article: https://www.123-reg.co.uk/support/answers/Web-Hosting/Databases/changing-a-database-password-4172/
After the database password has been changed, you need to add the new password in wp-config.php as well.
After I change the wp-config.php file in text edit, how to I upload the new copy so I can have the website back up and running.
Thanks for all your help
Hannah
Did you access the file through “File Manager” or through “cPanel > File Manager”?
phpMyAdmin takes you right in to the database, which is where you do not want to be.
In the wp-config.php file did you change the DB_NAME, DB_USER, and DB_PASSWORD to match what your database is?
Is your DB_HOST “localhost”?