Posted by jonathan.agosto on November 27, 2012 at 6:40pm
3 followers
Jump to:
| Project: | |
| Version: | 7.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Ive been running into this problem ever since I updated the module to 7.x-1.1 and also updated the pdf.js to the current version in git.
Fortunately, Ive managed to fix it for myself changing the line 62 from:
$file_url = file_create_url($variables['file']->uri);
to:
$file_url = file_create_url($variables['file']['uri']);
I hope this can help anyone with a similar problem.
Comments
#1
You may need to use the latest file_entity module.
If I remember correctly, I change the code because of it.
#2
@Jonathan I had the same problem. Thank you so much for your solution. Works great.
P.S. I am running this on a multi-site install.
#3
fixed.