You are not logged in.

1

Monday, October 22nd 2018, 10:44am

krpano.js issue - watermark after registration

Hi, I have registered version of the krpano (previously used one was 1.19-pr8).
After update to krpano-1.19-pr16 I got watermark in the center of the viewer (krpano demo version).
I supposed that krpano.js should be regenerated after code registration, but file is not changed:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
www-data@host:~/krpano-1.19-pr16$ stat viewer/krpano.js 
  File: 'viewer/krpano.js'
  Size: 160569		Blocks: 320    	IO Block: 4096   regular file
Device: ca01h/51713d	Inode: 2081720 	Links: 1
Access: (0664/-rw-rw-r--)  Uid: (   33/www-data)   Gid: (   33/www-data)
Access: 2018-10-19 16:49:18.156907307 +0000
Modify: 2018-04-04 13:11:44.000000000 +0000
Change: 2018-10-19 15:00:10.030444534 +0000
 Birth: -
www-data@host:~/krpano-1.19-pr16$ ./krpanotools register show

Not registered.

www-data@host:~/krpano-1.19-pr16$ ./krpanotools register 'SOME_CODE_HERE'
Code registered.
www-data@host:~/krpano-1.19-pr16$ ./krpanotools register show

krpano Registration Information:
Name:  	Company Name
Mail: info@domain.com
OrderDate: 2017-04-20
Contact:   Owner name
Address:   Some address

Registered Licenses:
[x] krpano License
[ ] krpano Maps Plugin License
[ ] krpano Branding Free License

www-data@host:~/krpano-1.19-pr16$ stat viewer/krpano.js 
  File: 'viewer/krpano.js'
  Size: 160569		Blocks: 320    	IO Block: 4096   regular file
Device: ca01h/51713d	Inode: 2081720 	Links: 1
Access: (0664/-rw-rw-r--)  Uid: (   33/www-data)   Gid: (   33/www-data)
Access: 2018-10-19 16:49:18.156907307 +0000
Modify: 2018-04-04 13:11:44.000000000 +0000
Change: 2018-10-19 15:00:10.030444534 +0000
 Birth: -
www-data@host:~/krpano-1.19-pr16$ date
Mon Oct 22 08:19:19 UTC 2018


www-data is user which runs web-scripts. Code registration is performed by this user.

2

Tuesday, October 23rd 2018, 9:17am

Hi,

the register call doesn't modify any files.

If you want to get a registered viewer file you could build one using the protect tool - e.g.:

Source code

1
krpanotools protect -o=tour.js


https://krpano.com/tools/kprotectcl/#top

Best regards,
Klaus