Closed (fixed)
Project:
PDF
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2012 at 21:29 UTC
Updated:
14 Jun 2012 at 11:11 UTC
seems to freeze when display format set to "PDF default" showing a compressed display of the widget with loading...0% at the bottom. Set to "PDF first page" it returns an empty box. I flushed cache and ran cron a few times to no avail. Any ideas?
Comments
Comment #1
shenzhuxi commentedWhich browser are you using?
Comment #2
suppyx commentedsame issue
Comment #3
shenzhuxi commentedMore details, please.
Comment #4
mikeaja commentedSame for me with Firefox 10.0.2
Seems to work ok in Chrome 16.0.912.77 m though.
Comment #5
shenzhuxi commentedJust tested Firefox 10.0.2. It works and maybe just a little bit slow for loading.
Comment #6
mikeaja commentedYes you are right. It works, just slow (at least for me that was the issue).
Thanks for clarifying.
Comment #7
chetans commentedComment #8
neozerosv commentedOk, i started using the module and i found two bugs:
First of all this is my enviroment:
OS: Debian Squeeze GNU/Linux
Drupal: 7.10
Drupal pdf module: pdf-7.x-1.0-alpha2
pdf.js: Version comitted Tue Mar 20 21:24:17 2012 -0700
1- pdf.js tries to locate some files at the drupal root subdirectories. So i have resolved the issue by creating two simlynks of:
pdf -> sites/all/libraries/pdf.js/src/
external -> sites/all/libraries/pdf.js/external/
So the actual module finds the files.
2- Drupal module pdf tries to locate the file /sites/all/modules/pdf/pdf-viewer.tpl.php which doesnt exist there but in /sites/all/modules/pdf/theme/pdf-viewer.tpl.php so all i did was another simlynk
I hope it helps.
Comment #9
markusa commentedTried to work around these bugs but to no avail.....tried to create a pdf directory and a external directory under the drupal root and then copied the sites/all/libraries/pdf.js/src directory to the pdf directory under drupal root and copied everything in the sites/all/libraries/pdf.js/external
this module would be pretty cool....if it worked
Comment #10
shenzhuxi commentedBecause pdf.js is updated, now I recommend you to use v0.1.0.zip instead of the latest from git.
keep pdf.js in sites/all/libraries/pdf.js/ and run make as http://drupalcode.org/project/pdf.git/blob_plain/refs/heads/7.x-1.x:/REA...
Comment #11
markusa commentedThanks...didn't realize I had to make pdf.js....cheers
Comment #12
shenzhuxi commentedThe latest release doesn't require make for embedded display any more.