Julien Jan - 2020-08-25 15:53:47
Hello, I want to use your PHP class but when I try to write in the log files I keep getting this error:
"Warning: fopen(logs/log-2020-08-25.html): failed to open stream: No such file or directory in C:\...\include\log.inc.php on line 196"
and
"The logfile exists, but could not be opened for writing. Check permissions: logs/log-2020-08-25.html" from the class
And line 196 is $this->fh = fopen($this->file, 'w')
I tried to change permissions with chmod and chown but nothing works