When trying to open a file using this command:
$fd = fopen('majestic_files/majestic_record.txt','w');
I get the following error message:
<b>Warning</b>: fopen(majestic_files/majestic_record.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Operation now in progress in
What does it mean, and how do I fix it?
This occurs when there is an outstanding blocking operation.
In this context, the error implies that another process has a lock on the file, most likely due to the file being open and written to by whichever process holds the lock.