TV202 Prosper202 Tracking202 Export202 WorldProxy202 Meetup202 | Blog Forum Newsletter Twitter | Advertise
Login · Register
Home About Docs Scripts Blog Forums Hosting Donate Download
Before Posting, Have You Read the FAQ? And Have You Searched? If Not Please Do!

Attn: The 202 Support Forum will now be revised
Within the next few weeks the Tracking202 Support Forum will be revised. Some threads will be shut down or reorganized. New rules will be put in place to accommodate those who need help. The 202 team wants to make the forum a more user friendly place for new and old affiliates. We want to make this forum a place for affiliates to help each other be successful.

Get error message on redirect page.

Post new topic Reply to topic Prosper202 Forum Index » Tracking202 General Discussion
New Posts Search Forum
Author Message
macca747
Website Skype AIM


Joined: Aug 12th, 2009
Posts: 11

Post Posted: Oct 27th, 2009 at 7:55am Post subject: Get error message on redirect page. Reply with quote

I'm using xsitepro to build my site, I have a LP with 4 different offers so have created 4 seperate pages to link to froom the LP, I have put the redirect code on each page but get the following error when going to the pages;

Warning: Cannot modify header information - headers already sent by (output started at /home/macca747/public_html/wow_guide_ultiamte_wow_guide.php:6) in /home/macca747/public_html/wow_guide_ultiamte_wow_guide.php on line 34

Back to top
T202Wes
Website Email Twitter Facebook AIM


Joined: Oct 20th, 2007
Posts: 4342

Post Posted: Oct 28th, 2009 at 7:44pm Post subject: Re: Get error message on redirect page. Reply with quote

Back to top
macca747
Website Skype AIM


Joined: Aug 12th, 2009
Posts: 11

Post Posted: Oct 29th, 2009 at 7:49am Post subject: Re: Get error message on redirect page. Reply with quote

Thanks T202Wes done all as suggested but still getting error, can you see prob?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >

<html>

<head>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">

<title>World of Warcraft - zygor wow guide</title>

<meta NAME="Keywords" Content="keywords">

<link type="text/css" rel="stylesheet" href="xsp_styles.css">

<meta NAME="Author" Content="John Mac">

<meta NAME="Copyright" Content="WoW Guide 2009">

</head>

<body>

<?php

// -------------------------------------------------------------------

//

// Tracking202 PHP Redirection, created on Tue Oct, 2009

//

// This PHP code is to be used for the following setup:

// WoW Zygor Guide on http://www.wowguide.me

//

// -------------------------------------------------------------------

$tracking202outbound = 'http://redirect.tracking202.com/off/6433443/'.$_COOKIE['tracking202pci'];

header('location: '.$tracking202outbound);

?>

</body>

</html>

NB there are no spaces in code

Back to top
T202Wes
Website Email Twitter Facebook AIM


Joined: Oct 20th, 2007
Posts: 4342

Post Posted: Oct 29th, 2009 at 3:43pm Post subject: Re: Get error message on redirect page. Reply with quote

please take out all of that html.

the page should start with <? on line 1.

-wes

Back to top
macca747
Website Skype AIM


Joined: Aug 12th, 2009
Posts: 11

Post Posted: Oct 30th, 2009 at 7:42am Post subject: Re: Get error message on redirect page. Reply with quote

Done all that Wes but still getting error.

<?php

// -------------------------------------------------------------------

//

// Tracking202 PHP Redirection, created on Fri Oct, 2009

//

// This PHP code is to be used for the following setup:

// WoW Zygor Guide on http://www.wowguide.me

//

// -------------------------------------------------------------------

$tracking202outbound = 'http://redirect.tracking202.com/off/6433443/'.$_COOKIE['tracking202pci'];

header('location: '.$tracking202outbound);

?>

Theree are no spaces in the code - will not display properly here.

Back to top
T202Nana
Website Twitter


Joined: Jul 3rd, 2008
Posts: 41

Post Posted: Oct 30th, 2009 at 6:25pm Post subject: Re: Get error message on redirect page. Reply with quote

It may be your host try the following

<?php

$tracking202outbound = 'http://redirect.tracking202.com/off/6433443/'.$_COOKIE['tracking202pci'];

?>

<meta http-equiv="refresh" content="0;URL=<?php echo $tracking202outbound;?>" />

Back to top
macca747
Website Skype AIM


Joined: Aug 12th, 2009
Posts: 11

Post Posted: Nov 1st, 2009 at 7:52am Post subject: Re: Get error message on redirect page. Reply with quote

T202Nana you are a star, all working now cheers :)

Back to top
T202Lex
AIM


Joined: Mar 30th, 2009
Posts: 265

Post Posted: Nov 2nd, 2009 at 6:39pm Post subject: Re: Get error message on redirect page. Reply with quote

Awesome glad we could help.

Thanks,

Alex

Back to top
Post new topic Reply to topic Page 1 of 1

Creative Commons License This work (Prosper202, Tracking202 and Export202) is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.