[bd] Attachment Store [Deleted]

Rebuild doesn't make any difference.

This is from the site running on apache

Actual image URL

http://pieclub.org/data/attachment-files/2013/10/thumb/93_4_48531_IMG_1977.JPG

URL being used in the post for the image now:
http://pieclub.org/data/attachment-files/2013/10/thumb/93_4_48531_IMG_1977.jpg

View attachment 59541
Yeah, rebuild should not have any effect. (It is a bug if rebuild does that). So now the problem lies in a specific version which I think it is v0.10.2. Is that the version you are running at the Apache site?
 
No, it's version 0.11.

There is no version 0.10.2 available on your site, it goes 0.10.1 to 0.11 (which is the update path I've done).
 
I have the same issue and I run Litespeed, so I don't think it's anything contacted to that.

Edit2: Yeah, you right. Links originally were uploaded with the extension JPG (capitalized), and the add-on, for some reason, converts the extensions to jpg (lower case). In order to view the image, the browser has to have specific lower/upper case letters, so an original link that was uploaded with the extension JPG wouldn't work with jpg.
It's like trying to access:
http://xenforo.com/community/data/avatars/l/51/51193.jpg
or:
http://xenforo.com/community/data/avatars/l/51/51193.JPG

The second one wouldn't work.
 
Last edited:
No, it's version 0.11.

There is no version 0.10.2 available on your site, it goes 0.10.1 to 0.11 (which is the update path I've done).

Please confirm @MattW, you said earlier that old attachments with UPPERCASE extension are having problem. But the Apache site is running 0.11 and new attachments are having problem too?

No, new attachments are working, because when the file is uploaded, the extension is also being converted to lowercase. Old attachments with lowercase extensions are also working.
It's old attachments with uppercase extensions that are now not working.

I have the same issue and I run Litespeed, so I don't think it's anything contacted to that.

Edit2: Yeah, you right. Links originally were uploaded with the extension JPG (capitalized), and the add-on, for some reason, converts the extensions to jpg (lower case). In order to view the image, the browser has to have specific lower/upper case letters, so an original link that was uploaded with the extension JPG wouldn't work with jpg.
It's like trying to access:
http://xenforo.com/community/data/avatars/l/51/51193.jpg
or:
http://xenforo.com/community/data/avatars/l/51/51193.JPG

The second one wouldn't work.

Can you help me with information regarding problematic attachments?
  • Version of add-on at the time of uploading
  • Version of add-on now
Converting extension to lowercase is the designed behaviour but there is a bug some where that is generating the wrong URLs for files.
 
@xfrocks

Both sites are currently running 0.11

Both sites have issues with .JPG/PNG files that were uploaded BEFORE upgrading the add-on to 0.11.

Images were uploaded using 0.10.1 with uppercase file extension. They were working fine on that version. As soon as I update the add-on to 0.11, the URL generated contains lowercase file extension, causing 404 error on the file, because the uploaded image has UPPERCASE file extension.
 
@xfrocks

Both sites are currently running 0.11

Both sites have issues with .JPG/PNG files that were uploaded BEFORE upgrading the add-on to 0.11.

Images were uploaded using 0.10.1 with uppercase file extension. They were working fine on that version. As soon as I update the add-on to 0.11, the URL generated contains lowercase file extension, causing 404 error on the file, because the uploaded image has UPPERCASE file extension.
Started a conversation with you ;)
 
I have the same issue and I run Litespeed, so I don't think it's anything contacted to that.

Edit2: Yeah, you right. Links originally were uploaded with the extension JPG (capitalized), and the add-on, for some reason, converts the extensions to jpg (lower case). In order to view the image, the browser has to have specific lower/upper case letters, so an original link that was uploaded with the extension JPG wouldn't work with jpg.
It's like trying to access:
http://xenforo.com/community/data/avatars/l/51/51193.jpg
or:
http://xenforo.com/community/data/avatars/l/51/51193.JPG

The second one wouldn't work.
@xfrocks

Both sites are currently running 0.11

Both sites have issues with .JPG/PNG files that were uploaded BEFORE upgrading the add-on to 0.11.

Images were uploaded using 0.10.1 with uppercase file extension. They were working fine on that version. As soon as I update the add-on to 0.11, the URL generated contains lowercase file extension, causing 404 error on the file, because the uploaded image has UPPERCASE file extension.
Hotfix is now available at xfrocks.com https://xfrocks.com/resources/bd-attachment-store.3/update?update=30. Sorry for the inconvenience guys.
 
Hello, I've a "poor man" cdn that's practically another domain hosted outside my server farm. Can I use this addon to host all my attachments on this domain so that they're all served from this domain?

I mean, my forum is at forum.kog.it and I'd like my attachments served from www.anotherdomain.com.

I've to create some special folders on www.anotherdomain.com?
 
Hello, I've a "poor man" cdn that's practically another domain hosted outside my server farm. Can I use this addon to host all my attachments on this domain so that they're all served from this domain?

I mean, my forum is at forum.kog.it and I'd like my attachments served from www.anotherdomain.com.

I've to create some special folders on www.anotherdomain.com?
Yes, you can use FTP to upload attachments from forum.kog,it to www.anotherdomain.com and serve them from there.
 
Yes, you can use FTP to upload attachments from forum.kog,it to www.anotherdomain.com and serve them from there.
Thanks but I can't do that. I'd like that when a user submit an attachment, this one goes directly to the other domain or it's automatically uploaded there by the addon. Is this the mean of "Added passive mode support for FTP" in the latest version of your addon?
 
This looks like a very promising ad-on.
I am currently running test runs for an upcoming VB4 to XF import and layout my deployment strategy. In VB I currently use file storage.
Is it possible to install and activate this ad-on prior to the default VB import script or the Vbulletin Big Board Importer so that attachments never get inserted into the database in the first place but instead get stored in on the local filesystem?

Basically cut out one step on my journey.
Instead of:
VB Filesystem > XF db > XF filesystem

Use this plugin to get:
VB Filesystem > XF filesystem

Unique / Total Attachments 122,294 / 112,937
Attachment File-size Sum 26.32 GB
Disk Space Used 24.31 GB
Storage TypeAttachments are currently being stored in the filesystem at /home/x/public_html/forum/attachments
Average Attachment File-size 225.7 KB
Total Downloads 18,358,716
 
Top Bottom