hi,

i get a 404 with my home page. i have changed the theme to garland. i can step through the code, but i'm getting lost.

from index.php, i go into the bootstrap.inc. i eventually call function drupal_lookup_path, located in path.inc. I follow through and I see that $_GET['q'] is set to 'HOME'.

i step through the _drupal_bootstrap_full call, the routine that follows setting the path. when i finish the drupal_bootstrap call and return to index.php. $path is NULL.

i haven't found where $path gets set. does anyone have an idea how to troubleshoot the $path var so i can view a page?

thanks,

Comments

cafescott’s picture

hi, the version that i'm trying to get the home page to work is Drupal 6. (i'm trying to finish a migration from D5.)

thanks,

cafescott’s picture

hi,

i just can't seem to catch a break with Drupal. all pages on the site produce 404s. i tried rebuilding the menu and nothing came as a result. i saw this thread:
http://drupal.org/node/262892

i wish the poster at the bottom had explained better what data was corrupted.

i have stepped through the bootstrap.ini so many times and i still can't figure out why $path doesn't set--or where it gets set.

Can anyone lend a drowning developer a little help?

thanks,

cafescott’s picture

i found menu_execute_active_handler, and i'm stepping through it. $router_items is not being set. if i could just figure out why...