Attachment Mod Errors

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Attachment Mod Errors
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Hi,

I installed the attachment mod and have a very odd problem. Pictures show up, they download, audio and video play, but documents are doing weird things.

A user uploaded a pdf file, but when I click to download it, the file name is "modules.php"

Wait, it gets better, I can download the modules.php file, change the extension to pdf and then it works fine as an acrobat file.

Click [ Register or login to view links on this board.] and scroll down to the bottom to find the pdf file...click the link...and you'll see what I'm talking about.

Has anyone experienced this before?




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#2   re: Attachment Mod Errors
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
I haven't seen the code for the Attachment mod, so don't shoot me if I'm totally off-base here. The first thought that popped into my mind when I read your post is - Have you checked to make sure the .pdf filetype is enabled?

Like I said, I haven't seen the specific code, so it may be enabled by default, but if it isn't, then this might point you in the right direction.



Back to top Reply with quote
#3   re: Attachment Mod Errors
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 20 year's 20 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 47
Gender: Male
Fav. Sports Team: Da Bears.
Website:
Status: Offline
Joined: Jul 01, 2004
0.04 posts per day
Posts: 288
Points: 15,094
  MSN Messenger 
Hey Kelly, thanks for the reply. Yeah, pdf is enabled. I enabled everything and a few file types just are weird like that. Word (*.doc) files do the same thing. As a temp fix, I'm just going to only allow streaming media and archive files, since they both work.


I'll welcome more ideas though. icon_idea.gif




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#4   re: Attachment Mod Errors
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.49 posts per day
Posts: 3765
Points: 351,412
   
If I have some time, I'll download the mod and take a look around. Can't promise anything though. I'll post back if I find anything.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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
You cannot attach files in this forum
You cannot download files in this forum