Hi all,

I've a strange issue with the website I just published.
We have a couple of ads displayed on multiples blocs.

It worked perfectly a couple of minutes and then suddenly .... none are displayed !!!
http://www.it-expertise.com

They are all set as "active" status.

The only modification we did after the launch is importing some users and removing the cache.
Any idea????

Please it's urgent

Comments

mzerbib’s picture

Now they are back..... after 20 minutes.

any idea???

jeremy’s picture

Please follow the steps in documentation/DEBUG.txt if this happens again...

mzerbib’s picture

Important information I have to add:
We changed the IP address that host our website and the propagation is not yet finished.
Currently the only way I got to access it, is by the IP address, not the host name.

so when I follow the steps under the Debug.txt, it asks me to load this URL:
http://www.it-expertise.com/sites/default/modules/ad/serve.php?q=1&t=2&u...
which return nothing yet for me....

When I replace the Host name by the IP I got this report

/**********************/
ad_dir: 'C:/Websites/it-expert/sites/default/modules/ad'
debug: '2'
adcache: 'none'
nids: ''
tids: '2'
hostid: ''
url: 'node'
quantity: '1'
aid: '0'
ad_display: 'javascript'
--> Time mark: 19:43:37
Memory usage: 478.375 K
Drupal bootstrap '0'.
Drupal bootstrap complete.
Root drupal directory detected as 'C:\Websites\it-expert'.

C:/Websites/it-expert/sites/default/modules/ad/serve.php: // $Id: serve.php,v 1.1.2.2.2.1.2.1 2009/02/23 22:39:02 jeremy Exp $
C:/Websites/it-expert/sites/default/modules/ad/adserve.inc: // $Id: adserve.inc,v 1.1.2.31.2.8.2.7 2009/04/09 14:06:27 jeremy Exp $
C:/Websites/it-expert/sites/default/modules/ad/adcache.inc:
C:/Websites/it-expert/sites/default/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 $
C:/Websites/it-expert/sites/default/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: 486.859 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: 489.977 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: 18,837.469 K
Invoking cache function 'adserve_cache_hook'.
adserve_cache function(get_cache)
Cache function 'ad_cache_none_get_cache' does not exist.
Memory usage: 18,838.906 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: 18,842.219 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: 18,839.688 K
Invoking cache function 'adserve_cache_id'.
Unsupported type 'host'.
Searching tids: 2
adserve_cache function(id)
Memory usage: 18,839.688 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: 18,839.688 K
Invoking cache function 'adserve_cache_validate'.
Validated ads: '2'.
adserve_invoke_hook hook(filter) action(intersect)
adserve_cache function(hook)
Memory usage: 18,842.508 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'filter'.
Including file: 'C:\Websites\it-expert/sites/default/modules/ad/channel/ad_channel.inc'.
Invoking 'ad_channel_cache_filter'.
ad_channel_cache: adserve_cache_filter
adserve_cache function(get_cache)
Memory usage: 18,889.227 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: checking aid(211)
ad_channel_cache: aid(211) has no channel info [0]
ad_channel_cache: aid(211) is valid if no valid ads found in current channel
ad_channel_cache: checking aid(222)
ad_channel_cache: aid(222) has no channel info [0]
ad_channel_cache: aid(222) is valid if no valid ads found in current channel
ad_channel_cache: using ads with no channel info
adserve_cache function(get_cache)
Memory usage: 18,890.117 K
Invoking cache function 'adserve_cache_get_cache'.
ad_channel_cache: aid(211) is not a premiere advertisement
ad_channel_cache: aid(222) is not a premiere advertisement
ad_channel_cache: returning non-premiere advertisements
Filtered ads: '2'.
adserve_invoke_hook hook(weight) action(first)
adserve_cache function(hook)
Memory usage: 18,886.172 K
Invoking cache function 'adserve_cache_hook'.
Invoking hook 'weight'.
Including file: 'C:\Websites\it-expert/sites/default/modules/ad/weight/probability/ad_weight_probability.inc'.
Invoking 'ad_weight_probability_cache_filter'.
adserve_cache function(get_cache)
Memory usage: 18,899.336 K
Invoking cache function 'adserve_cache_get_cache'.
ad_weight_probability cache_filter gcd(100)
ad_weight_probability cache_filter aid(211) weight(1)
ad_weight_probability cache_filter aid(222) weight(1)
Weighted ads: '2'.
adserve_invoke_hook hook(select) action(first)
adserve_cache function(hook)
Memory usage: 18,899.094 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: 211.
adserve_cache function(validate)
Memory usage: 18,900.375 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: 18,894.414 K
Invoking cache function 'adserve_cache_display'.
adserve_cache function(display_ad)
Cache function 'ad_cache_none_display_ad' does not exist.
Memory usage: 18,897.852 K
Invoking cache function 'adserve_cache_display_ad'.
Ad type 'html', loading module 'sites/default/modules/ad/html/ad_html.module'
ad:

