Hi

If I was reinstall a Drupal site from the most basic elemental level, then what are recommended steps?

I had a confounding problem that after many wasteful hours, I decided to start clean with a previous DB backup, clean drupal-contributed modules, and previous build versions of my custom modules.

NOW, here is where the proverbial Chicken and Egg problem comes in...

CHICKEN: The Site complains that my custom modules cannot find include files from drupal-contributed modules because calls to drupal_get_path('module', 'drupal-contributed-module') return blanks. For example

$module_path = drupal_get_path('module', 'drupal-contributed-module');  // return blanks
require_once('./'. $module_path .'/includes/basic.inc');

EGG: I removed the custom modules (to reinstall later) to quite the previous complaints, then the Site complains that it cannot find the calls and files from custom modules.

What should I do?

Thanks

Jeff in Seattle