It seems you overrode the wp-config.php file by inserting only those two lines. This file is essential for WordPress to function at all, as it contains, among other things, the database credentials.
If you made a backup of the file before making this change, restore that backup.
If you don’t have a backup of the file, you have two options:
Try to reconstruct the file manually. You should still have a file named wp-config-sample.php in the same directory. If not, use this one: https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php – you’ll need to rename it to wp-config.php and then enter the database credentials. You may also need to adjust the table prefix if you changed it during the initial installation. Save, and you’re done.
Or perform a complete reinstallation of WordPress. To do this, it’s best to delete the entire directory and the database and start over from scratch.
The actual problem you initially had was that WordPress couldn’t write to its directories and files. There’s also an article about this here: https://developer.wordpress.org/advanced-administration/server/file-permissions/
The latest news on Haiti and the Haitian diaspora around the world
Total views : 5454
Who's Online : 1
Your IP Address : 216.73.216.131
Server Time : June 6, 2026 2:45 am