adserve_cache function(increment) Cache function 'ad_cache_none_increment' does not exist. Memory usage: 22,115.961 K Invoking cache function 'adserve_cache_increment'. adserve_cache_increment action(view) aid(211) hostid() Drupal bootstrap '8'. Drupal bootstrap complete. adserve_invoke_hook hook(increment_extra) action(merge) adserve_cache function(hook) Memory usage: 22,120.633 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: 22,119.914 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: 22,119.914 K Invoking cache function 'adserve_cache_hook'. Did not find hook 'exit_text'. Function 'adserve_hook_exit_text' does not exist. Memory usage: 22,115.977 K document.write('\x3cdiv class=\"html-advertisement\" id=\"ad-211\"\x3e\x3cSCRIPT language=\'JavaScript1.1\' SRC=\"http://ad.fr.doubleclick.net/adj/N1120.ITExpert/B3992301.2;sz=728x90;sit...?\"\x3e\n\x3c/script\x3e\x3cp\x3e\x3cNOSCRIPT\x3e\x3cbr /\x3e\n\x3cA HREF=\"http://ad.fr.doubleclick.net/jump/N1120.ITExpert/B3992301.2;sz=728x90;si...?\"\x3e\x3cbr /\x3e\n\x3cIMG SRC=\"http://ad.fr.doubleclick.net/ad/N1120.ITExpert/B3992301.2;sz=728x90;site...?\" BORDER=0 WIDTH=728 HEIGHT=90 ALT=\"Click Here\" /\x3e\x3c/a\x3e\x3cbr /\x3e\n\x3c/noscript\x3e\x3c/p\x3e\n\x3c/div\x3e');
jeremy’s picture

Category: bug » support
Priority: Critical » Normal
Status: Needs work » Fixed

I believe you've solved your own problem. The URL that is embedded in the page is what all browsers loading the page also have to load to display the advertisement. One DNS has propagated, the URL will work again.

mzerbib’s picture

Status: Fixed » Active

Hello jeremy,

I still son't see my ads....

Here is a Syntax error found by IE:
------------------------------------------

Notice: Undefined index: last_sync in C:\Websites\it-expert\sites\default\modules\ad\cache\file\ad_cache_file.inc on line 221

Notice: Undefined index: lifetime in C:\Websites\it-expert\sites\default\modules\ad\cache\file\ad_cache_file.inc on line 222
document.write('\x3c!-- No active ads were found in t19 --\x3e');
---------------------------------------------------------------

I have rebuilt my ad and still nothing... please help :)

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

When I load the debug path you provided, it works perfectly. If I then visit your web page, I also see the ad module powered ad at the bottom of the screen. As far as I can see, everything is working perfectly.

Be sure to disable any ad blockers in your browser.

mzerbib’s picture

Status: Postponed (maintainer needs more info) » Fixed

You're right Jeremy.

Everything works since the afternoon.
I had to rebuild my adds because when I've set them up I was logged either at http://localhost or http:// 192......

thanks for your asistance

Status: Fixed » Closed (fixed)

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