Hello,

I am been trying for several days to get the ads to display on my site but I have tried everything and have had no luck.

They have been uploading fine, but when I create a group and try to display that ad block nothing displays and the adserve.php message is :

document.write('\x3c!-- No active ads were found in t1 --\x3e');

The full debug text is below :

ad_dir: '/home/content/c/h/a/change12/html/drupal/modules/ad'
debug: '2'
adcache: 'none'
nids: ''
tids: '1'
hostid: ''
url: 'blog'
quantity: '1'
aid: '0'
ad_display: 'javascript'
--> Time mark: 11:45:49
Memory usage: 395.375 K
Drupal bootstrap '0'.
Drupal bootstrap complete.
Root drupal directory detected as '/home/content/c/h/a/change12/html/drupal'.

/home/content/c/h/a/change12/html/drupal/modules/ad/serve.php: // $Id: serve.php,v 1.1.2.2.2.1.2.1 2009/02/23 22:39:02 jeremy Exp $
/home/content/c/h/a/change12/html/drupal/modules/ad/adserve.inc: // $Id: adserve.inc,v 1.1.2.31.2.8.2.7 2009/04/09 14:06:27 jeremy Exp $
/home/content/c/h/a/change12/html/drupal/modules/ad/adcache.inc:
/home/content/c/h/a/change12/html/drupal/modules/ad/ad.module: // $Id: ad.module,v 1.2.2.29.2.83.2.16.2.21 2009/04/16 14:24:53 jeremy Exp $
/home/content/c/h/a/change12/html/drupal/modules/ad/ad.install: // $Id: ad.install,v 1.2.2.4.2.27.2.7.2.4 2009/04/03 17:01:02 jeremy Exp $

adserve_cache function(get_ad_ids)
Cache function 'ad_cache_none_get_ad_ids' does not exist.
Memory usage: 402.719 K
Invoking cache function 'adserve_cache_get_ad_ids'.
Entering default adserve_display.
adserve_cache function(open)
Cache function 'ad_cache_none_open' does not exist.
Memory usage: 403.074 K
Invoking cache function 'adserve_cache_open'.
Drupal bootstrap '8'.
--> Time mark: 11:45:50
Memory usage: 12,253.523 K
Drupal bootstrap complete.
Hostid: 'none'.
adserve_invoke_hook hook(init) action(first)
adserve_cache function(hook)
Cache function 'ad_cache_none_hook' does not exist.
Memory usage: 12,253.590 K
Invoking cache function 'adserve_cache_hook'.
adserve_cache function(get_cache)
Cache function 'ad_cache_none_get_cache' does not exist.
Memory usage: 12,253.711 K
Invoking cache function 'adserve_cache_get_cache'.
adserve_cache function(build_hooks)
Cache function 'ad_cache_none_build_hooks' does not exist.
Memory usage: 12,256.715 K
Invoking cache function 'adserve_cache_build_hooks'.
Did not find hook 'init'.
Function 'adserve_hook_init' does not exist.
adserve_cache function(id)
Cache function 'ad_cache_none_id' does not exist.
Memory usage: 12,256.754 K
Invoking cache function 'adserve_cache_id'.
Unsupported type 'host'.
Searching tids: 1
adserve_cache function(id)
Memory usage: 12,256.754 K
Invoking cache function 'adserve_cache_id'.
Total ads: '0'.
Already displayed: 0
adserve_cache function(validate)
Cache function 'ad_cache_none_validate' does not exist.
Memory usage: 12,257.168 K
Invoking cache function 'adserve_cache_validate'.
Validated ads: '0'.
adserve_invoke_hook hook(filter) action(intersect)
adserve_cache function(hook)
Memory usage: 12,257.168 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'filter'.
Invoking 'adserve_hook_filter'.
Filtered ads: '0'.
adserve_invoke_hook hook(weight) action(first)
adserve_cache function(hook)
Memory usage: 12,257.168 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'weight'.
Invoking 'adserve_hook_weight'.
Weighted ads: '0'.
adserve_invoke_hook hook(select) action(first)
adserve_cache function(hook)
Memory usage: 12,257.168 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'select'.
Invoking 'adserve_hook_select'.
No more advertisements available.
Selected ads: '0'.
adserve_cache function(display)
Cache function 'ad_cache_none_display' does not exist.
Memory usage: 12,257.168 K
Invoking cache function 'adserve_cache_display'.
adserve_cache function(increment)
Cache function 'ad_cache_none_increment' does not exist.
Memory usage: 12,257.230 K
Invoking cache function 'adserve_cache_increment'.
adserve_cache_increment action(count) aid() hostid()
Drupal bootstrap '8'.
Drupal bootstrap complete.
adserve_invoke_hook hook(increment_extra) action(merge)
adserve_cache function(hook)
Memory usage: 12,257.488 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'increment_extra'.
Function 'adserve_hook_increment_extra' does not exist.
adserve_cache_increment extra()
adserve_cache function(close)
Cache function 'ad_cache_none_close' does not exist.
Cache function 'adserve_cache_close' does not exist.
adserve_invoke_hook hook(init_text) action(append)
adserve_cache function(hook)
Memory usage: 12,257.668 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'init_text'.
Function 'adserve_hook_init_text' does not exist.
adserve_invoke_hook hook(exit_text) action(append)
adserve_cache function(hook)
Memory usage: 12,257.668 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'exit_text'.
Function 'adserve_hook_exit_text' does not exist.
Memory usage: 12,257.668 K
document.write('\x3c!-- No active ads were found in t1 --\x3e');

