Community Documentation

Corrupted Drupal file(s)

Last updated November 11, 2009. Created by Francewhoa on November 11, 2009.
Log in to edit this page.

If none of the previous solutions worked you could try the following. But this should be try as a last resort.

Steps

  1. Backup your database and files so you can revert if the following is not working. Read more about backups at http://drupal.org/node/22281
  2. Delete all Drupal core files. But do not delete other appropriate files though. For example do NOT delete the settings.php file located under sites/default/settings.php. And do NOT delete the all folder and its sub-folders located under /sites/all
  3. Download a fresh drupal-X.XX.tar.gz at http://drupal.org/node/3060/release Make sure you download the exact same version that was installed before the error. For example if you were using Drupal version 6.12 then you should download Drupal version 6.12 tarbal. Not a more recent version. Otherwise it might not work. To know which version of Drupal 6 was installed, open the CHANGELOG.txt file. This file is located in your Drupal root folder. The first section of this file indicated your Drupal version.
  4. Install the fresh Drupal core. To do so read the README.txt file located inside the Drupal tarbal.
  5. Go to http://YOUR-DOMAIN-NAME-HERE.com/update.php
  6. Follow instructions on screen. Start by clicking on Continue button.
  7. If not working revert to your backup files. The files from above step 1.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 4.5.x or older, Drupal 4.6.x, Drupal 4.7.x, Drupal 5.x, Drupal 6.x, Drupal 7.x
Audience
Developers and coders, Site administrators

Reference

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here