I am not so into WordPress and I have the following problem.

Some years ago I create this WordPress site for a humanitarian association of a friend. Then I never administrated it for years.

Today my friend call me and say to me that the WordPress site disappeared

So going on the main page:

http://test.com/

it shows the WordPress installation page. I really have no idea about what could happen and what who handle this site can have done.

The only idea is that maybe have done the WordPress version update and something went wrong. I have not a recent backup

What can happen? How can I try to solve this situation and restore the website? Going into the FTP it seems that the file and the theme are here. The only strange thing is that there is the install.php installation script into the admin folder and I am pretty sure to have removed after the installation years ago.

The most common thing that happens in the case where you suddenly get a prompt to install WordPress when a site was running OK is that the database connection details were changed.

This can be caused by the host changing the database URL, or login or password was changed in the Cpanel; or the connection details were changed in the wp-config.php file, or even the wp-config.php file was deleted.

Check for the existence of the wp-config.php file using FTP, and if it is still there, check the connection details - database name, user, password, URL - with the Cpanel. See https://codex.wordpress.org/Editing_wp-config.php

The only strange thing is that there is the install.php installation script into the admin folder and I am pretty sure to have removed after the installation years ago.

This file will be reinstalled on an update; so the site was probably updated at some point in the past. (You can remove the file for security, but it's not a great security defense.) An standard WordPress manual or automatic update won't trigger the "install" screen; only an issue with wp-config.php and database details will do that.

  • No the file wp-config.php is present and the database connection parameter are correct :-( – AndreaNobili Feb 5 '17 at 0:08
  • 1
    Did you check the database table prefix? Did you see if the database exists with phpmyadmin in Cpanel? – markratledge Feb 5 '17 at 1:08

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.