adserve_variable('root_dir') is empty on my windows vista + iis7 + drupal 6.19 installation. So it wants to look for /includes/bootstrap.inc instead of c:\inetpub\www\drupal\includes\bootstrap.inc

require_once adserve_variable('root_dir') .'/includes/bootstrap.inc'; fails.

But if I add the right path manually, then bootstrap cant find cache.inc suddenly. Etc. etc. Seems to be a problem for windows people.

Comments

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

If you enter a correct root_dir, then the ad module shouldn't have any trouble finding adcache.inc. Please follow the directions in documentation/DEBUG.txt and provide the output here.

attiks’s picture

change line 262 to $path = explode('/', str_replace('\\', '/', adserve_variable('ad_dir')));

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.