The problem: Yahoo! web hosting does not allow directory names with periods ('.') in them, so the Drupal feature that allows you to have multiple sites from a single Drupal installation does not work as is.

Work around: Yahoo! does allow you to put an underscore ('_') in a directory name, so I named my site directory, for example, store_purpleeor_com. Then, you look in includes/bootstrap.inc and you see this line in function conf_init():

      $dir = implode('.', array_slice($server, -$j)) . implode('.', array_slice($uri, 0, $i));

Replace the periods ('.') with underscores ('_') so that the line looks like this:

      $dir = implode('_', array_slice($server, -$j)) . implode('_', array_slice($uri, 0, $i));

Save, and Voila! the problem is fixed, and Drupal on Yahoo! can have multiple sites.

Suggestion: make a change in bootstrap.inc so that the folder delimiter in the above line can be set in the settings.php for each site.

- Purpleeor

Comments

purpleeor@purpleeor.com’s picture

Should I have posted this elsewhere?

- Eor