Forums / General Questions / Duplicate headers received from server

Duplicate headers received from server

Views: 2,861

Results 1 to 14 of 14
23 Jan 2012, 4:01 AM
#1
templatetonic avatar

templatetonic

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Duplicate headers received from server

After loading a test text file as a download attribute, and placing a dummy order when I made it free I then marked it as processing and went back to my success checkout, hit refresh and it was available.

When I clicked download I got an error via Chrome saying:

Duplicate headers received from server
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 346 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH): Multiple distinct Content-Length headers received. This is disallowed to protect against HTTP response splitting attacks.

What does this mean? How can I fix?

27 Jan 2012, 4:43 AM
#2
songbird avatar

songbird

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Duplicate headers received from server

I just had Zen Cart added to my site and unfortunately before we went live with it, the version 1.5 came out and my web designer upgraded to the new version. I am getting the same error on Chrome. I get a "HTTP 400 Bad Request The Web Page Cannot be Found" Error using IE, and with Firefox I get a "Corrupt Content" Error. The web designer upgraded on his server and was able to download without problems.

Any help on this would be great as I would love to be able to open the new cart sooner than later!:frusty:

28 Jan 2012, 10:34 PM
#4
songbird avatar

songbird

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Duplicate headers received from server

Hi Template Tonic, I wonder if we need to post this again somewhere else as no one seems to want to answer here!:(

28 Jan 2012, 10:38 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Duplicate headers received from server

Do not repost. If you have more details it would help the experts to diagnose your problem.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

28 Jan 2012, 10:56 PM
#6
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Duplicate headers received from server

The best way to learn is to try stuff. But, back it up first.

28 Jan 2012, 11:13 PM
#7
songbird avatar

songbird

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Duplicate headers received from server

I am new to Zen Cart. My webmaster installed version 1.3.9 on my site. I uploaded all my downloads and set up everything on my end. I did a test sale and everything went through fine until I tested the download link. I then got the following error. I can't get my Zen Cart store up and running until I can get this resolved. I am using Chrome. However, I get error messages with Firefox and IE also. IE was http 400 bad request. Please help! :frusty:

Oops should have added that he upgraded to 1.5 after I had set up everything.

28 Jan 2012, 11:23 PM
#8
songbird avatar

songbird

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Duplicate headers received from server

Sorry, didn't see this before I posted on the 1.3 to 1.5 upgrade page. Listed the errors there with screen shots for Chrome and Firefox and error message for IE. :oops: Will check out the article. Thank you. Any other info you might have would be greatly appreciated! I have reuploaded the files to my downloads also, and this didn't help. This was suggested by my host.

28 Jan 2012, 11:55 PM
#9
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Duplicate headers received from server

Who is your host?

The best way to learn is to try stuff. But, back it up first.

29 Jan 2012, 2:17 AM
#10
templatetonic avatar

templatetonic

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Re: Duplicate headers received from server

I get the same error screen is my browsers as well.

I think my error is because after the .com/ I have another slash. So my address is:

mystore.com//index.php?main_page=download&order=18&id=9

No clue how that happened but it seems this error might be because of that path?

"This warning is often caused by a blank space or extra line at the beginning or end of a .php file."

What file would I look at?

29 Jan 2012, 2:19 AM
#11
templatetonic avatar

templatetonic

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Re: Duplicate headers received from server

RescoCCC:

Who is your host?

I use ipage.com and they offered no help other than to restore a backup BUT it's been this way since I installed Zen. I'm only a few weeks in.

29 Jan 2012, 3:00 AM
#12
songbird avatar

songbird

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Duplicate headers received from server

RescoCCC:

Applicable tutorial:

https://www.zen-cart.com/tutorials/index.php?article=87

I checked out this article. It is nothing like the error message I am getting.

Duplicate headers received from server
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 346 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH): Multiple distinct Content-Length headers received. This is disallowed to protect against HTTP response splitting attacks.

29 Jan 2012, 3:03 AM
#13
songbird avatar

songbird

New Zenner

Join Date:
Dec 2011
Posts:
8
Plugin Contributions:
0

Re: Duplicate headers received from server

RescoCCC:

Who is your host?

My host is fatcow

I have tickets into them but only get back that they don't support third party software! They did look at it and suggested coming here.

29 Jan 2012, 9:02 PM
#14
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Duplicate headers received from server

Songbird:

I checked out this article. It is nothing like the error message I am getting.

Duplicate headers received from server
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 346 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH): Multiple distinct Content-Length headers received. This is disallowed to protect against HTTP response splitting attacks.

It is very much like the message you're getting. Error messages caused by the same issue rarely match precisely in the text generated.

The best way to learn is to try stuff. But, back it up first.