Project:Advertisement
Version:6.x-2.1
Component:adserve.php
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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.

#2

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

#3

Status:postponed (maintainer needs more info)» fixed

Thanks, fix committed:
http://drupal.org/cvs?commit=293126

#4

Status:fixed» closed (fixed)

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