I had a problem with not closing just opened file in cache directory. Just before line 'file_put_contents($cachedir.DS.$cachefile, $output);' the "$cache_lock" wasn't closed properly. In case of this i had to work not with file_put_contents method but: fwrite($cache_lock,$output); fclose($cache_lock); Plz sbd check it out if I'm right. Now i got problem fixed by this thing
I had a problem with not closing just opened file in cache directory. Just before line
'file_put_contents($cachedir.DS.$cachefile, $output);' the "$cache_lock" wasn't closed properly.
In case of this i had to work not with file_put_contents method but:
fwrite($cache_lock,$output);
fclose($cache_lock);
Plz sbd check it out if I'm right. Now i got problem fixed by this thing