I am at a loss as to why it is not working, I am running Drupal 6.9

CommentFileSizeAuthor
#21 DebugText1.txt7.02 KBKethaera
#21 DebugText2.txt6.31 KBKethaera

Comments

sduncan343’s picture

Assigned: sduncan343 » Unassigned
jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

What method are you using to display advertisements? A default block? A call to ad()? Some other method? The debug output is showing that there are no active advertisements in the group with a tid of 1. Be sure that if you have advertisements in that group they are 'active'.

ginga8’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

I am having the same issue. Here is my debug report. I have 2 active ads in the tid 8

ad_dir: '/home/peicanad/public_html/sites/all/modules/ad'
debug: '2'
adcache: 'none'
nids: ''
tids: '8'
hostid: ''
url: 'node/15'
quantity: '25'
aid: '0'
ad_display: 'javascript'
--> Time mark: 07:22:27
Memory usage: 641.797 K
Drupal bootstrap '0'.
Drupal bootstrap complete.
Root drupal directory detected as '/home/peicanad/public_html'.

/home/peicanad/public_html/sites/all/modules/ad/serve.php: // $Id: serve.php,v 1.1.2.2.2.1.2.1 2009/02/23 22:39:02 jeremy Exp $
/home/peicanad/public_html/sites/all/modules/ad/adserve.inc: // $Id: adserve.inc,v 1.1.2.31.2.8.2.7 2009/04/09 14:06:27 jeremy Exp $
/home/peicanad/public_html/sites/all/modules/ad/adcache.inc:
/home/peicanad/public_html/sites/all/modules/ad/ad.module: // $Id: ad.module,v 1.2.2.29.2.83.2.16.2.21 2009/04/16 14:24:53 jeremy Exp $
/home/peicanad/public_html/sites/all/modules/ad/ad.install: // $Id: ad.install,v 1.2.2.4.2.27.2.7.2.4 2009/04/03 17:01:02 jeremy Exp $

