You are not logged in.

1

Thursday, August 31st 2017, 11:26am

ERROR: loading config failed!

Hello,

I'm trying to use krpanotools with a external config file from PHP but I'm getting this error : ERROR: loading config - "/var/www/convert.config" - failed!
When I call the command without the -config option everything works fine.

Here is the command I'm using from php : exec("./krpanotools sphere2cube cube /var/www/assets/spheric.jpg /var/www/assets/cubic.jpg -config=/var/www/convert.config")

I tried to execute the same command line directly from the terminal, I got the error too...

Has someone already got this kind of error ? How could it be solved ?

The server is a Linux Debian (inside Docker container).

Thanks

2

Monday, September 11th 2017, 9:15am

Hi,

when a file can't be loaded there could be normally only these reasons:
- either the path is wrong
- or the access is not allowed

For resolving check and the path and the file/folder permissions.

Best regards,
Klaus