Problem with showing pdf from mpdf
heangeejjang last edited by Gwen-Dragon
I'm web developer. The framework is Yii2 and I use Kartik Mpdf (http://demos.krajee.com/mpdf) extension to generate pdf and stuffs.
When I generate the pdf and throw to the browser to view it there, the pdf content is not rendered. It's open a new tab to render the content of pdf (in html, managed by the mPdf plugin/extension) and it seems to recognize well the pdf metadata. But only show a gray-colored background and nothing is showed. In the image added show the view. This drawback is not present neither in chrome (72.0.3626.119 ) nor firefox (Ubuntu built-in one).
@heangeejjang I checked with 2.3.1440.48 Stable and 2.4.1462.4 Snapshot on Windows 10 and Debian 9 KDE5 in Private Window mode to reduce effects of extensions.
I have no problem with the first Demo, it generates a PDF.
Bu i can see you use localhost as a server.
May be there are security restrictions, please check Developer Tools console.
heangeejjang last edited by
@heangeejjang - Do you block something with a extension in Vivaldi?
- Does your server really send PDF content?
- Did you check with a clean test profile?
Start in shell
camelrider last edited by
I am having the same problem getting pdf to render.
http://lss.bowl.com/leagueStandingSheets/SheetFileDownloadServlet is the url.
If I save the pdf to a file I can then read it through xfce's file viewer.
@camelrider Without knowing what to enter in the search form we ca not test.
iAN CooG last edited by
@Gwen-Dragon just enter in League Standing Sheet ID 1, search, then push the View Standing Sheet button. The resulting pdf is not rendered but if you use ctrl-s to save to disk you can see it's a valid pdf. probably some mime type problem, the resulting pdf is not seen as such.
Can confirm the bug in Vivaldi.
Works in Chromium 72
aflertis last edited by
Hi, also expecting problems with viewing pdf.
@aflertis I can confirm this issue.
Please read how to Report a bug for Vivaldi carefully and then report the bug to Vivaldi bugtracker.
marianarlt last edited by
This post is deleted!
risko last edited by
21 days later, bug still present, can't open my bank statements.
@aflertis Dds you reported the issue to the bugtracker?