adserve_cache function(get_ad_ids)
Cache function 'ad_cache_none_get_ad_ids' does not exist.
Memory usage: 655.930 K
Invoking cache function 'adserve_cache_get_ad_ids'.
Entering default adserve_display.
adserve_cache function(open)
Cache function 'ad_cache_none_open' does not exist.
Memory usage: 655.930 K
Invoking cache function 'adserve_cache_open'.
Drupal bootstrap '8'.
--> Time mark: 07:22:28
Memory usage: 28,566.711 K
Drupal bootstrap complete.
Hostid: 'none'.
adserve_invoke_hook hook(init) action(first)
adserve_cache function(hook)
Cache function 'ad_cache_none_hook' does not exist.
Memory usage: 28,566.711 K
Invoking cache function 'adserve_cache_hook'.
adserve_cache function(get_cache)
Cache function 'ad_cache_none_get_cache' does not exist.
Memory usage: 28,566.859 K
Invoking cache function 'adserve_cache_get_cache'.
adserve_cache function(build_hooks)
Cache function 'ad_cache_none_build_hooks' does not exist.
Memory usage: 28,575.422 K
Invoking cache function 'adserve_cache_build_hooks'.
Did not find hook 'init'.
Function 'adserve_hook_init' does not exist.
adserve_cache function(id)
Cache function 'ad_cache_none_id' does not exist.
Memory usage: 28,578.281 K
Invoking cache function 'adserve_cache_id'.
Unsupported type 'host'.
Searching tids: 8
adserve_cache function(id)
Memory usage: 28,578.281 K
Invoking cache function 'adserve_cache_id'.
Total ads: '2'.
Already displayed: 0
adserve_cache function(validate)
Cache function 'ad_cache_none_validate' does not exist.
Memory usage: 28,578.406 K
Invoking cache function 'adserve_cache_validate'.
Validated ads: '2'.
adserve_invoke_hook hook(filter) action(intersect)
adserve_cache function(hook)
Memory usage: 28,578.578 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'filter'.
Including file: '/home/peicanad/public_html/sites/all/modules/ad/channel/ad_channel.inc'.
Invoking 'ad_channel_cache_filter'.
ad_channel_cache: adserve_cache_filter
adserve_cache function(get_cache)
Memory usage: 28,635.102 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: checking aid(245)
ad_channel_cache: checking aid(245) against channel(2) path(node/15) regexp(/^(http\:\/\/www\.domain\.com)$/) match(0)
ad_channel_cache: aid(245) is not valid
ad_channel_cache: checking aid(245) against channel(3) path(node/15) regexp(/^(http\:\/\/www\.swiftradius-dev\.com\/content\/eastern_graphic|http\:\/\/www\.swiftradius-dev\.com\/eastern_graphic)$/) match(0)
ad_channel_cache: aid(245) is not valid
ad_channel_cache: checking aid(502)
ad_channel_cache: checking aid(502) against channel(2) path(node/15) regexp(/^(http\:\/\/www\.swiftradius-dev\.com)$/) match(0)
ad_channel_cache: aid(502) is not valid
ad_channel_cache: checking aid(502) against channel(3) path(node/15) regexp(/^(http\:\/\/www\.swiftradius-dev\.com\/content\/eastern_graphic|http\:\/\/www\.swiftradius-dev\.com\/eastern_graphic)$/) match(0)
ad_channel_cache: aid(502) is not valid
adserve_cache function(get_cache)
Memory usage: 28,638.516 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: returning non-premiere advertisements
Filtered ads: '0'.
adserve_invoke_hook hook(weight) action(first)
adserve_cache function(hook)
Memory usage: 28,638.594 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'weight'.
Including file: '/home/peicanad/public_html/sites/all/modules/ad/weight/probability/ad_weight_probability.inc'.
Invoking 'ad_weight_probability_cache_filter'.
adserve_cache function(get_cache)
Memory usage: 28,656.703 K
Invoking cache function 'adserve_cache_get_cache'.
ad_weight_probability cache_filter gcd()
Weighted ads: '0'.
adserve_invoke_hook hook(select) action(first)
adserve_cache function(hook)
Memory usage: 28,656.859 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'select'.
Invoking 'adserve_hook_select'.
No more advertisements available.
Selected ads: '0'.
adserve_cache function(display)
Cache function 'ad_cache_none_display' does not exist.
Memory usage: 28,656.859 K
Invoking cache function 'adserve_cache_display'.
adserve_cache function(increment)
Cache function 'ad_cache_none_increment' does not exist.
Memory usage: 28,656.859 K
Invoking cache function 'adserve_cache_increment'.
adserve_cache_increment action(count) aid() hostid()
Drupal bootstrap '8'.
Drupal bootstrap complete.
adserve_invoke_hook hook(increment_extra) action(merge)
adserve_cache function(hook)
Memory usage: 28,656.922 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'increment_extra'.
Function 'adserve_hook_increment_extra' does not exist.
adserve_cache_increment extra()
adserve_cache function(close)
Cache function 'ad_cache_none_close' does not exist.
Cache function 'adserve_cache_close' does not exist.
adserve_invoke_hook hook(init_text) action(append)
adserve_cache function(hook)
Memory usage: 28,657.828 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'init_text'.
Function 'adserve_hook_init_text' does not exist.
adserve_invoke_hook hook(exit_text) action(append)
adserve_cache function(hook)
Memory usage: 28,657.828 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'exit_text'.
Function 'adserve_hook_exit_text' does not exist.
Memory usage: 28,657.828 K
document.write('\x3c!-- No active ads were found in t8 --\x3e');

ginga8’s picture

