Snapin Timeout (seconds) not updating
-
Using 1.5.0, when i’m editing a snapin, if I change the timeout from 0 to anything like 60,30,120, the text will stay in that field once I click Update, but when I refresh the page, the value is not changed.
-
@szeraax Thanks for reporting. Are there any errors in the Apache error log when this happens?
-
Yes, it seems!
[Tue Mar 20 13:59:17.465432 2018] [php7:warn] [pid 27636] [client IPADDRESS:50418] PHP Warning: ftp_rmdir(): Remove directory operation failed. in /var/www/html/fog/lib/fog/fogftp.class.php on line 823, referer: http://IPADDRESS/fog/management/index.php?node=snapin&sub=edit&id=1
-
That’s interesting, I wonder why it’s trying to remove a directory?
-
@wayne-workman Interesting is a word that I could use to describe it
-
@szeraax Are you trying to update the snapin file at the same time you’re changing the timeout?
-
@wayne-workman I have tried it both ways. Only update timeout. Update timeout and the snapin file. I would guess that only when I update the snapin file does it give an error in the apache log.
-
This is fixed in working-1.5.1
The problem was the timeout value was always set to 0, though if you changed the setting and then updated, it would’ve shown the new updated time. This probably occurred for the create new snapin element which wouldn’t know what was set at first.
-
@tom-elliott Cool. Thanks Tom!