- π©πͺGermany lrwebks Porta Westfalica
Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!
Hi, I am working on a page that will be emailed as a newsletter so I have to use the Raw method to display the ads. When I use Javascript, all the ads display normally. When I switch to Raw, only one ad displays and it displays in the same (wrong) position throughout the site.
In this post, I will paste the debug info for the ad that displays throughout the site when I switch to Raw. In the next post, I will paste the debug info for one of the ads that does not display using Raw. Even though the debug says there is nothing here, it is still showing the ad via javascript.
Debug for the one ad that shows when using either raw or javascript:
ad_dir: '/home/tsrsite/public_html/sites/all/modules/ad'
debug: '2'
adcache: 'none'
nids: ''
tids: '20'
hostid: ''
url: ''
alias: ''
quantity: '1'
aid: '0'
ad_display: 'javascript'
--> Time mark: 19:19:21
Memory usage: 400.621 K
Drupal bootstrap '0'.
Drupal bootstrap complete.
Root drupal directory detected as '/home/tsrsite/public_html'.
/home/tsrsite/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/tsrsite/public_html/sites/all/modules/ad/adserve.inc: // $Id: adserve.inc,v 1.1.2.31.2.8.2.10 2009/11/23 19:12:41 Jeremy Exp $
/home/tsrsite/public_html/sites/all/modules/ad/adcache.inc:
/home/tsrsite/public_html/sites/all/modules/ad/ad.module: // $Id: ad.module,v 1.2.2.29.2.83.2.16.2.37 2009/11/30 16:24:08 Jeremy Exp $
/home/tsrsite/public_html/sites/all/modules/ad/ad.install: // $Id: ad.install,v 1.2.2.4.2.27.2.7.2.8 2009/10/20 23:31:22 jeremy Exp $
adserve_cache function(get_ad_ids)
Cache function 'ad_cache_none_get_ad_ids' does not exist.
Memory usage: 406.395 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: 407.289 K
Invoking cache function 'adserve_cache_open'.
Drupal bootstrap '8'.
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: 21,793.355 K
Invoking cache function 'adserve_cache_hook'.
adserve_cache function(get_cache)
Cache function 'ad_cache_none_get_cache' does not exist.
Memory usage: 21,794.359 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: 21,808.289 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: 21,808.641 K
Invoking cache function 'adserve_cache_id'.
adserve_cache_id: type(host) id()
adserve_cache_id: unsupported type 'host'.
Searching tids: 20
adserve_cache function(id)
Memory usage: 21,808.875 K
Invoking cache function 'adserve_cache_id'.
adserve_cache_id: type(tids) id(20)
adserve_cache_id: SELECT a.aid FROM {ads} a INNER JOIN {term_node} n ON a.aid = n.nid WHERE a.adstatus = 'active' AND n.tid IN(20)
Total ads: '4'.
Already displayed: 0
adserve_cache function(validate)
Cache function 'ad_cache_none_validate' does not exist.
Memory usage: 23,509.090 K
Invoking cache function 'adserve_cache_validate'.
Validated ads: '4'.
adserve_invoke_hook hook(filter) action(intersect)
adserve_cache function(hook)
Memory usage: 23,509.383 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'filter'.
Including file: '/home/tsrsite/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: 23,564.570 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: checking aid(36)
ad_channel_cache: checking aid(36) against channel(1) path() regexp(/^(node|home|productopia|product\/.*|products\/.*|company\/.*|companys\/.*|showroom|showroom\/.*)$/) match(0) display[0]
ad_channel_cache: aid(36) is valid
ad_channel_cache: channel(1) no_channel_percent(0)
ad_channel_cache: checking aid(81)
ad_channel_cache: checking aid(81) against channel(3) path() regexp(/^(node|home|test)$/) match(0) display[1]
ad_channel_cache: aid(81) is not valid
ad_channel_cache: checking aid(81) against channel(3) path() regexp(/^(node|home|test)$/) match(0) display[1]
ad_channel_cache: aid(81) is not valid
ad_channel_cache: checking aid(81) against channel(7) path() regexp(/^(forum\/.*|forums\/.*)$/) match(0) display[1]
ad_channel_cache: aid(81) is not valid
ad_channel_cache: checking aid(81) against channel(7) path() regexp(/^(forum\/.*|forums\/.*)$/) match(0) display[1]
ad_channel_cache: aid(81) is not valid
ad_channel_cache: checking aid(84)
ad_channel_cache: checking aid(84) against channel(2) path() regexp(/^(blogs\/mary-esther-treat|blogs\/mary-esther-treat\/.*)$/) match(0) display[1]
ad_channel_cache: aid(84) is not valid
ad_channel_cache: checking aid(84) against channel(2) path() regexp(/^(blogs\/mary-esther-treat|blogs\/mary-esther-treat\/.*)$/) match(0) display[1]
ad_channel_cache: aid(84) is not valid
ad_channel_cache: checking aid(84) against channel(5) path() regexp(/^(blogs|blogs\/.*|guest-blogs|guest-blogs\/.*|)$/) match(1) display[1]
ad_channel_cache: aid(84) is valid
ad_channel_cache: channel(5) no_channel_percent(0)
ad_channel_cache: checking aid(86)
ad_channel_cache: checking aid(86) against channel(9) path() regexp(/^(surveys|surveys\/.*)$/) match(0) display[1]
ad_channel_cache: aid(86) is not valid
ad_channel_cache: checking aid(86) against channel(9) path() regexp(/^(surveys|surveys\/.*)$/) match(0) display[1]
ad_channel_cache: aid(86) is not valid
ad_channel_cache: channel 1 has a non-channel ad frequency of 0%
ad_channel_cache: channel 5 has a non-channel ad frequency of 0%
ad_channel_cache: NOT adjusting ratio of channel(1) to relative non-channel ads as there are no non-channel ads
ad_channel_cache: NOT adjusting ratio of channel(5) to relative non-channel ads as there are no non-channel ads
ad_channel_cache: channel 0 contains all non-channel ads
ad_channel_cache: channel 1 => index 0
ad_channel_cache: channel 5 => index 1
ad_channel_cache: randomly selecting from 2 indexes.
ad_channel_cache: randomly selected channel 1.
adserve_cache function(get_cache)
Memory usage: 23,567.539 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: aid(36) is not a premiere advertisement
ad_channel_cache: aid(84) is premiere advertisement
ad_channel_cache: returning premiere advertisements
Filtered ads: '1'.
adserve_invoke_hook hook(weight) action(first)
adserve_cache function(hook)
Memory usage: 23,562.844 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'weight'.
Including file: '/home/tsrsite/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: 23,576.520 K
Invoking cache function 'adserve_cache_get_cache'.
ad_weight_probability cache_filter gcd(100)
ad_weight_probability cache_filter aid(84) weight(1)
Weighted ads: '1'.
adserve_invoke_hook hook(select) action(first)
adserve_cache function(hook)
Memory usage: 23,574.887 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'select'.
Invoking 'adserve_hook_select'.
Randomly selecting ad 1 of 1.
Randomly selected ID: 84.
adserve_cache function(validate)
Memory usage: 23,577.109 K
Invoking cache function 'adserve_cache_validate'.
Selected ads: '1'.
adserve_cache function(display)
Cache function 'ad_cache_none_display' does not exist.
Memory usage: 23,573.109 K
Invoking cache function 'adserve_cache_display'.
adserve_cache function(display_ad)
Cache function 'ad_cache_none_display_ad' does not exist.
Memory usage: 23,574.543 K
Invoking cache function 'adserve_cache_display_ad'.
Ad type 'image', loading module 'sites/all/modules/ad/image/ad_image.module'
ad:
adserve_cache function(increment)
Cache function 'ad_cache_none_increment' does not exist.
Memory usage: 24,816.059 K
Invoking cache function 'adserve_cache_increment'.
adserve_cache_increment action(view) aid(84) hostid()
Drupal bootstrap '8'.
Drupal bootstrap complete.
adserve_invoke_hook hook(increment_extra) action(merge)
adserve_cache function(hook)
Memory usage: 24,817.594 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: 24,817.609 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: 24,817.828 K
Invoking cache function 'adserve_cache_hook'.
Did not find hook 'exit_text'.
Function 'adserve_hook_exit_text' does not exist.
Memory usage: 24,816.730 K
document.write('\x3cdiv class=\"image-advertisement\" id=\"ad-84\"\x3e\x3ca href=\"http://tsrsite.com/ad/redirect/84/t20\" onclick=\"window.open(this.href); return false;\"\x3e\x3cimg src=\"http://tsrsite.com/sites/default/files/Manitowoc_TSR_June_2010_Energy_St...\" alt=\"Manitowoc - 2010 ENERGY STAR Partner of the Year\" title=\"Manitowoc - 2010 ENERGY STAR Partner of the Year\" width=\"468\" height=\"60\" /\x3e\x3c/a\x3e\x3c/div\x3e');
Closed: outdated
2.2
ad module
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!