Closed (fixed)
Project:
Advertisement
Version:
6.x-2.1
Component:
ad module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Mar 2009 at 15:21 UTC
Updated:
7 Dec 2009 at 20:50 UTC
Hi
While clicks are counted Impressions are not.
I have disabled caching (both drupal and ad module) and compression of js and css and the problem persists.
Comments
Comment #1
jeremy commentedWhat display method are you using? JavaScript? Raw? jQuery? IFrame? What browsers have you tested with?
I can not confirm this, impressions are being properly tracked in my development environment.
Comment #2
lennart commentedJavaScript
Google Chrome
Thanks.
Comment #3
jeremy commentedPlease try another browser, do you still have the same problem? I will try running Chrome on Linux via CrossOver and see if I can duplicate. Also, try installing a -beta release, as you may have downloaded the -dev tarball while changes were being committed and something may have been broken.
Comment #4
jeremy commentedIt works fine for me using (an emulated version of) Chrome.
Are you using the ad_cache_file module? You'll need to provide more information if you'd like to track this down. What may be non-standard about your installation?
Comment #5
lennart commentedHi,
No, I am not using any kind of cache. But if I am the only one with this problem, it must be endemic to my environment. Thanks for looking into it.
Anyhow - it is not critical to me, because I have other ways of knowing the number of impressions.
Comment #6
Manonline commentedhi, sorry if my english is not good enough.
i have the same issue.
i'm using raw display method (because in the others the ads are not displayed, an other issue) and i have tested the following browsers: Opera, IE and Firefox (Chrome not yet). The site is hosted in a linux server.
thanks,
mariano.
Comment #7
jeremy commentedThat helped, thanks. I've committed a fix for counting impressions when using the Raw display method. It was actually quite broken, and I'm surprised you were able to display advertisements this way at all.
Comment #8
Manonline commentedHi! thanks for all. but I'm bothering here again hehe.
The impressions still not counted but clicks yes.
How can I click an ad without viewing it? hehehe. The ads are displayed in blocks provided by the module.
Also, the no-clickeable ads doesn't have statistics like impressions and/or clicks (obviously).
thanks a lot!
mano.
Comment #9
Manonline commentedComment #10
jeremy commentedPlease follow the directions in DEBUG.txt and post the output here. Be sure that you're displaying a valid ad when collecting the debug output.
Comment #11
Manonline commentedHi Jeremy... I tried following the instructions in DEBUG.txt, but every URL's results in an invalid page (404 error) and redirect me to '/modules/ad/install.php'. Prints still not counted and JavaScript display method isn't working neither.
URL from HTML: http://www.planetaprodentaldesa.com.ar/modules/ad/serve.php?q=1&t=68&u=a...
I copied and pasted converting '&' to '&' (http://www.planetaprodentaldesa.com.ar/modules/ad/serve.php?q=1&t=68&u=a...) with no results...
Comment #12
jeremy commentedDid you ever track this down and get DEBUG output?
Comment #13
jeremy commentedNo further feedback, I guess you figured it out. Closing.
Comment #14
Manonline commentedthe problem has solved by moving the ad module from "/modules" to /sites/all/modules".
Comment #15
jeremy commentedI updated the readme -- it was giving bad advice.
Comment #16
chrism2671 commentedThis problem seems to reappear for me having upgraded from 2.0->2.1. I had the same issue when upgrading before from D5-D6 and had to fix it by a complete uninstall followed by a complete reinstall- very messy.
What could be the causes of this problem?
Comment #17
chrism2671 commentedComment #18
jeremy commentedCan you collect DEBUG output, as asked above?
Comment #19
jeremy commentedNo further feedback, I guess you figured it out. Closing.