Previous Thread
Next Thread
Print Thread
Hop To
PDF attachment file bug (Gizmo) #219874 12/04/2008 10:27 AM
Joined: Nov 2006
Posts: 9
cass Offline OP
stranger
OP Offline
stranger
Joined: Nov 2006
Posts: 9
Gizmo has been working on my forums. I asked him to take a look at a problem with .pdf attachments that give an Adobe error when accessed, while the same .pdf file, transferred to server via ftp is fine.

This started with 7.3.1 and continues with the upgrade to 7.4.1.

I'm linking to two threads that Gizmo tested which show the problem.

Thread 1

Thread 2


Re: PDF attachment file bug (Gizmo) [Re: cass] #219876 12/04/2008 11:56 AM
Joined: Jun 2006
Posts: 15,861
Likes: 1
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,861
Likes: 1
Originally Posted by Gizmo
I upload the file, when I try to open it through the link the forum provides it errors (clicky).

I ftp download the file, and open it, opens fine (thus it uploaded fine).

I use the direct link (clicky) and it works fine.

I'm not entirely sure of the issue, but since the link works when accessed directly, it leads me to think it has to be something with the redirector to the file in the UBB; BUT it just redirects to the file on the server...

Leads me to think, you may have to file a bug report at UBBCentral...


Originally Posted by Gizmo (EMail)
The ubb stores their names in the database, and the files as a number with whatever extension the file is... I posted a test on the same forum you linked me to as well as basically saying you need to post a bug report; feel free to quote what I said and/or link to the posting on your bug report.

Basically, the redirector reads the URL you link to it, and it looks up the associated file in the database, then sends the file to the user with a header of what the name should be and the browser does the rest; I'm thinking that something in the whole request is causing the issue (as the file exists properly on the server since linking to it directly on its actual location works)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: PDF attachment file bug (Gizmo) [Re: Gizmo] #219877 12/04/2008 1:49 PM
Joined: Dec 2003
Posts: 6,017
Likes: 1
Ruben Offline
Offline
Joined: Dec 2003
Posts: 6,017
Likes: 1
After reading this post I tested this on my ver7.4.1.
Using two different computers and ie7 and firefox3.
When I upload a pdf file about 200k it uploads in less that two seconds. When I try to open or save the file in the post I don't get a error but it takes at least 5 to 6 minutes to complete.
If I try a image file it performs very fast.
I also tried a word.doc file same issue
I am not talking about the time the application takes to display the file but how long the file takes to download to the browser.
Typing the url directly in my browser the file opens almost in an instant less than a second.
So there must be some type of issue that it takes so long.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: PDF attachment file bug (Gizmo) [Re: Ruben] #219884 12/04/2008 8:16 PM
Joined: Jun 2006
Posts: 15,861
Likes: 1
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,861
Likes: 1
have you tried opening the document? The request gets sent just fine, but the document downloaded is currupt when downloading through the UBB... When accessing via actual server URL (and not the UBB) it works fine.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: PDF attachment file bug (Gizmo) [Re: Gizmo] #219894 12/05/2008 8:11 AM
Joined: Dec 2003
Posts: 6,017
Likes: 1
Ruben Offline
Offline
Joined: Dec 2003
Posts: 6,017
Likes: 1
Yes the file opens just fine. In fact I tried a 1mb pdf.
My issue is when downloading the status shows nothing is downloading % shows 0 but it takes at least 6 minutes to download a file even if the file is 100kb or 1 mb takes the same amount of time.
If I was not testing this I would have canceled the operation as a user because it looks like it is not working at all and it takes way to long.

There is something wrong with this process for sure.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: PDF attachment file bug (Gizmo) [Re: Ruben] #219895 12/05/2008 10:11 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
I think we need to change the way pdf documents are handled in downloads. I'll need to do a couple tests with this.


Link Copied to Clipboard
Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
7.7.3 Installation / STYLE_IS_ACTIVE
by BellaOnline - 01/24/2020 5:55 PM
Typo 7.7.3 temp/mess_reply.php
by BellaOnline - 01/24/2020 5:51 PM
Error Rebuilding Forums 7.7.1
by BellaOnline - 01/22/2020 1:22 PM
Subscriptions Question
by Ruben - 01/14/2020 12:11 PM
Who's Online Now
0 members (), 47 guests, and 298 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200106)