Good day to all!
Please help me correct this kind of error:
Warning: file_get_contents (/papka/file.dat) failed to open stream: No such file or directory in
Warning: file_put_contents (/papka/file.dat) failed to open stream: No such file or directory in
Theoretically, I understand that php
cannot find /papka/file.dat
, although file.dat
was not there, I thought to create a “pen”, and the error would disappear, but no, the error was hanging and hanging. The rights to the folder /papka/ 777
and the file dat 644
. What could be the reason? Even dirname (__FILE__)
does not help.