Ticket #228 (new bug)

Opened 15 years ago

Last modified 15 years ago

Bug: Link encoding issues for advertiser

Reported by: brent Owned by: khaled
Priority: major Milestone: Beta 16.1 Release
Component: external project Version:
Severity: In Design (Product) Keywords:
Cc:

Description

Fertilaid wants us to link our ads to a yahoo store site using the following link: http://store.yahoo.com/cgi-bin/clink?yhst-10669596438250+CMS5PF+fertility.html

This link causes issues with openx so faisal created a URL encoder utility located at http://scripts.healthguru.com/admin/basictools to encode the link to work in our system.

The tool spit out the url: http%3A%2F%2Fstore.yahoo.com%2Fcgi-bin%2Fclink%3Fyhst-10669596438250%2BCMS5PF%2Bfertility.html

This worked previously but now is causing the following error message when clicked from our site:


Notice: Undefined offset: 1 in /var/www/advertising/www/delivery/ck.php on line 1941

Warning: Cannot modify header information - headers already sent by (output started at /var/www/advertising/www/delivery/ck.php:1941) in /var/www/advertising/www/delivery/ck.php on line 1454

Warning: Cannot modify header information - headers already sent by (output started at /var/www/advertising/www/delivery/ck.php:1941) in /var/www/advertising/www/delivery/ck.php on line 1450


Change History

Changed 15 years ago by khaled

  • severity changed from New / Just Added to Evaluating

Changed 15 years ago by khaled

  • type changed from feature to bug
  • severity changed from Evaluating to Bug: Confirmed

Changed 15 years ago by khaled

  • component changed from unknown / unassigned to external project

Changed 15 years ago by khaled

There appears to be a specific problem with the header redirection coming from the link. I believe the problem (but I have not confirmed this, it's more of a hunch) is that the yahoo store is setting a header redirect on the link, which is what OpenX is also doing. The error is actually occurring when Yahoo Stores tries to redirect the link, OpenX has already set and changed the header location.

One work-around is to instead use http://www.fairhavenhealth.com/fertility.html directly.

Currently checking if all such redirections cause problems for OpenX.

Changed 15 years ago by khaled

  • severity changed from Bug: Confirmed to LIVE Fix - Awaiting Testing

Found a way around this. The problem was that the notice message being generated caused output to be produced which made the header function call fail. The notice message was generated because the url was a non-standard type.

By suppressing notices using error_reporting(1), this problem is side-stepped.

Changed 15 years ago by brent

  • severity changed from LIVE Fix - Awaiting Testing to LIVE Test - Passed
Note: See TracTickets for help on using tickets.