I’ve been fixing Lauren’s drupal site for the past couple o’ days. Her Fantastico upgrade wasn’t so fantastico, so it corrupted her junk.
Fixed via
- MySQL dump of database (say, into “backup.mysql”)
- Delete & re-install Drupal via Fantastico (proper syllabic emphasis required). At this point you have a fresh, clean Drupal site. So fresh! And so clean!
- Figure out Drupal database credentials (e.g. “grep db_url ~/path/to/drupal/sites/default/settings.php”)
- Drop Drupal database (e.g. “drop database user_drpl1″–caveat lector!)
- Create Drupal database (e.g. “create database user_drpl1″)
- Re-import old database via MySQL import: “mysql -u user_drpl1 -p user_drpl1 < backup.mysql”
- Download Drupal and get the “update.php” file
- Edit this file to change TRUE to FALSE and put it in your ~/path/to/drupal/
- Call the file: http://www.example.com/path/to/drupal/update.php
- Do its bidding
- Delete upgrade.php
- In Lauren’s case, fix themes via “cd ~/path/to/drupal/themes; ln -s bluemarine theme-she-used-but-doesnt-exist-anymore”)
That’s it! ![]()