Closed (duplicate)
Project:
Advertisement
Version:
6.x-1.x-dev
Component:
ad_image module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2008 at 17:56 UTC
Updated:
19 Nov 2008 at 16:51 UTC
I have this running on a test site hoping it will get developed for 6. I upgraded to the latest dev version today and while all the pieces seem to be there, the one image ad I have displaying doesn't work on clicking. I have a destination URL in that field but when I click the ad I go to a Page Not Found with the path: ...ad/redirect/3/@HOSTID___
Comments
Comment #1
ztyx commentedComment #2
danyg commentedsubscribe with text and html ads. Pgae not found error.
.../ad/redirect/163/t20/
this is a 163rd node in 20th taxonomy,
in ad_menu() i found:
$items["ad/redirect/%/%/%"] = array(
'access arguments' => array('show advertisements'),
'type' => MENU_CALLBACK,
'page callback' => 'ad_redirect',
'page arguments' => (array(2,3,4)),
);
maybe i need three arguments, but I modified it, and try to understand ad_redirect($aid, $group, $hostid = 0) function without results.
Am I doing wrong or dev version doesn't work yet?
I tried to change it based on http://drupal.org/node/294029 , but it doesn't work for me :(
Thanks in advance,
DanyG
Comment #3
jeremy commentedMarking as duplicate. (And here).