You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, September 7th 2009, 10:06am

kvmem - fatalerror - kvmem_sys_saveswapdata() failed

Hello,

When i run ktransform thru command line directly on server it works fine.

But when i try to run the same command line thru php, i get this error : kvmem - fatalerror - kvmem_sys_saveswapdata() failed

I set memory_limit > 1GB on php.ini but it's the same.

How to avoid this error?

Thanks!

2

Tuesday, September 8th 2009, 11:33am

Hi,

this error means there not enough free working memory,
and for this reason the tools tries to write currently not used data to the disk
and this writing to disk fails,

has the current folder where the tools runs "write" rights?
or is there enough disk space there?

best regards,
Klaus

3

Tuesday, September 8th 2009, 11:54am

Hi,

Ok just made a chmod 777 over the krpanotools folder and it works, but why it doesn't work with 755?

Thanks

4

Tuesday, September 8th 2009, 12:06pm

has the tool a other "owner" or "group" as the folder?

5

Tuesday, September 8th 2009, 12:55pm

it says "Owner:0 ; Group:0"

is that correct?

just uploaded the krtools folder via ssh

thanks

6

Tuesday, September 8th 2009, 2:12pm

I think no,

to be able to use "755" as file access rights, the owner and the group must be the same as the folder,

maybe the owner and group need to be changed manually, this depends on the server and the upload tool...

best regards,
Klaus

7

Tuesday, September 8th 2009, 2:51pm

ok thanks, i had to change owner to "apache" and rights to 755 are now working :)

thanks a lot!