Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ping Gautam: Revisiting bb-attachments

  • @stevenhodson

    Participant

    I realize you (and others) have tried in the past o help with this but circumstances have changed since then which leads to a couple of new problems.

    My host installed a brand spanking new quad xeon Linux server to take care of WP customers such as myself. As a result after getting everything moved over I decided to retry the bb-attachment plugin as this is one feature my members really want.

    The good noews is that the upload now works great – the files go where they are suppose to http://screencast.com/t/OWRkYzFiM

    and they get entered into the database correctly http://screencast.com/t/MzQzMTI0OG

    The problems start now on the display and download.

    TXT files are no problem as they download just fine.

    PDF files display the icon correctly but when downloaded the files are corrupted

    Images have two problems.

    1. they don’t display as they are suppose to within the post.

    2. as with the PDFs the images are also corrupted when downloaded.

    http://screencast.com/t/MzViYWQyYzI

    Any suggestions of things to try would be greatly appreciated

    Oh and the forums URL is http://www.winextra.com/forums/ and you can catch me in the #bbPress IRC channel most times

    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • @gautamgupta

    Participant

    Hmm.. I will take a look into this and probably come up with a new version (with an admin page).

    @kevinryman

    Participant

    Thanks Gautam! I haven’t try this plugin yet but I’ll keep updated. :)

    @stevenhodson

    Participant

    @Gautum there are three thread you can check to see what I mean

    http://www.winextra.com/forums/topic/8820

    http://www.winextra.com/forums/topic/8823#post-43799

    http://www.winextra.com/forums/topic/8826#post-43810

    if there is anything I can do to help just hollar

    @gautamgupta

    Participant

    Sorry Steven, but I am not getting much time to work on it.

    Just a quick question, what do you see when you go to http://www.winextra.com/forums/?bb_attachments_diagnostic after being logged in as the keymaster? Is something being shown as disabled or any function that does not exist?

    @stevenhodson

    Participant

    here’s the dump of the diagnostic http://pastebin.com/zdKn58Gt I’m not sure what I’m looking for but hopefully it will help you

    @gautamgupta

    Participant

    @Steven

    In the bb Attachments FAQ, it is written:

    if you get error: denied mime on every upload, mime_content_type function or shell access must exist to verify mime types – otherwise you can force all types to be allowed by editing bb-attachments.php and adding 'application/octet-stream' to each of the $bb_attachments['allowed']['mime_types']

    And as I can see in the dump you pasted, neither mime_content_type is enabled, nor shell access, so you would need to add 'application/octet-stream' to each of the $bb_attachments['allowed']['mime_types'] in bb-attachments.php.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar