phpBMS

Ticket #338 (assigned defect)

Opened 3 years ago

Last modified 6 months ago

Problem Downloading Attached Image Files

Reported by: rose.jared@… Owned by: brieb
Priority: minor Milestone: 1.0
Component: phpbms Version: 0.96
Keywords: needsReview Cc:

Description

I'm not sure if this bug has been submitted yet, or that the attach feature is even supposed to support this feature, but when I attach an image file (such as a jpg of a scanned in business check) to an invoice, and later try to download it, it is no longer readable. Simply put, I can view the image file before its submitted, but when I download it from PHPBMS, I can't open the new file.

I'm running phpBMS on a linux server and trying to view the file on a windows machine running Vista. Both Window's default image viewer and third party apps such as The Gimp cannot open the file. I've tried short file names with no spaces, different file formats (such as png), and I've made sure there is a file extension on the end of the file being submitted, but nothing I've tried seems to get it to work. I've looked in the forums and the Documentation Wiki to see if I'm doing it wrong, but there doesn't seem to be anything written about this feature.

Attachments

Screenshot.PNG Download (76.1 KB) - added by rose.jared@… 3 years ago.
Screenshots of the attachment bug

Change History

Changed 3 years ago by rose.jared@…

Screenshots of the attachment bug

in reply to: ↑ description ; follow-up: ↓ 2   Changed 3 years ago by anonymous

I am also having trouble with this, also noticed its not just pictures/images but all file attachments. Tested reuploading the image directly into the sql database and then download from PHPBMS and that works so its somewhere in the upload function that is where the corruption takes place.

Replying to rose.jared@…:

I'm not sure if this bug has been submitted yet, or that the attach feature is even supposed to support this feature, but when I attach an image file (such as a jpg of a scanned in business check) to an invoice, and later try to download it, it is no longer readable. Simply put, I can view the image file before its submitted, but when I download it from PHPBMS, I can't open the new file. I'm running phpBMS on a linux server and trying to view the file on a windows machine running Vista. Both Window's default image viewer and third party apps such as The Gimp cannot open the file. I've tried short file names with no spaces, different file formats (such as png), and I've made sure there is a file extension on the end of the file being submitted, but nothing I've tried seems to get it to work. I've looked in the forums and the Documentation Wiki to see if I'm doing it wrong, but there doesn't seem to be anything written about this feature.

in reply to: ↑ 1   Changed 3 years ago by anonymous

Every file upload has something changed in it, sizes do not match the orginal and are always more. Tried using a zip file as well, got corrupted.

Replying to anonymous:

I am also having trouble with this, also noticed its not just pictures/images but all file attachments. Tested reuploading the image directly into the sql database and then download from PHPBMS and that works so its somewhere in the upload function that is where the corruption takes place. Replying to rose.jared@…:

I'm not sure if this bug has been submitted yet, or that the attach feature is even supposed to support this feature, but when I attach an image file (such as a jpg of a scanned in business check) to an invoice, and later try to download it, it is no longer readable. Simply put, I can view the image file before its submitted, but when I download it from PHPBMS, I can't open the new file. I'm running phpBMS on a linux server and trying to view the file on a windows machine running Vista. Both Window's default image viewer and third party apps such as The Gimp cannot open the file. I've tried short file names with no spaces, different file formats (such as png), and I've made sure there is a file extension on the end of the file being submitted, but nothing I've tried seems to get it to work. I've looked in the forums and the Documentation Wiki to see if I'm doing it wrong, but there doesn't seem to be anything written about this feature.

  Changed 2 years ago by brieb

  • status changed from new to assigned
  • milestone changed from unknown to 1.0

  Changed 2 years ago by brieb

  • keywords attachment images removed

  Changed 2 years ago by brieb

  • keywords needsReview added

Can we confirm this in v0.98?

Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.