Menu
 
FAQFAQ
SearchSearch

MemberlistMemberlist

UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messages
Log in to check your private messages
Log inLog in
 
 

Community
 

Elvis, can you fix this please?

 
Post new topic   Reply to topic    Winbolo.net Forum Index -> Technical Help
View previous topic :: View next topic  
Author Message
Nemokrad



Joined: 23 Feb 2003
Posts: 573

PostPosted: Sun Jun 26, 2011 6:32 pm    Post subject: Elvis, can you fix this please? Reply with quote

Elvis, log files won't download in Chrome. The mime-types seem to be screwed up. Thank you!
Back to top
View user's profile Send private message
Elvis



Joined: 22 Feb 2003
Posts: 878

PostPosted: Sun Jun 26, 2011 10:30 pm    Post subject: Reply with quote

What should the headers be?

This is what they are currently set to:

header("Content-Length: ".$size. "bytes");
header("Content-Description: WinBolo Log File");
header("Content-Type: application/winbolologfile");
header("Content-Disposition: attachment; filename=\"$filename\"");
Back to top
View user's profile Send private message Visit poster's website
INDIO



Joined: 17 May 2010
Posts: 49

PostPosted: Mon Jun 27, 2011 2:14 am    Post subject: Reply with quote

and i thought it was just mah computer....
_________________
<(^^,)>
Back to top
View user's profile Send private message Visit poster's website
jhood



Joined: 02 Aug 2004
Posts: 734

PostPosted: Mon Jun 27, 2011 9:05 am    Post subject: Reply with quote

Any difference between content-length and the actual final download file size causes a "interruption" error in the latest version of Chrome right now, but they're switching it back in the next release. Log downloads work in Chrome dev 14.0.797.0.

http://code.google.com/p/chromium/issues/detail?id=85549

My guess is:
header("Content-Length: ".$size. "bytes");
should be
header('Content-Length: '.$size);
Back to top
View user's profile Send private message
stimpy



Joined: 23 Feb 2003
Posts: 320

PostPosted: Mon Jun 27, 2011 11:07 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message Send e-mail
Elvis



Joined: 22 Feb 2003
Posts: 878

PostPosted: Fri Jul 01, 2011 10:15 am    Post subject: Reply with quote

Updated. Did that help?
Back to top
View user's profile Send private message Visit poster's website
Fido



Joined: 22 Sep 2004
Posts: 328

PostPosted: Fri Jul 01, 2011 9:50 pm    Post subject: Reply with quote

I still get an "interrupted" Sad
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Winbolo.net Forum Index -> Technical Help All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 
 
 
Winbolo.net Copyright ©2003 John Morrison