Headers already written.

Reply

Join Date: Dec 2008
Posts: 1
Reputation: finance-blogs is an unknown quantity at this point 
Solved Threads: 0
finance-blogs finance-blogs is offline Offline
Newbie Poster

Headers already written.

 
0
  #1
Dec 13th, 2008
I've downloaded some of my site, to transfer it to a new site, however when I upload it to the new site, I've found that if I zip it all up, it complains that the headers have already been written when I view the site, however if I just straight upload it, I don't get the error.

I don't think it's a coding error, think it's something to do with the upload\download. Anybody any ideas?
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 150
Reputation: sDJh is an unknown quantity at this point 
Solved Threads: 13
sDJh sDJh is offline Offline
Junior Poster

Re: Headers already written.

 
0
  #2
Dec 14th, 2008
I guess that during the encodation of the zips under PHP or whatever the engine writes a space, a carriage-return, a line-feed or any other ASCII-character that normally doesn't cause any problems. Now when PHP executes it, the engine thinks the HTML-code begins, sends the HTTP headers and then stucks when it comes to modify the header.

That's my only explaination I can think of. But it's quite interesting to know what really is the problem.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC