View Full Version : [FIXED] cant download attatchment on your site
suffeks
Thu 5th Dec '02, 3:55pm
go here: http://www.vbulletin.com/forum/showthread.php?threadid=56783
try to download: http://www.vbulletin.com/forum/attachment.php?postid=360057
i get this error:
Warning: Invalid argument supplied for foreach() in /www/beta.jelsoft.com/htdocs/forum/attachment.php on line 145
PKÁžN-›éóBe¦ .htaccess J-/Ê,IuÍKÏÌKUÈÏãå ‚ˆ•æ¤*Ä¥å
Steve Machol
Thu 5th Dec '02, 4:35pm
Confirmed.
Freddie Bingham
Thu 5th Dec '02, 5:29pm
Originally posted by Steve Machol
Confirmed. Can you please tell me what the mimetype entry is for the .zip type in the admin cp.
Steve Machol
Thu 5th Dec '02, 5:31pm
Originally posted by freddie
Can you please tell me what the mimetype entry is for the .zip type in the admin cp. Sure thing. I looked in the vBulletin Options but couldn't find it. Where is this setting?
Freddie Bingham
Thu 5th Dec '02, 5:33pm
Originally posted by Steve Machol
Sure thing. I looked in the vBulletin Options but couldn't find it. Where is this setting? Attachments->Types
Steve Machol
Thu 5th Dec '02, 5:34pm
Originally posted by Steve Machol
Sure thing. I looked in the vBulletin Options but couldn't find it. Where is this setting? Never mind. It's in Attachements. The only problem is there is no setting for zip files in here. Should I add a new attachment type for 'zip' and what mimetype should I use?
Freddie Bingham
Thu 5th Dec '02, 5:36pm
Originally posted by Steve Machol
Never mind. It's in Attachements. The only problem is there is no setting for zip files in here. Should I add a new attachment type for 'zip' and what mimetype should I use? Yes that is the problem. You can leave 'mimetype' blank.
Steve Machol
Thu 5th Dec '02, 5:38pm
Originally posted by freddie
Yes that is the problem. You can leave 'mimetype' blank. It works now. Good job freddie! :)
Freddie Bingham
Thu 5th Dec '02, 5:41pm
Originally posted by Steve Machol
It works now. Good job freddie! :) I added an unknown header for all attachments that don't have a proper type defined so this will no longer occur even if you remove the .zip type.
suffeks
Fri 6th Dec '02, 1:43am
it still doesnt work, or you guys working on it?
Freddie Bingham
Fri 6th Dec '02, 2:08am
Originally posted by suffeks
it still doesnt work, or you guys working on it? You must be seeing a cached page. Does this link work? http://www.vbulletin.com/forum/attachment.php?postid=360057&foo=2
suffeks
Fri 6th Dec '02, 2:26am
Originally posted by freddie
You must be seeing a cached page. Does this link work? http://www.vbulletin.com/forum/attachment.php?postid=360057&foo=2
awesome, worked, thanks.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.