Ok, I'm at a loss. I've had a text ad running with no problems for some time. Now I put an image ad in the same group and I can't get it to show up. I've looked through all the settings and I don't see anything wrong. It's active, published, has groups selected. But it never showed up. I tried disabling the text ad to see if that would make it show up and it still doesn't. This is the link it's using:
[Edit: Removed old, invalid link]
This is the message it's giving:
document.write('<!-- No active ads were found in the tids \'0\'. -->');
(And, yes, I'm postive the ad is active)
This is the debug info:
ad_dir: '(path snipped)/couleeregiononline/sites/all/modules/ad'
debug: '2'
cache: 'none'
nids: ''
tids: ''
hostid: ''
quantity: '1'
aid: '0'
Root drupal directory detected as '(path snipped)/couleeregiononline'.
(path snipped)/couleeregiononline/sites/all/modules/ad/adserve.php: // $Id: adserve.php,v 1.2.2.15.2.22 2007/07/25 04:42:02 jeremy Exp $
(path snipped)/couleeregiononline/sites/all/modules/ad/ad.module: // $Id: ad.module,v 1.2.2.29.2.43 2007/08/03 14:06:15 jeremy Exp $
No cache enabled.
Drupal bootstrap '7'.
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at (path snipped)/couleeregiononline/sites/all/modules/ad/adserve.inc:232) in (path snipped)/couleeregiononline/includes/bootstrap.inc on line 862
Warning: Cannot modify header information - headers already sent by (output started at (path snipped)/couleeregiononline/sites/all/modules/ad/adserve.inc:232) in (path snipped)/couleeregiononline/includes/bootstrap.inc on line 531
Warning: Cannot modify header information - headers already sent by (output started at (path snipped)/couleeregiononline/sites/all/modules/ad/adserve.inc:232) in (path snipped)/couleeregiononline/includes/bootstrap.inc on line 532
Warning: Cannot modify header information - headers already sent by (output started at (path snipped)/couleeregiononline/sites/all/modules/ad/adserve.inc:232) in (path snipped)/couleeregiononline/includes/bootstrap.inc on line 533
Warning: Cannot modify header information - headers already sent by (output started at (path snipped)/couleeregiononline/sites/all/modules/ad/adserve.inc:232) in (path snipped)/couleeregiononline/includes/bootstrap.inc on line 534
Ads previously served: 0
Searching for ads with no tids.
Query: "SELECT a.aid, a.adtype, a.redirect, a.activated, a.maxviews, a.maxclicks FROM {ads} a LEFT JOIN {term_node} n ON a.aid = n.nid WHERE a.adstatus = 'active' AND n.tid IS NULL ORDER BY RAND() LIMIT 1;"
Ads displayed: 0
document.write('');
Hopefully someone has a clue because I don't. :(
Thanks,
Michelle
Comments
Comment #1
jeremy commentedThe debug does not match the URL you provided. In the URL provided, there is a massive list of nids. But in the debug output you're supplying there are no nids.
To collect debug, you should have used the following URL:
In any case, the lengthy list of nids suggests that you are using the Views generated block (or a custom view) -- unfortunately there are some unresolved issues with the ad views logic. It is possible that this is preventing your ad from being displayed. As a work around, try using the module generated blocks that will look something like "ad group: default", where "default" should be the name of the group from which you wish to display your ad.
If that doesn't work, please collect debug again using the new adserve url.
Comment #2
michelleThat is the URL I used to get the debug info. No idea why the nids aren't in it.
I wasn't even aware that this module worked with views. After I added a group, I saw there was a block that said "All active Front Page Ads group ads" and didn't even realize there was another one. I've now changed it to "ad group: Front Page Ads" and it's working fine.
Thanks very much for the quick help!
Michelle
Comment #3
(not verified) commented