04.07.2018, 14:35
Actually, the fault is yours for not checking if file handle is valid to read from/write to a file. Wiki provides examples on how to do that to prevent server crashes.
Other than that, double-check if scriptfiles folder has correct permissions (readable/writable) and necessary folders inside scriptfiles have been created.
Other than that, double-check if scriptfiles folder has correct permissions (readable/writable) and necessary folders inside scriptfiles have been created.