Sie sind nicht angemeldet.

1

Freitag, 9. August 2019, 10:45

krpano, registered with php, watermark appears untimely, serious bug?

Registered with php on remote server, but watermark appears often, and just this one, even pay no attention to it ,the next panoramas are fine.and krpanotools doesn't need to be registered again,but a few days later, watermark appears again.
it really kills me,everyone knows how to fix that?
thanks.

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »eclothy« (9. August 2019, 11:34)


2

Freitag, 9. August 2019, 10:49

i even put register code before makepano code, like this:

basepath=$(cd `dirname $0`; pwd)
"/var/www/html/data/krpano_linux/"krpanotools register "registration code"
$basepath"/"krpanotools makepano -config=templates/vtour-normal.config $*
but it still made no sence.

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

3

Freitag, 9. August 2019, 11:00

Hi)

Check out this thread, might be helpful: https://krpano.com/forum/wbb/index.php?p…erver#post53924
Regards,

Alexey

4

Freitag, 9. August 2019, 11:18

Hi)

Check out this thread, might be helpful: https://krpano.com/forum/wbb/index.php?p…erver#post53924
Thanks, but i don't think it helps.
On my remote server, krpanotools creates over 100 panoramas every day, nearly watermark appears per 2 days,just one or tow panorama, but other panoramras are fine,i wonder if because of too much concurrency.

light_line

Fortgeschrittener

Beiträge: 169

Beruf: krpano freelancer || creating ideas & coding them || krpano developer

  • Nachricht senden

5

Freitag, 9. August 2019, 12:09

this code works for me:

Quellcode

1
 exec(__DIR__ . "/krpanotools64 register YkpJcXZ1YUFiUXZrWE1WS2FUdDU0eDFWdkV...........................PT0", $output, $result);

6

Freitag, 9. August 2019, 12:55

this code works for me:

Quellcode

1
 exec(__DIR__ . "/krpanotools64 register YkpJcXZ1YUFiUXZrWE1WS2FUdDU0eDFWdkV...........................PT0", $output, $result);
Hi,your code works for registration, but my problem is krpanotools is not stable, sometimes watarmark appears, but doesn't need to be registered, the next panoramas will be fine.

light_line

Fortgeschrittener

Beiträge: 169

Beruf: krpano freelancer || creating ideas & coding them || krpano developer

  • Nachricht senden

7

Freitag, 9. August 2019, 22:49

you can register it every time you want to call krpanotools.

8

Samstag, 10. August 2019, 08:05

you can register it every time you want to call krpanotools.
Hi,i did what you said like below,but krpanotools is not stable still,if krpanotools create too many panoramas,watermark appears.

Quellcode

1
krpanotools register "code"  krpanotools makepano -config=templates/vtour-normal.config

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »eclothy« (10. August 2019, 08:23)


9

Samstag, 10. August 2019, 14:33

Hi,

the tools itself are stable, the problem is server related.

Normally the registration should be necessary only ONCE.

Registering again is only necessary when constantly running on different servers or when the server is cleaning up/reseting its whole environment.

Try setting the $HOME environment variable to a path where you can ensure that the server will not change anything and have constant access.

Best regards,
Klaus

10

Sonntag, 11. August 2019, 12:26

Hi,

the tools itself are stable, the problem is server related.

Normally the registration should be necessary only ONCE.

Registering again is only necessary when constantly running on different servers or when the server is cleaning up/reseting its whole environment.

Try setting the $HOME environment variable to a path where you can ensure that the server will not change anything and have constant access.

Best regards,
Klaus
Thanks Klaus, can you tell me what exatly should i do? my server is centos7.4, and php 5.5.38

11

Freitag, 11. Oktober 2019, 05:36

has still not been solved

anyone knows what should i do ?

12

Freitag, 11. Oktober 2019, 17:33

insert

Quellcode

1
phpinfo();
into your php script and report back with what is says

13

Samstag, 12. Oktober 2019, 05:38

i can't upload the screenshot of phpinfo page, you need to click the url to see, so what's the problem may it be ?
insert

Quellcode

1
phpinfo();
into your php script and report back with what is says

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »eclothy« (13. Oktober 2019, 07:54)


14

Samstag, 12. Oktober 2019, 08:34

your .krpanolicense file is getting deleted.......

Are you hosting the website in-house or is a third-party hosting it because the software is really out of date? *sad*
Why are you using CentOS?
Do you have access to a cPanel interface or the like?

15

Samstag, 12. Oktober 2019, 08:52

your .krpanolicense file is getting deleted.......

Are you hosting the website in-house or is a third-party hosting it because the software is really out of date? *sad*
Why are you using CentOS?
Do you have access to a cPanel interface or the like?
i use a cloud server and thought linux is better than windows, i can access the server through putty,with root account.

16

Sonntag, 13. Oktober 2019, 06:25

let's get back to basics

Are you:

1. Converting/processing Panos that you and/or your business has created?
OR
2. allowing third-party to upload Panos, that you host?

if it is the second option contact klaus @ mail@krpano.com as you need a 'krpano Hosting License'

Zitat


6. Third parties may not use your licensed version of krpano to create new projects, including modified versions of your projects.
7. You may not rent, lease, lend or sublicense krpano.
8. Offering your licensed krpano version to third parties on a hosting platform is not allowed without 'krpano Hosting License'.

17

Sonntag, 13. Oktober 2019, 07:33

that's right, i bought a license, set on the server, and other workmates login the website, upload panoramas.
do i need buy another license ?
i never know about that.
let's get back to basics

Are you:

1. Converting/processing Panos that you and/or your business has created?
OR
2. allowing third-party to upload Panos, that you host?

if it is the second option contact klaus @ mail@krpano.com as you need a 'krpano Hosting License'

Zitat


6. Third parties may not use your licensed version of krpano to create new projects, including modified versions of your projects.
7. You may not rent, lease, lend or sublicense krpano.
8. Offering your licensed krpano version to third parties on a hosting platform is not allowed without 'krpano Hosting License'.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »eclothy« (13. Oktober 2019, 08:09)


18

Sonntag, 13. Oktober 2019, 09:03


that's right, i bought a license, set on the server, and other workmates login the website, upload panoramas.
do i need buy another license ?
i never know about that.


my understanding is that if your workmate are your employees or you are an employee of that business then you don't need another license.
but please contact klaus @ mail@krpano.com as I do not work as a lawyer.

back to the task at hand

forget using PHP.

upload Panos via rsync / syncthing / shared folder etc
use a cronjob to process the Panos

Quellcode

1
find . -iname "*.jpg" -print -exec /localation/of/"Krpano tools" /localation/of/themes/<themename>.xml "{}" "/output/location/{}" \;

^ code not tested

see if your Cloud Service Provider has Function as a service


pinging @klaus.krpano

19

Sonntag, 13. Oktober 2019, 09:29

thanks a lot my friend.

that's right, i bought a license, set on the server, and other workmates login the website, upload panoramas.
do i need buy another license ?
i never know about that.


my understanding is that if your workmate are your employees or you are an employee of that business then you don't need another license.
but please contact klaus @ mail@krpano.com as I do not work as a lawyer.

back to the task at hand

forget using PHP.

upload Panos via rsync / syncthing / shared folder etc
use a cronjob to process the Panos

Quellcode

1
find . -iname "*.jpg" -print -exec /localation/of/"Krpano tools" /localation/of/themes/.xml "{}" "/output/location/{}" \;

^ code not tested

see if your Cloud Service Provider has Function as a service


pinging @klaus.krpano