Page 1 of 1

Flexpaper not working.

PostPosted:Mon Jun 30, 2014 8:54 am
by mohasinmujawar56
I am using OpenKM 6.2 Community Edition on Windows 7 as well as on Windows 2003 Server. I have hosted the OpenKM for external use through public IP of my network to http://www.example.com and tried to access it. It loaded correctly and worked properly for document adding, deleting, etc. But when I tried to preview the document the document viewer (flexpaper) shows the error saying "Obtain license from FlexPaper". In my local system and network its working correctly without showing any error.
How can I resolve this problem and is there any other option available?

Re: Flexpaper not working.

PostPosted:Tue Jul 01, 2014 9:57 am
by jllort
Are you using 6.2.5 version ? sure ?

Re: Flexpaper not working.

PostPosted:Wed Jul 02, 2014 6:16 am
by mohasinmujawar56
Actually one of my senior gave me the source code and told to download and compile the source code of OpenKM 6.2 from SVN and then replace the source code and pom file with the files given by him. He has done some modifications in it. When I check the Flexpaper.js files then it is showing that files are open source.

/**
█▒▓▒░ The FlexPaper Project

This file is part of FlexPaper.

FlexPaper is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
.... */

is written there means it is open source one.

Re: Flexpaper not working.

PostPosted:Fri Jul 04, 2014 6:42 pm
by jllort
There're two version of flexpaper one comercial ( if you sold application you can not include open source ) and other open source what is included in community version. What's strange for me is the error you're getting. Using domain url or ip you get licensing problem, but with localhost not ... could you gave us more complete example to better understanding.

Re: Flexpaper not working.

PostPosted:Sat Jul 05, 2014 9:31 am
by mohasinmujawar56
I have hosted OpenKM on my local server which has Windows Server 2003 with IP say 192.168.1.100. And in my router setting I have assigned my public IP say 103.45.23.87 to my local server's IP using port forwarding so that I can access the OpenKM from outside of my network. And then I have assigned a domain name say www.example.com to my public IP for my ease. After domain name got activated I tried to use it then it worked fine and I was able to use OpenKM and when I tried to use preview it shown licensing issue. One window saying "Please obtain license from flexpaper".

Re: Flexpaper not working.

PostPosted:Sun Jul 06, 2014 10:07 am
by jllort
If you use ip you got the same problem ?
could be some unknow limitation for us of free flexpaper version, if it's the case ( always we try to use latest flexpaper versions ) you could try to replace by older ( http://sourceforge.net/p/openkm/code/HEAD/tree/tags/ for example some included in version 5 http://sourceforge.net/p/openkm/code/HE ... flexpaper/ )

If you do not know how to replace it, tell us and we'll try to guide you.

Re: Flexpaper not working.

PostPosted:Mon Jul 07, 2014 5:52 am
by mohasinmujawar56
Replacing means downloading the two files from latest code(http://sourceforge.net/p/openkm/code/HE ... flexpaper/) and replacing it in same folder structure in my system, right? or something to be changed in code?

Re: Flexpaper not working.

PostPosted:Wed Jul 09, 2014 7:19 am
by jllort
Simply replacing the files into flexpaper folder, there's no need to do any change in source code.