Page 1 of 1

Preview tab not working

PostPosted:Mon Jun 07, 2010 5:38 am
by saad
Hi guys

I followed the wiki, and enabled the pdf2swf in the config file.

Also installed the converter, using macports, and it installed itself and the libraries. However when I want to preview a PDF, it doesnt work, all I get is the following empty screen:

Image

Here is the code for your reference:
Code: Select all
    # Default configuration values
    #
    # repository.config=repository.xml
    # repository.home=repository
    # system.user=system
    # default.user.role=UserRol
    # default.admin.role=AdminRol
    # principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter
    max.file.size=500
    # max.search.results=25
    # system.demo=off
    # update.info=off
    # system.ocr=/usr/bin/tesseract
    # system.openoffice=on
    system.pdf2swf=/opt/local/bin/pdf2swf
    # system.readonly=off
    # system.antivir=/usr/bin/clamscan
    restrict.file.mime=off
    restrict.file.extension=*~,*.bak,._*

    principal.adapter=es.git.openkm.principal.LdapPrincipalAdapter
    principal.ldap.server=ldap://zimbra.foobarite.local
    principal.ldap.security.principal=cn=config
    principal.ldap.security.credentials=xxxxx
    principal.ldap.user.search.base=ou=people,dc=foobarite,dc=com
    principal.ldap.user.search.filter=(objectClass=posixAccount)
    principal.ldap.user.atribute=uid
    principal.ldap.role.search.base=ou=groups,dc=foobarite,dc=com
    principal.ldap.role.search.filter=(objectClass=posixGroup)
    principal.ldap.role.atribute=cn
    principal.ldap.mail.search.base=cn={0},ou=people,dc=foobarite,dc=com
    principal.ldap.mail.search.filter=(objectClass=organizationalPerson)
    principal.ldap.mail.atribute=zimbraMailDeliveryAddress
    system.login.lowercase=on
I checked the directory and the pdf2swf file is there.

Any help with this?

And how can I enable preview of word/excel files and jpeg pictures?

Thanks

Re: Preview tab not working

PostPosted:Mon Jun 07, 2010 9:26 am
by jllort
1- Take a look at your server.log ( too see if happens some error ?
2- your pdf files has property copy disabled ?

Afirmation : with this configuration is not possible to preview anything, open office service is disabled ! it must be started as a service and yet configured in OpenKM:cfg
Code: Select all
 system.openoffice=on

Re: Preview tab not working

PostPosted:Fri Jun 11, 2010 7:46 am
by flekschas
I do have another problem concerning the previews.
First of all everythings works fine except when working on some docs via webdav the preview is not updated. When doing the same editing via the webinterface the preview is updated immediately.
Is there a way that openkm updates the previews every time a doc is edited?

Thanks for your help

Re: Preview tab not working

PostPosted:Wed Jun 16, 2010 5:04 am
by pavila
This bug is fixed in the upcomming OpenKM 5.0 release.

Re: Preview tab not working

PostPosted:Fri Jul 02, 2010 1:32 pm
by saketh
Hi,
first I want to thank you for such a great product and the possibility to use it as a open source application.
But i had a problem with preview tab, it's not working in my openkm...
I cannot view the preview of any files in the openkm...plz tell me the solution
Thank You...

Re: Preview tab not working

PostPosted:Fri Jul 02, 2010 6:13 pm
by jllort
You'll get information in wiki.openkm.com

Special attetion at : http://wiki.openkm.com/index.php/Applic ... figuration
You must install soffice ( open office ) as a service and swftools
And have OpenKM.cfg configured for it