沈哥 你好!
我下载了PDF.JS,并使用node make generic了,在build目录下也生成了PDF.JS文件,可以再模块里依旧提示Libraries (不存在)
这是怎么回事啊,谢谢

CommentFileSizeAuthor
#4 PDF.png10.46 KBr06122

Comments

shenzhuxi’s picture

r06122’s picture

这个已经看过了,自己生成的不好用,安装下面这个方法来做,还是不行。。。

#6

Posted by LPCA on November 27, 2012 at 2:00pm

or download pdf.js from here

and place it on /sites/all/libraries/pdf.js

shenzhuxi’s picture

What's the error report?
出错提示是什么?

r06122’s picture

StatusFileSize
new10.46 KB

Notice: Trying to get property of non-object 在 theme_pdf_formatter_thumbnail() (行 79 在 C:\AppServ\www\drupal\sites\all\modules\pdf\includes\pdf.field.inc).

r06122’s picture

开始出现的libraries(不存在)的问题,我想清楚了,此libraries非彼libraries。
但出现了一个新问题:提示如下
Notice: Trying to get property of non-object 在 theme_pdf_formatter_thumbnail() (行 79 在 C:\AppServ\www\drupal\sites\all\modules\pdf\includes\pdf.field.inc).

shenzhuxi’s picture

Status: Active » Closed (fixed)

Notice 应该不影响使用。

r06122’s picture

谢谢!