Problems with opening PDF files

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
phpusher
Registered User
Posts: 9
Joined: Fri Oct 24, 2014 11:48 pm

Problems with opening PDF files

Post by phpusher »

Support Request Template
What version of phpBB are you using? phpBB 3.1.3
What is your board's URL? No answer given
Who do you host your board with? No answer given
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
What version of phpBB3 did you update from? phpBB 3.1.2
What styles do you currently have installed? prosilver
What language(s) is your board currently using? No answer given
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP and phpBB
When did your problem begin? As I recall, it has always been a problem.
Please describe your problem. I have a problem with attached PDF files. If I download a PDF from my phpBB board to my Android phone, it cannot be opened directly from the Downloads list ("File cannot be opened"). I have to go to the Adobe Reader app and open the file from there. PDF files from anywhere else work without a problem. For some reason, Android seems to think, that PDFs from my board shouldn't be opened with Adobe Reader.

I experience the same problem with Firefox or Chrome on Linux Mint. Usually, PDFs are opened directly in the browser with their respective built-in PDF viewer. PDFs from my board are instead downloaded. After that, I can open them without a problem with any PDF application.

I attached a sample PDF file, because the same problem applies to this board. I don't know, if I'm just doing something wrong, or if that is some kind of a bug.

Does anybody know what the problem might be and how it can be fixed?
Generated by SRT Generator
Attachments
sample.pdf
(8.96 KiB) Downloaded 18 times
User avatar
Puchahawa
Registered User
Posts: 769
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: Problems with opening PDF files

Post by Puchahawa »

I believe that happens because PDF's are part of the downloadable files extension group. so a download is initiated when the link is clicked upon. ACP / posting tab / manage attachment extensions.
phpusher
Registered User
Posts: 9
Joined: Fri Oct 24, 2014 11:48 pm

Re: Problems with opening PDF files

Post by phpusher »

I forgot to mention that that was my first thought too, but the PDFs are part of the DOCUMENTS group, downloadable content is not even allowed on my board.
phpusher
Registered User
Posts: 9
Joined: Fri Oct 24, 2014 11:48 pm

Re: Problems with opening PDF files

Post by phpusher »

This is still an issue in 3.1.5 and I'm pretty sure it's a bug in phpbb and not browser- or site-related.
User avatar
david63
Registered User
Posts: 19041
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Problems with opening PDF files

Post by david63 »

phpusher wrote:I'm pretty sure it's a bug in phpbb
So have you reported it in the Bug Tracker?
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
Locked

Return to “[3.1.x] Support Forum”