Closed (fixed)
Project:
Advertisement
Version:
6.x-2.0
Component:
ad_report module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2009 at 04:07 UTC
Updated:
27 Oct 2009 at 00:30 UTC
When I run a report on a channel, no image is shown.
The URL that is created is like this:
img src="/ad_report/0/bargraph/admin/200908010000/200908312359"
It looks like somewhere in the code, that image is being called literally from the root directory, but I can't seem to find where that gets called.
Can anyone throw me a bone here?
Comments
Comment #1
jeremy commentedThis is true when running reports for groups, too. At this time, images are only generated when a report is against a specific node. The node id is specified as the second parameter, which in this case is '0' preventing any image from being displayed.
Marking as a feature request, and assigning to the ad_report component.
Comment #2
djudd commentedThanks Jeremy.
Is there a way to disable the broken image? My sales staff is very confused and I'd at least like to limit the number of phones calls I get saying "the image is broken".
Comment #3
jeremy commentedNot without hacking the code, unfortunately. But I intend to simply fix the image, if possible, for the next release. I'm currently traveling, so it may take me a little while.
Comment #4
jeremy commentedFixed:
http://drupal.org/cvs?commit=271718
Be sure to review the changelog before updating. The ad_report module now depends on the chart api:
http://drupal.org/project/chart
When updating the ad module, running update.php may take a _very_ long time if you have a large ad_statistics table, and during that time it's possible that ads may not display.
Comment #5
djudd commentedJeremy, this is a feature request, I know, but is there any way you could give us the ability to set a daily cap for ads? For example, if someone purchases 10,000 ads in a month, and wants them to run in smaller blocks throughout the month, give us a way to only give 325 impressions of that ad per day?