seems to be only an issue with the channels, as soon as I remove all the channels, they seem to work fine.

shortcircuitcg’s picture

I installed this just fine on one site turned around on another site and it will not show any ads, text or images. Im not sure how to debug. this is my url but it comes back as an unfound page. Please give some advice on how to debug.

http://www.drupalpupil.com/sites/all/modules/ad/serve.php?q=1&t=0&u=admi...

jeremy’s picture

I'm still waiting for feedback from the original poster -- I'll close this issue if I don't get feedback from them as a flood of "me too" type posts is rather unhelpful to this project.

jeremy’s picture

I'm still waiting for feedback from the original poster -- I'll close this issue if I don't get feedback from them as a flood of "me too" type posts is rather unhelpful to this project.

shortcircuitcg’s picture

Please tell me how to debug and Ill be your feedback and i will stop being a "me too". If i install it on a localhost, it works fine. If I install it on mosso, It works. If I install it on my An hosting account It does not work. Please tell me how to debug so I can get you more information.

shortcircuitcg’s picture

I am installing this on a multi installation where my site is at example.com inside the sites folder. I get these errors.

* user warning: Table '"database".drupalpupil_ad_channel_remnant' doesn't exist query: SELECT remnant FROM drupalpupil_ad_channel_remnant WHERE aid = 13 in /home/leargle4/public_html/VideoDrupalTutorial/sites/all/modules/ad/channel/ad_channel.module on line 644.
* user warning: Unknown column 'inventory' in 'field list' query: SELECT chid, name, description, weight, inventory FROM drupalpupil_ad_channel WHERE conid = 0 ORDER BY weight ASC in /home/leargle4/public_html/VideoDrupalTutorial/sites/all/modules/ad/channel/ad_channel.module on line 835.

and It does not show on any blocks. Default or otherwise

I did a fresh install with only the Admin Menu installed and I am getting these errors:

* user warning: Table 'l"database".ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 1 in /home/leargle4/public_html/drupalpupil/sites/all/modules/ad/channel/ad_channel.module on line 644.
* user warning: Table '"database".ad_channel_remnant' doesn't exist query: UPDATE ad_channel_remnant SET remnant = 0 WHERE aid = 1 in /home/leargle4/public_html/drupalpupil/sites/all/modules/ad/channel/ad_channel.module on line 664.
* user warning: Table '"database".ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 1 in /home/leargle4/public_html/drupalpupil/sites/all/modules/ad/channel/ad_channel.module on line 644.

Now the ad is showing as long as it is not in a multi install.

Why would it not work in an multi site installation?

virtualdrupal’s picture

I"m experiencing the same thing on a fresh single site install, I do have a few other modules installed like cck, views, album photo, calendar, date, captcha..

When I run update.php it doesn't seem to add anything new to the database, and I get this error afterwords

    * user warning: Unknown column 'inventory' in 'field list' query: SELECT chid, display, urls, no_channel_percent, inventory FROM ad_channel in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 552.
    * user warning: Table 'absolute_absod6.ad_channel_remnant' doesn't exist query: SELECT r.aid, r.remnant FROM ads a LEFT JOIN ad_channel_remnant r ON a.aid = r.aid WHERE a.adstatus = 'active' AND r.remnant = 1 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 561.

and I get this error on my admin pages

    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 11 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 12 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 3 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 17 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 18 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 19 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 20 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 15 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 14 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 10 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.
    * user warning: Table 'absolute_xxdata.ad_channel_remnant' doesn't exist query: SELECT remnant FROM ad_channel_remnant WHERE aid = 9 in /home/absolute/public_html/sites/all/modules/ad/channel/ad_channel.module on line 666.

Removing the "Ad Channel" module gets rid of the errors, but then I can't set up any channels of course

any ideas?

pobster’s picture

The reason for the failure is that;

/*
 * Introduce channel inventory and remnant ads
 */
function ad_channel_update_6005() {
  $ret = array();
  $ret[] = update_sql("ALTER TABLE {ad_channel} ADD inventory INT(11)");
  $ret[] = update_sql("CREATE TABLE {ad_channel_remnant} (aid INT(11) UNSIGNED NOT NULL DEFAULT '0', remnant TINYINT UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (aid, remnant))");
  return $ret;
}

Isn't actually present in the original install schema (not that it is a schema but well, you know what I mean)...

Pobster

virtualdrupal’s picture

