Community Documentation

05. If something goes wrong

Last updated February 9, 2008. Created by EdInJapan on February 6, 2007.
Log in to edit this page.

Something "bad" happen?

For example, you get a white screen with a short error message no matter what you do. You can't even get to your site to login anymore. All appears to be lost.

There are a few possibilities.

First, is the minor version of Localizer the one that correctly corresponds to the minor version of Drupal 5.x you are using? If not, that situation must be rectified. (See the explanation about why under the topic "Disclaimer about pre-patched files" elsewhere in this document.)

Other possibilities have to do with paths being messed up.

First, check to make sure that the patched Drupal code is in the right place. You should have sites/all/modules/localizer/menu, and sites/all/modules/localizer/taxonomy folders. If these are missing, this may be the cause.

Next, check the modification you made to settings.php. If you forgot to change permissions when you did the edit, you may find that the change was never put in, even though Cpanel says "successfully saved". Go back to that step and try again after changing the permissions.

On the other hand, if the modification is there, it may be that the path to localizer_settings.php is simply wrong for your environment. For example, some people have reported that they had to put "./" before "sites" in the path to get things to work.

If none of the above work to fix the issues, it is probably time to return things to their original state and start over with the installation process another time. As you may want to try again another day, the way to put your site back to its original shape is as follows:

  1. If you can, log into your Drupal site as administrator, and go to Administer > Site building > modules and turn off all Localizer-related modules.
  2. Using Cpanel's file manager, delete the localizer folder and its contents from Drupal's sites/all/modules directory.
  3. Using Cpanel's file manager, delete all the modified settings.php file and replace it with your backup. (Or, just take out the modified line again.)

Remember to take your site out of maintenance mode.

If your site still doesn't work--well, you have that backup mentioned earlier right? :-)

nobody click here