version: $Id: banner.module,v 1.70.2.7 2006/09/26 08:50:12 wulff Exp $

banners work fine except - on some nodes the banner we've placed in the header section doesn't appear
the banners in the footer and the side appear, just not the header - page source looks fine

this is particularly noticeable on the book pages here:
http://www.nativespain.com/node/71 - this page has a banner in the header
http://www.nativespain.com/node/81 - this page has an empty container (all pages inside the book, except the first page of the book, have this problem)

thanks in advance
Debs

Comments

sun’s picture

Category: bug » support

I think you've got a file path issue. The inserted javascript from

http://www.nativespain.com/banner_db.php?group=1&count=1&terms=0&max=1&p...

injects the following snippet

document.write('<a href="/banner/187" title="http://www.nativespain.com/node/88"><img src="http://www.nativespain.com/system/files/tower-advertise.gif" width="126" height="200" alt="" /></a>');

whereas http://www.nativespain.com/system/files/tower-advertise.gif leads to a 404.

Please ensure that you have proper file path settings in your global site configuration. It looks like system/ is somewhere prepended to your banner file urls.

debsjenkins’s picture

Thanks Sun, I needed to allow unregistered users to access uploaded images and I think it all works now - thanks for taking the time to respond to me
Debs

sun’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)