What would the solution be, I assume it used to be in the schema and was somehow dropped?

pobster’s picture

Either enable the Devel module and navigate to /devel/php or just enable the php input filter and preview a node (you don't have to save it) containing this;

  db_query("ALTER TABLE {ad_channel} ADD inventory INT(11)");
  db_query("CREATE TABLE {ad_channel_remnant} (aid INT(11) UNSIGNED NOT NULL DEFAULT '0', remnant TINYINT UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (aid, remnant))");

Pobster

Kethaera’s picture

I'm having the same issue. Tried pobster's recommendation and it didn't work for me. I'm willing to give any information I can to help fix this; subscribing so I'll see any responses.

ad_dir: '/home/content/u/t/h/uthadmin/html/modules/ad'
debug: '2'
adcache: 'none'
nids: ''
tids: ''
hostid: ''
url: ''
quantity: '1'
aid: '0'
ad_display: 'javascript'
--> Time mark: 17:17:38
Memory usage: 391.406 K
Drupal bootstrap '0'.
Drupal bootstrap complete.
Root drupal directory detected as '/home/content/u/t/h/uthadmin/html'.

/home/content/u/t/h/uthadmin/html/modules/ad/serve.php: // $Id: serve.php,v 1.1.2.2.2.1.2.1 2009/02/23 22:39:02 jeremy Exp $
/home/content/u/t/h/uthadmin/html/modules/ad/adserve.inc: // $Id: adserve.inc,v 1.1.2.31.2.8.2.8 2009/05/07 13:52:13 jeremy Exp $
/home/content/u/t/h/uthadmin/html/modules/ad/adcache.inc:
/home/content/u/t/h/uthadmin/html/modules/ad/ad.module: // $Id: ad.module,v 1.2.2.29.2.83.2.16.2.23 2009/07/06 21:47:49 jeremy Exp $
/home/content/u/t/h/uthadmin/html/modules/ad/ad.install: // $Id: ad.install,v 1.2.2.4.2.27.2.7.2.4 2009/04/03 17:01:02 jeremy Exp $

adserve_cache function(get_ad_ids)
Cache function 'ad_cache_none_get_ad_ids' does not exist.
Memory usage: 398.539 K
Invoking cache function 'adserve_cache_get_ad_ids'.
Entering default adserve_display.
adserve_cache function(open)
Cache function 'ad_cache_none_open' does not exist.
Memory usage: 398.891 K
Invoking cache function 'adserve_cache_open'.
Drupal bootstrap '8'.
--> Time mark: 17:17:39
Memory usage: 13,449.488 K
Drupal bootstrap complete.
Hostid: 'none'.
adserve_invoke_hook hook(init) action(first)
adserve_cache function(hook)
Cache function 'ad_cache_none_hook' does not exist.
Memory usage: 13,449.570 K
Invoking cache function 'adserve_cache_hook'.
adserve_cache function(get_cache)
Cache function 'ad_cache_none_get_cache' does not exist.
Memory usage: 13,449.660 K
Invoking cache function 'adserve_cache_get_cache'.
adserve_cache function(build_hooks)
Cache function 'ad_cache_none_build_hooks' does not exist.
Memory usage: 13,472.551 K
Invoking cache function 'adserve_cache_build_hooks'.
Did not find hook 'init'.
Function 'adserve_hook_init' does not exist.
adserve_cache function(id)
Cache function 'ad_cache_none_id' does not exist.
Memory usage: 13,474.289 K
Invoking cache function 'adserve_cache_id'.
Unsupported type 'host'.
Searching default: 0
adserve_cache function(id)
Memory usage: 13,474.289 K
Invoking cache function 'adserve_cache_id'.
Total ads: '0'.
Already displayed: 0
adserve_cache function(validate)
Cache function 'ad_cache_none_validate' does not exist.
Memory usage: 13,474.844 K
Invoking cache function 'adserve_cache_validate'.
Validated ads: '0'.
adserve_invoke_hook hook(filter) action(intersect)
adserve_cache function(hook)
Memory usage: 13,474.844 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'filter'.
Including file: '/home/content/u/t/h/uthadmin/html/modules/ad/channel/ad_channel.inc'.
Invoking 'ad_channel_cache_filter'.
ad_channel_cache: adserve_cache_filter
adserve_cache function(get_cache)
Memory usage: 13,527.980 K
Invoking cache function 'adserve_cache_get_cache'.
adserve_cache function(get_cache)
Memory usage: 13,528.711 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: returning non-premiere advertisements from randomly selected channel
Filtered ads: '0'.
adserve_invoke_hook hook(weight) action(first)
adserve_cache function(hook)
Memory usage: 13,529.121 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'weight'.
Including file: '/home/content/u/t/h/uthadmin/html/modules/ad/weight/probability/ad_weight_probability.inc'.
Invoking 'ad_weight_probability_cache_filter'.
Weighted ads: '0'.
adserve_invoke_hook hook(select) action(first)
adserve_cache function(hook)
Memory usage: 13,539.629 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'select'.
Invoking 'adserve_hook_select'.
No more advertisements available.
Selected ads: '0'.
adserve_cache function(display)
Cache function 'ad_cache_none_display' does not exist.
Memory usage: 13,539.688 K
Invoking cache function 'adserve_cache_display'.
adserve_cache function(increment)
Cache function 'ad_cache_none_increment' does not exist.
Memory usage: 13,539.750 K
Invoking cache function 'adserve_cache_increment'.
adserve_cache_increment action(count) aid() hostid()
Drupal bootstrap '8'.
Drupal bootstrap complete.
adserve_invoke_hook hook(increment_extra) action(merge)
adserve_cache function(hook)
Memory usage: 13,540.297 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'increment_extra'.
Function 'adserve_hook_increment_extra' does not exist.
adserve_cache_increment extra()
adserve_cache function(close)
Cache function 'ad_cache_none_close' does not exist.
Cache function 'adserve_cache_close' does not exist.
adserve_invoke_hook hook(init_text) action(append)
adserve_cache function(hook)
Memory usage: 13,540.621 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'init_text'.
Function 'adserve_hook_init_text' does not exist.
adserve_invoke_hook hook(exit_text) action(append)
adserve_cache function(hook)
Memory usage: 13,540.621 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'exit_text'.
Function 'adserve_hook_exit_text' does not exist.
Memory usage: 13,540.676 K
document.write('\x3c!-- No active ads were found in 0 --\x3e');

pobster’s picture

That's because your issue (which happens to be the original issue) is completely separate from the above issues which are missing tables. Your issue is probably that you're not displaying ads correctly as there's no mention of ad groups (tids) in your debug? How are you trying to display? A block or manually?

Pobster

Kethaera’s picture

Yes, it is for the original issue. I did not understand it had gotten off-topic, sorry.

I am using blocks. I have groups set up, with each group going to a block. It worked fine at first, then I added some channels. Now I can't get anything new to display at ALL, regardless of whether it's in a channel or not. The two old ads still work in their own blocks, and I'm afraid to touch them.

pobster’s picture

Heh, *you* don't need to apologise for going off topic - everybody else does! Well, for whatever reason your tids aren't coming through into the display function. Does everything return to normal when you disable the ad_channels module?

Pobster

jeremy’s picture

@Kethaera: when collecting debug, be sure to convert all &'s to just &, as briefly mentioned in DEBUG.txt.

Kethaera’s picture

pobster, that's a good idea, I will try it and report back.

Jeremy, I did not understand what "&'s" the DEBUG.txt is talking about and I still don't. Where do I find them, please?

jeremy’s picture

When you 'view source' your web page to find the ad/serve.php URL, the URL should include include at the end something like ?q=#&t=#.

Kethaera’s picture

StatusFileSize
new6.31 KB
new7.02 KB

Disabling the Ad Channel module does cause the ads to start showing up properly, at least in my default block. Unfortunately, the channel ability is what I needed! Well, I'll be patient. :)

I'm attaching two debug texts again (with the &'s done correctly, I hope). DebugText1 is with Ad Channel enabled, so the ad is not displaying. DebugText2 is with Ad Channel disabled, so the ad IS displaying correctly. I didn't know if that would help or not to have a comparison. The change to display is not immediate with enabling or disabling the Ad Channel module; I'm going into the ad and editing/re-saving to simulate adding a new ad under those conditions.

Let me know if I can provide any other information!

jeremy’s picture

Your DebugText1 shows that the ad module display an ad correctly (see the last line of your debug). It displayed ad 75. The ad has no channel information, so whether or not ad_channel is enabled it should display fine.

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

No further feedback, closing issue.

Status: Fixed » Closed (fixed)

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

Status: Postponed (maintainer needs more info) » Closed (fixed)