Prosper202 Tracking202 Export202 WorldProxy202 Meetup202 | Blog Forum Newsletter Twitter | Advertise
Login · Register
Home About Docs Scripts Blog Forums Hosting Donate Download

Error: Cannot modify header information - headers already sent by...

Post new topic Reply to topic Prosper202 Forum Index » Prosper202 Self-Hosted-Apps
New Posts Search Forum
Author Message
prosumer86
Website Facebook MSN AIM


Joined: Nov 19th, 2007
Posts: 17

Post Posted: Aug 17th, 2008 at 3:19am Post subject: Error: Cannot modify header information - headers already sent by... Reply with quote

Hi guys,

Pretty new to Prosper202, but I followed the steps to create a multiple offer page, and when I uploaded everything and tried to test my offer urls, I saw this error message:

Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/XXXXX/XX/index.php:1) in /home/XXXXX/public_html/XXXXX/XX/index.php on line 14.

Anyone know why this is happening? Here is what I have done:

- Inserted javascript code before </body> tags on my index.php page

- create 3 sub-folders, for each offer

- saved the individual offer php codes into index.php and saved it in the respective sub-folders

I have done everything step-by-step (at least I think so), but still have this error. Anybody can help? Will appreciate it lots.

Ben

Back to top
prosumer86
Website Facebook MSN AIM


Joined: Nov 19th, 2007
Posts: 17

Post Posted: Aug 17th, 2008 at 4:25am Post subject: Re: Error: Cannot modify header information - headers already sent by... Reply with quote

Have read up that this error msg is occasionally caused by 'white spaces', but I have checked that the offer php code i pasted is exactly the same as was provided to me by P202.

Have also tried the same thing on T202, and had the EXACT same warning message.

Any help?

Back to top
T202Wes
Website Email Twitter Facebook AIM


Joined: Oct 20th, 2007
Posts: 2432

Post Posted: Aug 17th, 2008 at 5:14am Post subject: Re: Error: Cannot modify header information - headers already sent by... Reply with quote

sounds likes its a php error on the landing page side.

Are you sure it ends ?> with no whitespaces after.

and are u sure it starts with <? with no whitespaces before?

Back to top
prosumer86
Website Facebook MSN AIM


Joined: Nov 19th, 2007
Posts: 17

Post Posted: Aug 17th, 2008 at 5:51am Post subject: Re: Error: Cannot modify header information - headers already sent by... Reply with quote

I am 100% sure there are no white spaces. It was the first thing I checked for... that's whats got me stumped.

I even changed the location to Location, as some forums advised, but to no avail.

Any other stuff I could check?

Back to top
prosumer86
Website Facebook MSN AIM


Joined: Nov 19th, 2007
Posts: 17

Post Posted: Aug 17th, 2008 at 6:19am Post subject: Re: Error: Cannot modify header information - headers already sent by... Reply with quote

Araghh! Ok I got it figured out...

I was using Microsoft Web Expression, and that must have been the problem. Somehow it was adding white spaces or something to my code.

I saved it using Notepad and it works like a charm now!

Thanks for your help Wes!

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.